Transforming Null (or Nill) Values from a db adapter business service
Good morning all.
I have two elements defined as follows in both the business and proxy WSDLs.
<xsd:element name="ref" type="xsd:decimal" minOccurs="0" nillable="true"/>
<xsd:element name="state" type="xsd:decimal" minOccurs="0" nillable="true"/>
When testing the service with soapUI I get the following validation error:
"Invalid decimal value: expected at least one digit "
Although both elements are defined as optional or null and they are being "transformed" as empty fields.
the response from the business service is
<get:ref xsi:nil="true"/>
<get:state xsi:nil="true"/>
After my transformation changes to
<ref/>
<state/>
How can I leave, or set, the fields as null/nil in my transformation?
That is:
<ref xsi:nil="true"/>
<state xsi:nil="true"/>
Thank you in advance.
Edited by: cool.br33ze on 16-Apr-2013 07:02