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

.NET client can't deserialize SOAP::Lite server reply..

Expand Messages
  • Orlando Andico
    but SOAP::Lite client can.. Using SOAP::Lite 0.55. Client is Mono 0.29, but the exact sample problem is replicatable on .NET Framework. As can be seen, the
    Message 1 of 1 , Jan 16, 2004
    • 0 Attachment
      but SOAP::Lite client can..

      Using SOAP::Lite 0.55. Client is Mono 0.29, but the exact sample
      problem is replicatable on .NET Framework.

      As can be seen, the return is a single string, and yet it won't
      deserialize. My ultimate goal is to return a struct of some sort, but
      since a simple string doesn't work.. need help :P

      Here's the handshake..

      (from client)

      POST /paynow.soap HTTP/1.1
      User-Agent: Mono Web Services Client Protocol 1.1.4322.573
      SOAPAction: Payeasy/getmsisdn_details2
      Content-Type: text/xml; charset=utf-8
      Content-Length: 358
      Expect: 100-continue
      Host: payeasy.mozcom.com
      HTTP/1.1 100 Continue

      <?xml version="1.0" encoding="utf-8"?>
      <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
      <getmsisdn_details2 xmlns="Payeasy">
      <msisdn>+639175315893</msisdn>
      </getmsisdn_details2>
      </soap:Body>
      </soap:Envelope>


      (from the server)

      HTTP/1.1 200 OK
      Date: Fri, 16 Jan 2004 11:37:18 GMT
      Server: Apache
      SOAPServer: SOAP::Lite/Perl/0.55
      Content-Length: 569
      Content-Type: text/xml; charset=utf-8
      <?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>
      <namesp1:getmsisdn_details2Response xmlns:namesp1="Payeasy">
      <details xsi:type="xsd:string">XXX YYY ZZZ
      AAA</details></namesp1:getmsisdn_details2Response>
      </SOAP-ENV:Body></SOAP-ENV:Envelope>
    Your message has been successfully submitted and would be delivered to recipients shortly.