Subclasses not generated by WSDL2JAVA from <s:extension base> tag
-----------------------------------------------------------------
Key: AXIS2-2460
URL: https://issues.apache.org/jira/browse/AXIS2-2460
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: adb
Affects Versions: 1.1.1, 1.2
Environment: Running with java 1.5.0_09 on Windows XP Professional
2002 SP2
Reporter: Murray Furtado
Priority: Blocker
A class, XPortfolioProduct, is defined by the following wsdl:
<s:complexType name="XPortfolioProduct">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="PaidOut" type="s:boolean"/>
<s:element minOccurs="0" maxOccurs="1" name="InOut" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="RebateAmount" type="s:double"/>
<s:element minOccurs="0" maxOccurs="1" name="RebateCurrency"
type="s:string"/>
...
</s:sequence>
</s:complexType>
A number of subclasses of XPortfolioProduct exist, a couple of which are shown
defined below:
<s:complexType name="FVADetails">
<s:complexContent mixed="false">
<s:extension base="tns:XPortfolioProduct">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="FVAVolatility"
type="s:double"/>
<s:element minOccurs="0" maxOccurs="1" name="FixingSource"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="FVAType" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="ResetDate"
type="s:dateTime"/>
<s:element minOccurs="0" maxOccurs="1" name="FixedPrincipal"
type="s:string"/>
</s:sequence>
</s:extension>
</s:complexContent>
</s:complexType>
<s:complexType name="DoubleAverageRateDetails">
<s:complexContent mixed="false">
<s:extension base="tns:XPortfolioProduct">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="OffsetCurrency"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="FixingSource" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="OffsetType" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="CompensationCcy"
type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="OffsetAmount" type="s:double"/>
<s:element minOccurs="0" maxOccurs="1" name="DAvroFixings"
type="tns:DavroFixingElement"/>
<s:element minOccurs="1" maxOccurs="1" name="CompensationAmount"
type="s:double"/>
</s:sequence>
</s:extension>
</s:complexContent>
</s:complexType>
When using wsdl2java using the adb databinding, this generates a
Stub.XPortfolioProduct inner class, but no Stub.FVADetails and
Stub.DoubleAverageRateDetails classes.
Could this be due to the 'tns' namespace being incorrectly interpretted by the
compiler?
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]