[ 
https://issues.apache.org/jira/browse/AXIS2-4193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aaron Gourley updated AXIS2-4193:
---------------------------------

    Attachment: SchemaCompiler.java.patch

I think I found an issue and was able to generate the code with the type 
hierarchy created properly.  I've attached a patch file with my changes.

> WSDL2JAVA no setters in ADBBean
> -------------------------------
>
>                 Key: AXIS2-4193
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4193
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb, codegen
>    Affects Versions: 1.4.1
>            Reporter: Roger Niederland
>         Attachments: gencode.zip, SchemaCompiler.java.patch, SoapService.wsdl
>
>
> Generating java classes using wsdl2java (as ADBBeans) (Axis2 version 1.4.1) 
>  on WSDL containing the following information: 
>    <xs:complexType name="PaymentAmount"> 
>       <xs:simpleContent> 
>          <xs:extension base="tns:Amount"/> 
>       </xs:simpleContent> 
>    </xs:complexType> 
>    <xs:complexType name="Amount"> 
>       <xs:simpleContent> 
>          <xs:extension base="xs:decimal"> 
>             <xs:attribute name="currency" type="tns:currency" 
> use="required"/> 
>          </xs:extension> 
>       </xs:simpleContent> 
>    </xs:complexType> 
> The generated PaymentAmount class has no setter or getter methods. 
> The generated Amount class has as expected setter and getter method for 
> Currency and Decimal. 

-- 
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]

Reply via email to