You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "olivier destrebecq (JIRA)" <ax...@ws.apache.org> on 2006/03/28 21:33:55 UTC

[jira] Created: (AXIS-2451) The generated deserialization methods are producing the wrong code for nillable simple-type elements

The generated deserialization methods are producing the wrong code for nillable simple-type elements
----------------------------------------------------------------------------------------------------

         Key: AXIS-2451
         URL: http://issues.apache.org/jira/browse/AXIS-2451
     Project: Apache Axis
        Type: Bug
  Components: WSDL processing  
    Versions: current (nightly)    
 Environment: Mac OSX, Unix
    Reporter: olivier destrebecq


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


[jira] Updated: (AXIS-2451) The generated deserialization methods are producing the wrong code for nillable simple-type elements

Posted by "olivier destrebecq (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2451?page=all ]

olivier destrebecq updated AXIS-2451:
-------------------------------------

    Attachment: Kani.xml

this is the WSDL used to duplicate the problem

> The generated deserialization methods are producing the wrong code for nillable simple-type elements
> ----------------------------------------------------------------------------------------------------
>
>          Key: AXIS-2451
>          URL: http://issues.apache.org/jira/browse/AXIS-2451
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: current (nightly)
>  Environment: Mac OSX, Unix
>     Reporter: olivier destrebecq
>  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


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

Posted by "olivier destrebecq (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2451?page=comments#action_12372594 ] 

olivier destrebecq commented on AXIS-2451:
------------------------------------------

This bug can be closed, it is intended for the C++ version of Axis

> The generated deserialization methods are producing the wrong code for nillable simple-type elements
> ----------------------------------------------------------------------------------------------------
>
>          Key: AXIS-2451
>          URL: http://issues.apache.org/jira/browse/AXIS-2451
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: current (nightly)
>  Environment: Mac OSX, Unix
>     Reporter: olivier destrebecq
>  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


[jira] Closed: (AXIS-2451) The generated deserialization methods are producing the wrong code for nillable simple-type elements

Posted by "Tom Jordahl (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2451?page=all ]
     
Tom Jordahl closed AXIS-2451:
-----------------------------

    Resolution: Invalid

closing per Olivier's comment

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

>   Components: WSDL processing
>     Versions: current (nightly)
>  Environment: Mac OSX, Unix
>     Reporter: olivier destrebecq
>  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