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

Nusoap (PHP) and SOAP::Lite (daemon)

Expand Messages
  • jahuong
    I ve tried Nusoap 0.61 as a SOAP client to a SOAP::Lite server. When the SOAP::Lite server is running under a web server (as a CGI) it works fine. However if I
    Message 1 of 1 , Nov 11, 2002
    • 0 Attachment
      I've tried Nusoap 0.61 as a SOAP client to a SOAP::Lite server.
      When the SOAP::Lite server is running under a web server (as a CGI)
      it works fine.
      However if I try to implement the SOAP::Lite server as a standalone
      daemon, I would get the following fault from the server.

      <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-
      ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-
      ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/1999/XMLSchema"><SOAP-ENV:Body><SOAP-
      ENV:Fault><faultcode xsi:type="xsd:string">SOAP-
      ENV:Client</faultcode><faultstring xsi:type="xsd:string">Application
      failed during request deserialization:
      no element found at line 1, column 0, byte -1 at
      D:/Perl/site/lib/XML/Parser.pm line 168
      </faultstring><faultactor
      xsi:type="xsd:string">http://cimserv:90/</faultactor></SOAP-
      ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

      The outgoing payload is as follows.

      POST HTTP/1.0

      User-Agent: NuSOAP/0.6.3

      Host: cimserv

      Content-Type: text/xml

      Content-Length: 549

      SOAPAction: ""



      <?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope SOAP-
      ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-
      ENC="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:si="http://soapinterop.org/xsd"><SOAP-ENV:Body><ns1:showstatus
      xmlns:ns1="http://cimserv/pingp">
      <soapVal xsi:type="xsd:string"></soapVal></ns1:showstatus>
      </SOAP-ENV:Body></SOAP-ENV:Envelope>


      Does anyone has any ideas on this?

      I'm using SOAP::Lite 0.55 with Activeperl.
    Your message has been successfully submitted and would be delivered to recipients shortly.