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 Glen Daniels <gd...@macromedia.com> on 2002/03/22 06:20:36 UTC

RE: [WSDL2Java] Compile problem - getter getValue() became isVal ue()

I just checked in a fix for this.  Thanks, Sylvain!

--Glen

> -----Original Message-----
> From: St-Germain, Sylvain [mailto:Sylvain.StGermain@cognos.com]
> Sent: Thursday, March 21, 2002 4:29 PM
> To: Axis Dev (E-mail)
> Subject: [WSDL2Java] Compile problem - getter getValue() became
> isValue()
> 
> 
> Hi all, 
> 
> I think I found a bug when dealing with an array of boolean.  
> The class
> generated no longer contains a getter ( boolean[] getValue() 
> ) for the data
> member but instead a isValue() ( boolean[] isValue() ) method.  
> 
> This prevents the class to compile since the equal method is calling
> getValue()...
> 
> (this is using this morning's build)
> 
> <xs:complexType name="booleanArray">
>     <xs:complexContent>
>         <xs:restriction base="SOAP-ENC:Array">
>             <xs:attribute ref="SOAP-ENC:arrayType"
> wsdl:arrayType="xs:boolean[]"/>
>         </xs:restriction>
>     </xs:complexContent>
> </xs:complexType>
> 
> <xs:complexType name="booleanArrayProp">
>     <xs:complexContent>
>         <xs:extension base="baseProp">
>             <xs:sequence>
>                 <xs:element name="value" type="booleanArray"/>
>             </xs:sequence>
>         </xs:extension>
>     </xs:complexContent>
> </xs:complexType>
> 
> 
> 
> public boolean[] isValue() {
> 	return value;    
> }
> --
> Sylvain
> 
> This message may contain privileged and/or confidential 
> information.  If you
> have received this e-mail in error or are not the intended 
> recipient, you
> may not use, copy, disseminate or distribute it; do not open any
> attachments, delete it immediately from your system and 
> notify the sender
> promptly by e-mail that you have done so.  Thank you.
>