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>        

Reply via email to