I'm attempting to generate Java code from a WSDL
file. It generates the code but there seems to be an issue with one of the auto generated setter methods.
/**
* Auto generated setter method
* @param param Curr132
*/
public void setCurr132(java.math.BigDecimal param){
java.lang.String totalDigitsDecimal = org.apache.axis2.databinding.utils.ConverterUtil.convertToStandardDecimalNotation("13").toString();
if (org.apache.axis2.databinding.utils.ConverterUtil.compare(param,totalDigitsDecimal) > 0){
this.localCurr132=param;
} else {
throw new java.lang.RuntimeException();
}
}
Whenever I create a new Curr132
object and use setCurr132
, it throws the RuntimeException
.
The problem seems to be the '>'. If I change that to a '<' it works. Is this the correct fix?