axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murray Furtado (JIRA)" <>
Subject [jira] Created: (AXIS2-2460) Subclasses not generated by WSDL2JAVA from <s:extension base> tag
Date Tue, 03 Apr 2007 13:02:32 GMT
Subclasses not generated by WSDL2JAVA from <s:extension base> tag

                 Key: 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: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"/>
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: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:complexType name="DoubleAverageRateDetails">
 <s:complexContent mixed="false">
 <s:extension base="tns:XPortfolioProduct">
    <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"/>
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:
For additional commands, e-mail:

View raw message