Francesco Viscomi created AXIS2-5669:
----------------------------------------

             Summary: bug on ConverterUtil.compare
                 Key: AXIS2-5669
                 URL: https://issues.apache.org/jira/browse/AXIS2-5669
             Project: Axis2
          Issue Type: Bug
    Affects Versions: 1.6.2
         Environment: windows 8
            Reporter: Francesco Viscomi


i have this fragment in wsdl file:
        <xsd:element name="annorif"
               type="impl:_4integerType" maxOccurs="1" minOccurs="1">
        </xsd:element>

with the plugin axis2-wsdl2code-maven-plugin i've generated the code 

public void set_4IntegerType(java.math.BigInteger param) {
                        java.lang.String totalDigitsDecimal = 
org.apache.axis2.databinding.utils.ConverterUtil.convertToStandardDecimalNotation("4").toString();
                        if 
(org.apache.axis2.databinding.utils.ConverterUtil.compare(param, 
totalDigitsDecimal) > 0) {
                                this.local_4IntegerType = param;
                        } else {
                                throw new java.lang.RuntimeException();
                        }

                }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to