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 Jo...@HBOSplc.com on 2004/12/21 15:35:15 UTC
Deserialization Failing C++ client on Tomcat Responses
Hello,
I'm using Axis 1.3 Final C++ talking to Tomcat (v5.x) webservice written
using Java and Axis.
I've got a C++ client (written in the form of a COM dll), using
automatically generated stubs. I can post soap requests ok and I can see
the responses coming back using tcpmon, but the deserializer seems to be
failing at the following...
param->queueLength = pIWSDZ->getElementAsInt("queueLength",0);
pIWSDZ seems to be valid but getElementAsInt("queueLength",0) is
returning 0
queueLength is defined in the response and has type information as you'd
expect. I'm wondering if the 2nd param to getElementAsInt is correct as
0????
The response is chunked but I believe this shouldn't be an issue.
All the deserialization calls are failing - strings etc.
Please can someone suggest anything I can check? Anybody got a similar
setup working? i.e. C++ to Tomcat Java/Axis webservice
I can post the WSDL and XML if required.
Any help appreciated - thanks,
John
--
------------------------------------------------------------------------------
HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound, Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are authorised and regulated by the Financial Services Authority.
==============================================================================