axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anne Thomas Manes <atma...@gmail.com>
Subject Re: Axis 1.2 RC3 wsdl.fromJava missing element tag
Date Tue, 12 Apr 2005 21:35:24 GMT
Can you show us a little more of the WSDL? 
e.g., what references the ArrayOf_tns1_anytype type? Assuming that
you're using rpc/encoded, and If the type is referenced only by the
<wsdl:part> definition, then you don't need to define the element.

Anne

On Apr 12, 2005 2:01 PM, Dan Kimmel <dkimmel@rjssoft.com> wrote:
>  
> Under Axis 1.0 the wsdl generator would generate an element tag for a
> complex class generated from an Object[] as follows: 
>  
>    <complexType name="ArrayOf_tns1_anyType"> 
>     <complexContent> 
>      <restriction base="soapenc:Array"> 
>       <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:anyType[]"/> 
>      </restriction> 
>     </complexContent> 
>    </complexType> 
>    <element name="ArrayOf_tns1_anyType" nillable="true"
> type="impl:ArrayOf_tns1_anyType"/> 
>  
> This all within the schema tags within wsdl:types 
>  
> Under Axis 1.2 RC3 the same complex type is generated without the element
> tag. This is throwing off a VB6 application using the SOAPClient3.0 class
> which now fails when trying to invoke a webservice using this type. The
> application is dynamically retrieving the wsdl from the Axis server using
> the ?wsdl form so I can't just change the static wsdl. 
>  
> Is this working as designed or did RC3 errantly leave out the element tag? 
>  
> Dan

Mime
View raw message