Hi,
we have a class XPortfolioProduct, 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>
We have a number of subclasses of XPortfolioProduct, 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.
Can anyone tell me why this is happening? This wsdl generates the correct
classes using Axis 1.4, but not with Axis2.-1.1.1
Thanks in advance,
Murray
Murray Furtado
Currency Options Sales Technology
RBS Global Banking and Markets
280 Bishopsgate, London EC2M 4RB / 135 Bishopsgate, London EC2M 3TP
( +44 207 085 0748 | * [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered
Office: 36 St Andrew Square, Edinburgh EH2 2YB.
Authorised and regulated by the Financial Services Authority
This e-mail message is confidential and for use by the
addressee only. If the message is received by anyone other
than the addressee, please return the message to the sender
by replying to it and then delete the message from your
computer. Internet e-mails are not necessarily secure. The
Royal Bank of Scotland plc does not accept responsibility for
changes made to this message after it was sent.
Whilst all reasonable care has been taken to avoid the
transmission of viruses, it is the responsibility of the recipient to
ensure that the onward transmission, opening or use of this
message and any attachments will not adversely affect its
systems or data. No responsibility is accepted by The
Royal Bank of Scotland plc in this regard and the recipient should carry
out such virus and other checks as it considers appropriate.
Visit our websites at:
www.rbs.com
www.rbsgc.com
www.rbsmarkets.com
***********************************************************************************