Loading ...
Sorry, an error occurred while loading the content.

5373dispatch without method

Expand Messages
  • tilmant_a
    Apr 26, 2006


      I tried to write a soap server (perl cgi). The server receive this request :

      <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:wsmancat="http://schemas.xmlsoap.org/ws/2005/06/wsmancat" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">


      <wsa:To>http://localhost:80/cgi-bin/events_4.cgi</wsa:To></env:Header><env:Body /></env:Envelope>

      When it receives the request I just want to write something in a file.

      So I wrote  a file named events_4.cgi:

      use events_4;
      use SOAP::Lite;
      use SOAP::Transport::HTTP;
      $request =SOAP::Transport::HTTP::CGI

      and a file events_4.pm

      package events_4;

      use SOAP::Lite;
      sub MessageID{open (FIC4,'>D:\titi');    
                                       print FIC4 ("TEST WRITE ");

      Each time I have the error  :can't find method element in the message.  So what I am doing wrong ? I can't modified the request. I think the error is the name of my sub but I don't know what name I have to write.

      Thanks a lot,