Abhishek,
Section 3.2.2.1 of the XML schema specs says this:
"An instance of a datatype that is defined as boolean can have the
following legal literals {true, false, 1, 0}."
If your service doesn't allow 0, then it must not declare the element
as xsd:boolean.
Andreas
On Mon, Jul 19, 2010 at 21:06, Abhishek V
<[email protected]> wrote:
> Hello,
> I am using WSDL2Java for generating client code. Is there any way in the
> tool to generate mapping for Java fields values to SOAP values.
> For example, generated clients maps value of false to "0" for datatype
> xsd:boolean, but our services are expecting "false" as value for those
> field.
> Thanks.
> Regards
> Abhishek.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]