Hello,

the problem we have detected is as follows:

In the WSDL a field is described as
        <element name="myField" type="xsd:double" /> 
which means that null is not allowed for that value. But 0 certainly is.

If somesome send a soap message with the value of this field set to null, i.e.
an empty element value <myField xsi:type="xsd:double" xsi:nil="true"/> then Axis
implicitly transforms this to value 0 for this field (which is the standard java
initialization for a double).

My question now is: Wouldn't it be better if Axis throughs an exception instead?
I want to allow the value 0 but not null in my application.

Did anybody come across that problem? Any help is appreciated.

   Steffen

Reply via email to