[jbossws-issues] [JBoss JIRA] Updated: (JBWS-1184) WSDL to Java - maps required xsd:double attribute to java.lang.Double

Darran Lofthouse (JIRA) jira-events at jboss.com
Mon Jan 15 09:38:52 EST 2007


     [ http://jira.jboss.com/jira/browse/JBWS-1184?page=all ]

Darran Lofthouse updated JBWS-1184:
-----------------------------------

    Summary: WSDL to Java -  maps required xsd:double attribute to java.lang.Double  (was: wstools wsdl-java maps required xsd:double attribute to java.lang.Double)

> WSDL to Java -  maps required xsd:double attribute to java.lang.Double
> ----------------------------------------------------------------------
>
>                 Key: JBWS-1184
>                 URL: http://jira.jboss.com/jira/browse/JBWS-1184
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: wstools
>    Affects Versions: jbossws-1.0.3
>            Reporter: Alejandro Guizar
>         Assigned To: Darran Lofthouse
>             Fix For: jbossws-1.2.0
>
>         Attachments: account.zip
>
>
> Consider the attached endpoint. It contains the following type definition:
>     <schema targetNamespace="urn:samples:account" xmlns="http://www.w3.org/2001/XMLSchema">
>       <complexType name="AccountOperation">
>         <attribute name="customerName" type="xsd:string" use="required" />
>         <attribute name="amount" type="xsd:double" use="required" />
>       </complexType>
>     </schema>
> wstools produces the following class:
> public class  AccountOperation
> {
> protected java.lang.String customerName;
> protected java.lang.Double amount;
> }
> Since the attribute is required, I expect the amount field to be a primitive double.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list