axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rachana Ananthakrishnan" <ranan...@mcs.anl.gov>
Subject Elements with restriction on anyType.
Date Thu, 07 Jun 2007 01:54:13 GMT
Hi,

Using Axis 1 trunk version and attempting to generates stubs for the
following elements, I end up with ElementA mapped to Java Object and a class
generated for ElementB. Is this the correct mapping ?  I was expecting a
class to be generated for ElementA that implements AnyContentType and
MixedContentType. Is this a bug in WSDL2Java ?

Thanks,
Rachana


 <!element name="ElementA">
    <complexType>
      <complexContent mixed="true">
        <restriction base="anyType">
          <sequence>
            <any processContents="lax"
                     minOccurs="1" maxOccurs="unbounded"/>
          </sequence>
        </restriction>
      </complexContent>
    </complexType>
  </element>        

    <element name="ElementB">
    <complexType mixed="true">
          <sequence>
            <any processContents="lax"
                     minOccurs="1" maxOccurs="unbounded"/>
          </sequence>
     </complexType>
  </element>        

Mime
View raw message