Hello All,
I posted this  in the user community but could not find a solution. Please
help me in this.

Thanks,
Rishi


---------- Forwarded message ----------
From: Rishi Renjith <rishirenj...@gmail.com>
Date: Tue, Mar 31, 2009 at 1:49 PM
Subject: Re: wsdl2java issue in upgrading from axis 1.2 to 1.4
To: axis-u...@ws.apache.org


Is there any workaround for this problem?
What i was thinking was to use wsdl2java of axis1.2 and use axis 1.4 for
actual SOAP requests. But when i tried it by replacing the jars, it seems
not working :(

On Mon, Mar 30, 2009 at 8:56 PM, Jean-christophe cazeaux <
jccazeau...@gmail.com> wrote:

> Hello,
>
> I got exactly the same issue. This occurs with axis 1.3 and axis 1.4.
> If you add a "foo" attribute in your wsdl like this :
>  <complexType name="ItemList">
>   <sequence>
>    <element name="foo" type="anyType"/>
>    <element name="ItemEntry" type="abcd:ItemEntry" minOccurs="0"
> maxOccurs="49" nillable="true"/>
>   </sequence>
>  </complexType>
>
> The java Class ItemList will be correctly generated. So it appears to
> be a regression in axis from 1.3... Maybe someone has an other
> explanation and/or solution?
>
> JC
>
> 2009/3/30 Rishi Renjith <rishirenj...@gmail.com>:
>  > Hello,
> > In my project, we are planning to upgrade from axis 1.2 to axis 1.4.  But
> > when we tested, we noticed that wsdl2java is not generating some java
> > classes which it used to generate in axis 1.2
> > For eg, with the wsdl structure as below,
> >  <complexType name="ItemEntry">
> >    <sequence>
> >     <element name="one" type="abcd:DOW" minOccurs="1" maxOccurs="1"/>
> >     <element name="two" type="xsd:time" minOccurs="0" maxOccurs="1"
> > nillable="true"/>
> >    </sequence>
> >   </complexType>
> >   <complexType name="ItemList">
> >    <sequence>
> >     <element name="ItemEntry" type="abcd:ItemEntry" minOccurs="0"
> > maxOccurs="49" nillable="true"/>
> >    </sequence>
> >   </complexType>
> >   <complexType name="Item-loc">
> >    <sequence>
> >     <element name="ItemList" type="abcd:ItemList" minOccurs="0"
> > maxOccurs="1" nillable="true"/>
> >    </sequence>
> >   </complexType>
> > wsdl2java is not generating a class for ItemList in axis 1.4, but it used
> to
> > generate a class for ItemList in axis1.2.
> > Is wsdl2java in 1.4 backward compatible with 1.2 ?
> >
> >
> > Thanks,
> > Rishi
>

Reply via email to