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 "Francesco Viscomi (JIRA)" <ji...@apache.org> on 2014/09/10 16:19:28 UTC

[jira] [Created] (AXIS2-5669) bug on ConverterUtil.compare

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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org