Re: Wsdl2C incorrect "choice" management

2007-12-19 Thread Dimuthu Gamage
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 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> In my operation parameter i have  a "choice" element with 3 subelement.
>
> 
>  type="NumericMessageType"/>
>  type="AlphanumericMessageType"/>
>  type="TransparentDataMessageType"/>
> 
>
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Wsdl2C incorrect "choice" management

2007-12-19 Thread Simone Bordin

Hi,

In my operation parameter i have  a "choice" element with 3 subelement.


   type="NumericMessageType"/>
   type="AlphanumericMessageType"/>
   type="TransparentDataMessageType"/>



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



choice_type.tar.gz
Description: application/gzip
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]