WSDL2Ws Axis_DeSerialize_<type> functions generate the following code for type xsd_string:

You need to manually change this to (remove two * and comment out the delete):

For type xsd_int, it generates:

You need to manually change this to (remove one * on second expression and comment out last line):

There are probably better fixes, I went quickly through the code and found the bug to be line 661 in writeDeSerializeGlobalMethod at src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/BeanParamWriter.java

After looking through I found a bug open for this issue: https://issues.apache.org/jira/browse/AXISCPP-966 I have updated the issue with hints at required code changes.

Another workarround is to not use nillable="true" until this is fixed.

Bugs_and_Patches (last edited 2009-09-20 22:48:49 by localhost)