I am using Axis C++ for a WebService Client.
I am using a JAVA WebService using the BeanSerializer to serailize the
complex types.
I am able to send a request and receive a response from the WebService but I
have two issues desirializing the response.
1. The Response has format
<Method>
<retResponse href="id0">
</Method>
<multiRef id="id0">
<params>
</multiRef>
In C++, in order to parse the ComplexType I had to skip the href by adding a
getParam() call to skip the first param, but this is very hacky. Is there a
better way to deal with multiRefs in Axis C++?
2. Some of the parameters in the response can be NULL
When I call getString to get these parameters instead of returning a NULL
string getString returns
the same String as the previous non-NULL string copied to a new location. I
think this is due to the fact that the deserializer always calls the copy
constructor for Param. Is there a way to tell that the returned param is
null?
Any help would be greatly appreciated as I have a deadline for this on
Friday
Thanks,
Arkady Yerukhimovich
_________________________________________________________________
One-click access to Hotmail from any Web page – download MSN Toolbar now!
http://clk.atdmt.com/AVE/go/onm00200413ave/direct/01/