Hi all,

I'm trying to import the UDDI v2 inquiry WSDL:

  http://uddi.org/wsdl/inquire_v2.wsdl

which in turn imports its own model:

  http://uddi.org/schema/uddi_v2.xsd

The WSDL2Java tool generates the beans, but ignores the xml:lang
extension on the name type:

<xsd:complexType name="name">
 <xsd:simpleContent>
  <xsd:extension base="string">
   <xsd:attribute ref="xml:lang" use="optional"/>
  </xsd:extension>
 </xsd:simpleContent>
</xsd:complexType>

The Name class generated only has 1 attribute, name.  xml:lang 
is imported as http://www.w3.org/2001/xml.xsd, which is 
resolvable.  I'm attaching this generated class.

Has anyone else encountered this, and is there a fix?

Many thanks,
Alex

Attachment: Name.java
Description: 3825952847-Name.java

Reply via email to