You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by arul thayalan <th...@yahoo.com> on 2005/12/07 07:17:02 UTC

wsdl to java

Hi,
   when i'm converting wsdl to java i'm not getting
array type for the element "VehicleOccupantDetails" in
VehicleOccupants class. What could be the reason?
My WSDL style is document-literal.I'm using Axis 1.3.0

wsdl extraction:

<xs:element minOccurs="0" name="VehicleOccupants">
<xs:complexType>						<xs:sequence
maxOccurs="unbounded">				<xs:element minOccurs="0"
name="VehicleOccupantDetails">	<xs:complexType>						
<xs:sequence>							<xs:element minOccurs="0"
name="Person" type="ns1:PersonType"/>
		<xs:element minOccurs="0" name="SeatingPosition"
type="ns1:string2"/>
		</xs:sequence>						</xs:complexType>					
</xs:element>
       </xs:sequence>
</xs:complexType>
</xs:element>



	

	
		
____________________________________________________ 
Do you Yahoo!? 
Yahoo! Photos: Now with unlimited storage 
http://au.photos.yahoo.com

Re: wsdl to java

Posted by arul thayalan <th...@yahoo.com>.
Hi James,

That is also not working. If i want to change WSDL
generated java file to make it as arry element, will
it throw any exception during serialization. where and
all i have to change in generated java file.

Thanks & Regards
Arul Thayalan

--- James Chamberlain <jc...@echostorm.net>
wrote:

> This happened to me when I switched to 1.3 from
> 1.2.1. There is a new  
> setting that you need to use in the wsdl2java 
> wrapArrays="true"
> 
> - James
> 
> On Dec 7, 2005, at 1:17 AM, arul thayalan wrote:
> 
> > Hi,
> >    when i'm converting wsdl to java i'm not
> getting
> > array type for the element
> "VehicleOccupantDetails" in
> > VehicleOccupants class. What could be the reason?
> > My WSDL style is document-literal.I'm using Axis
> 1.3.0
> >
> > wsdl extraction:
> >
> > <xs:element minOccurs="0" name="VehicleOccupants">
> > <xs:complexType>						<xs:sequence
> > maxOccurs="unbounded">				<xs:element
> minOccurs="0"
> > name="VehicleOccupantDetails">	<xs:complexType>			
> 		
> > <xs:sequence>							<xs:element minOccurs="0"
> > name="Person" type="ns1:PersonType"/>
> > 		<xs:element minOccurs="0" name="SeatingPosition"
> > type="ns1:string2"/>
> > 		</xs:sequence>						</xs:complexType>					
> > </xs:element>
> >        </xs:sequence>
> > </xs:complexType>
> > </xs:element>
> >
> >
> >
> > 	
> >
> > 	
> > 		
> >
> ____________________________________________________
> > Do you Yahoo!?
> > Yahoo! Photos: Now with unlimited storage
> > http://au.photos.yahoo.com
> >
> 
> 



		
____________________________________________________ 
Do you Yahoo!? 
Listen to over 20 online radio stations and watch the latest music videos on Yahoo! Music. 
http://au.launch.yahoo.com

Re: wsdl to java

Posted by James Chamberlain <jc...@echostorm.net>.
This happened to me when I switched to 1.3 from 1.2.1. There is a new  
setting that you need to use in the wsdl2java  wrapArrays="true"

- James

On Dec 7, 2005, at 1:17 AM, arul thayalan wrote:

> Hi,
>    when i'm converting wsdl to java i'm not getting
> array type for the element "VehicleOccupantDetails" in
> VehicleOccupants class. What could be the reason?
> My WSDL style is document-literal.I'm using Axis 1.3.0
>
> wsdl extraction:
>
> <xs:element minOccurs="0" name="VehicleOccupants">
> <xs:complexType>						<xs:sequence
> maxOccurs="unbounded">				<xs:element minOccurs="0"
> name="VehicleOccupantDetails">	<xs:complexType>						
> <xs:sequence>							<xs:element minOccurs="0"
> name="Person" type="ns1:PersonType"/>
> 		<xs:element minOccurs="0" name="SeatingPosition"
> type="ns1:string2"/>
> 		</xs:sequence>						</xs:complexType>					
> </xs:element>
>        </xs:sequence>
> </xs:complexType>
> </xs:element>
>
>
>
> 	
>
> 	
> 		
> ____________________________________________________
> Do you Yahoo!?
> Yahoo! Photos: Now with unlimited storage
> http://au.photos.yahoo.com
>