BigDecimal has scientific notation in soap message
问题 I have got strange problem with our webservice. I have got object OrderPosition which has got a price (which is xsd:decimal with fractionDigits = 9). Apache CXF generate proxy classes for me, and this field is BigDecimal. When I'd like to send value greater than 10000000.00000, this field in soap message has got scientific notation (for example 1.1423E+7). How can I enforce that the value has not been sent in scientific notation. 回答1: Here is one way this can be done. BigDecimal has a