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

5040I'M SO CLOSE!!!!!

Expand Messages
  • jedijay007
    Dec 8, 2005
    • 0 Attachment
      I am trying to communicate with a .NET web service using soap::lite
      for apache v0.60.
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      $soap = SOAP::Lite->new(
      uri => $uri,
      on_action => ( sub { join '/', "$uri", $_[1] }),
      proxy => $proxy);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      I am calling a HelloWorld method that takes in no parameters and
      returns "Hello World!"
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      my $response = $soap->HelloWorld();
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      When I turn off debugging the script just stops processing when it
      tries to call the method, when I turn on debugging for transport I
      get this:

      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      POST http://172.20.140.116/prissmwebinterface/prissmweb.asmx HTTP/1.1
      Accept: text/xml
      Accept: multipart/*
      Content-Length: 470
      Content-Type: text/xml; charset=utf-8
      SOAPAction: http://172.20.140.116/prissmwebinterface/HelloWorld

      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      HTTP/1.1 200 OK
      Cache-Control: private, max-age=0
      Connection: close
      Date: Thu, 08 Dec 2005 20:34:20 GMT
      Server: Microsoft-IIS/5.0
      Content-Length: 385
      Content-Type: text/xml; charset=utf-8
      Client-Date: Thu, 08 Dec 2005 20:34:20 GMT
      Client-Peer: 172.20.140.116:80
      Client-Response-Num: 1
      X-AspNet-Version: 1.1.4322
      X-Powered-By: ASP.NET

      Hello World!

      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      So the web service does indeed return hello world but for some reason
      the script stops running. I don't even get a chance to invoke:
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      my $result = $response->result
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



      I'm so close!!! Someone please help! Thanks in advance.