You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Murray Furtado (JIRA)" <ji...@apache.org> on 2007/04/03 15:53:32 UTC
[jira] Updated: (AXIS2-2460) Subclasses not generated by WSDL2JAVA
from tag
[ https://issues.apache.org/jira/browse/AXIS2-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Murray Furtado updated AXIS2-2460:
----------------------------------
Attachment: DealService.wsdl
No xsd file is available
> 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.2, 1.1.1
> Environment: Running with java 1.5.0_09 on Windows XP Professional 2002 SP2
> Reporter: Murray Furtado
> Priority: Blocker
> Attachments: DealService.wsdl
>
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org