You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by John Hambilton <jo...@blueyonder.co.uk> on 2004/12/22 01:17:17 UTC

Deserialization Failing C++ client on Tomcat Response

Hello,

Are nil values such as this ok in the response?

<reason xsi:type="xsd:string" xsi:nil="true"/>

Here's the XML response...

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=686C12EA532BDC696839A0C909B7CDD1; Path=/mmi
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Wed, 22 Dec 2004 00:01:07 GMT

372
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <ns1:queryQueueLengthResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="urn:MMIService">
   <queryQueueLengthReturn href="#id0"/>
  </ns1:queryQueueLengthResponse>
  <multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns2:QueryQueueLengthResponse"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2="http://mmi.data.co.uk">
   <queueLength xsi:type="xsd:int">11</queueLength>
   <reason xsi:type="xsd:string" xsi:nil="true"/>
   <responseCode xsi:type="xsd:int">0</responseCode>
  </multiRef>
 </soapenv:Body>
</soapenv:Envelope>
0

Thanks,

John