You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Udo Kühne (JIRA)" <ji...@apache.org> on 2017/03/16 08:54:42 UTC

[jira] [Updated] (AXIS2-5842) wsdl2java generates faulty runtime code for

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

Udo Kühne updated AXIS2-5842:
-----------------------------
    Description: 
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" ...

<pre>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)
		...
</pre>

  was:
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" ...


> wsdl2java generates faulty runtime code for <xsd:totalDigits> 
> --------------------------------------------------------------
>
>                 Key: AXIS2-5842
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5842
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.7.4
>         Environment: axis2-wsdl2code-maven-plugin:1.7.4:wsdl2code
>            Reporter: Udo Kühne
>         Attachments: generated.code.zip
>
>
> 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" ...
> <pre>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)
> 		...
> </pre>



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org