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:50 UTC

[jira] Created: (AXIS-2450) 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-2450
         URL: http://issues.apache.org/jira/browse/AXIS-2450
     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] Closed: (AXIS-2450) 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-2450?page=all ]
     
Tom Jordahl closed AXIS-2450:
-----------------------------

    Resolution: Invalid

It doesn't sound like this is an Axis 1.x problem - are you ising Axis2?  If so then please open a bug in their bug base.
Thanks.


> The generated deserialization methods are producing the wrong code for nillable simple-type elements
> ----------------------------------------------------------------------------------------------------
>
>          Key: AXIS-2450
>          URL: http://issues.apache.org/jira/browse/AXIS-2450
>      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] Commented: (AXIS-2450) 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-2450?page=comments#action_12372153 ] 

olivier destrebecq commented on AXIS-2450:
------------------------------------------

duplicate of AXIS-2451, browser error on submission caused this to be entered twice


> The generated deserialization methods are producing the wrong code for nillable simple-type elements
> ----------------------------------------------------------------------------------------------------
>
>          Key: AXIS-2450
>          URL: http://issues.apache.org/jira/browse/AXIS-2450
>      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