soap-user,
We have a scenario where a Apache SOAP Client is
talking to a non-Apache SOAP Server. The server
replies with a boolean value 1, i.e. "true". An
example of the response is shown below:
<SOAP-ENV:Body>
<xyzResponse>
<xyz xsi:type="xsd:boolean">1</xyz>
</xyzResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
When the Apache SOAP Client receives this message, the
instance of the BooleanDeserializer class creates an
instance of a Boolean class like so:
new Boolean("1")
which in Java is interpreted as "false".
In this case, is Apache SOAP behaving properly? We
have tried a GLUE client which "does the right thing"
(returns "true") . We also used the generic client
located at http://soapclient.com and it too "does the
right thing". What are the valid values for boolean
in the SOAP specification?
Thanks,
Al
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/