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

Jochen Wiedmann resolved AXIS2-2128.
------------------------------------

    Resolution: Fixed

Already fixed in the trunk with revision 529296.


> Wrong type mapping in java2wsdl for java.math.BigDecimal
> --------------------------------------------------------
>
>                 Key: AXIS2-2128
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2128
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.1
>            Reporter: Mirko Zeibig
>         Assigned To: Jochen Wiedmann
>
> Java2Wsdl generates 'xs:int' for 'java.math.BigDecimal' instead of 
> 'xs:decimal'. This is wrong because of:
> [Definition:]   integer is - derived-  from decimal by fixing the value of - 
> fractionDigits-  to be 0and disallowing the trailing decimal point. This 
> results in the standard mathematical concept of the integer numbers. The - 
> value space-  of integer is the infinite set {...,-2,-1,0,1,2,...}. The - 
> base type-  of integer is decimal.
> It is easy to fix in 'org.apache.ws.java2wsdl.utils.TypeTable' by adding this 
> line of code:
> simpleTypetoxsd.put("java.math.BigDecimal", new 
> QName(Java2WSDLConstants.URI_2001_SCHEMA_XSD, "decimal", "xs"));

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