Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Transforming Null (or Nill) Values from a db adapter business service

cool.br33zeApr 15 2013 — edited Apr 19 2013
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 17 2013
Added on Apr 15 2013
4 comments
757 views