You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Adrian Dick (JIRA)" <ax...@ws.apache.org> on 2006/04/04 17:26:48 UTC

[jira] Commented: (AXISCPP-961) The generated deserialization methods are producing the wrong code for nillable simple-type elements

    [ http://issues.apache.org/jira/browse/AXISCPP-961?page=comments#action_12373110 ] 

Adrian Dick commented on AXISCPP-961:
-------------------------------------

It would appear the WSDL2Ws tooling is missing some important fixes relating to the deserialization optional and nillable elements for rpc/encoded WSDLs.

> The generated deserialization methods are producing the wrong code for nillable simple-type elements
> ----------------------------------------------------------------------------------------------------
>
>          Key: AXISCPP-961
>          URL: http://issues.apache.org/jira/browse/AXISCPP-961
>      Project: Axis-C++
>         Type: Bug

>   Components: WSDL processing - RPC
>     Versions: current (nightly)
>  Environment: mac OS X, linux
>     Reporter: olivier destrebecq
>     Assignee: Adrian Dick
>  Attachments: Kani.xml
>
> Using WSDL2Ws to generate client side code from my WSDL, the code generated has the following error:
> a member of a class is declared as:
> xsd__boolean * compilation;
> Then in the deserialization method is accessed like this:
> xsd__boolean* p_compilation = (pIWSDZ->getElementAsBoolean("compilation",0));
> param->compilation = *p_compilation;
> compiler complains about the last line.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira