axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimuthu Gamage" <dimut...@gmail.com>
Subject Re: Wsdl2C incorrect "choice" management
Date Wed, 19 Dec 2007 16:49:04 GMT
Hi Simon,
Yea it is a known bug:(

We have a JIRA issue reported similar to yours,
https://issues.apache.org/jira/browse/AXIS2C-826


Thanks
DImuthu

On Dec 19, 2007 8:31 PM, Simone Bordin <simone.bordin@spaziozerouno.it> wrote:
> Hi,
>
> In my operation parameter i have  a "choice" element with 3 subelement.
>
> <xs:choice>
>                 <xs:element name="NumericMessage"
> type="NumericMessageType"/>
>                 <xs:element name="AlphanumericMessage"
> type="AlphanumericMessageType"/>
>                 <xs:element name="TransparentDataMessage"
> type="TransparentDataMessageType"/>
> </xs:choice>
>
> In the serialize function of the generated code (with last nightly
> build), this element is not correctly managed: it checks for the
> presence of all three element, not for only one.
> I have attached the generated code of the choice type.
>
> Is this  a known bug?
>
> Thanx,
> simone bordin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message