-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.7.4
-
Fix Version/s: None
-
Component/s: codegen
-
Labels:None
-
Environment:axis2-wsdl2code-maven-plugin:1.7.4:wsdl2code
For this reason, it can't be used.
This error occurs starting with version Axis2 1.6.2 ( AXIS2-5342 ) and is already marked as resolved. Why?
But this is not solved!
Please take a look into the attached sample "generated.code.zip" ...
a) download and unpack them
b) cd generated.code
c) mvn test
Running de.udoline.axis2.wsdl2code.generated.xi.SachbuchkontoTest ~~~ The underline error: ~~~ java.lang.NumberFormatException: For input string: "1000000.0" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Long.parseLong(Long.java:589) at java.lang.Long.parseLong(Long.java:631) at org.apache.axis2.databinding.utils.ConverterUtil.compare(ConverterUtil.java:1345) at de.udoline.axis2.wsdl2code.generated.xi.Sachbuchkonto.setSachbuchkonto(Sachbuchkonto.java:41) at de.udoline.axis2.wsdl2code.generated.xi.SachbuchkontoTest.testGeneratedWsdlCode(SachbuchkontoTest.java:53) ...
- duplicates
-
AXIS2-5724 totalDigits Facet of XSD type int incorrectly treated in databinding
-
- Resolved
-
- relates to
-
AXIS2-5342 Generated code for xsd:totalDigits cause errors
-
- Resolved
-