axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Drew Bentley (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-2791) Super class not being generated in WSDL
Date Mon, 11 Jun 2007 12:08:26 GMT
Super class not being generated in WSDL
---------------------------------------

                 Key: AXIS2-2791
                 URL: https://issues.apache.org/jira/browse/AXIS2-2791
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: wsdl
         Environment: AXIS2 under Tomcat on XP
            Reporter: Drew Bentley


XSD for inherited classes is not being generated correctly.

Example:
If a Test object extends TestBase the XSD generated is. ns:TestBase does not exist in this
XSD:
 <wsdl:types>
    <xs:schema xmlns:ns="http://pkg/xsd" attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://pkg/xsd">
      <xs:element name="test">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="input" nillable="true" type="ns:Test"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="Test" type="ns:Test"/>
      <xs:complexType name="Test">
        <xs:complexContent>
          <xs:extension base="ns:TestBase">
            <xs:sequence>
              <xs:element name="name" nillable="true" type="xs:string"/>
            </xs:sequence>
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>
      <xs:element name="testResponse">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="return" nillable="true" type="ns:Test"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
  </wsdl:types>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message