Re: Formatting BigDecimal element in response

2015-07-01 Thread Andreas Veithen
I doubt that there is any Web service framework that supports this use case. The reason is that the XML schema spec clearly specifies that "enumeration constrains the value space to a specified set of values." [1] What you are asking for is to restrict the lexical space instead, and there is no goo

Formatting BigDecimal element in response

2015-07-01 Thread T. Allen
I have an element defined as: The class generated by the wsdl2java tool expects a BigDecimal parameter: public void setShipment(java.math.BigDecimal ship) The problem is that passing a value of 50 to the method produces a value of "50.0" (no quotes) in the response. How can I get the