axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Daniels <gdani...@macromedia.com>
Subject RE: Error in WSDL Schema generated for java abstract class
Date Thu, 09 May 2002 17:35:04 GMT

This is perfectly valid schema.  The construct:

<element name="foo">
  <complexType>
     ...
  </complexType>
</element>

means that the <foo> element has a type which isn't explicitly named, but is defined
inline.

Could you be a little more specific about the problem you were having?

--Glen

> -----Original Message-----
> From: Anukool Rege [mailto:ARege@Scient.com]
> Sent: Thursday, May 09, 2002 1:02 PM
> To: 'axis-dev@xml.apache.org'
> Subject: Error in WSDL Schema generated for java abstract class
> 
> 
> Using Beta 2.
> 
> The gerated WSDL scema for java.util.Map is missing type 
> defination. I'd to
> change the generated client code in order to compile it.
> 
> <complexType name="Map">
>     <sequence>
>   ===>>      <element maxOccurs="unbounded" minOccurs="0" name="item">
>             <complexType>
>                 <all>
>                     <element name="key" type="xsd:anyType"/>
>                     <element name="value" type="xsd:anyType"/>
>                 </all>
>             </complexType>
>         </element>
>     </sequence>
> </complexType>
> 
> ===>> line should have been - <element maxOccurs="unbounded" 
> minOccurs="0"
> name="item" type="xsd:anyType"/>
> 
> Anukool Rege
> Engineering, Financial Services
> Scient, Inc., 
> 

Mime
View raw message