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:[EMAIL PROTECTED]]
> Sent: Thursday, May 09, 2002 1:02 PM
> To: '[EMAIL PROTECTED]'
> 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., 
> 

Reply via email to