All -

I have a java web service server and a C++ client, it seems from following
the http stream that the service is working (simple getVersion service)
but it seems that that xsd__string that is returned is always null.

I'm doing something like this..

Any ideas would be helpful.

Thanks..

Version v;
xsd__string s;
s = v.getVersion();
printf("%s\n",s);

the ouput is (null)


POST /axis/services/Version HTTP/1.1
Host: 192.168.12.113:80
Content-Type: text/xml; charset=UTF-8
SOAPAction: ""
Content-Length: 364

<?xml version='1.0' encoding='utf-8' ?>
<SOAP-ENV:Envelope
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";>
<SOAP-ENV:Body>
<ns1:getVersion xmlns:ns1="http://192.168.12.113/axis/services/Version";>
</ns1:getVersion>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

HTTP/1.1 200 OK
Date: Tue, 25 Oct 2005 12:35:27 GMT
Content-Type: text/xml;charset=utf-8
Content-Length: 632

<?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:getVersionResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns1="http://192.168.12.113/axis/services/Version";>
   <getVersionReturn xsi:type="soapenc:string"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>Apache Axis
version: 1.2RC3
Built on Feb 28, 2005 (10:15:14 EST)</getVersionReturn>
  </ns1:getVersionResponse>
 </soapenv:Body>
</soapenv:Envelope>

Reply via email to