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!

Nillable='true' didn't generate xsi:nil='1'

user11143079May 26 2009 — edited Feb 26 2020
Folks,

I would like to clarify something about generation of xml messages with xsi:nil attribute in JDeveloper and BPEL Engine:

Each element in my schema is defined with 'nillable' attribute set to 'true', some elements given below:

<xsd:element name="company" type="xsd:string" nillable="true*/>
<xsd:element name="companyID" type="xsd:string" *nillable="true"*/>

However 'xsi:nil' attribute in not present in the xml messages generated by JDeveloper (Transformation - Test) and BPEL Engine (run time) when any of the elements above are empty: The xml messages produced is simply

<company/>
<companyID/>

I expected it to be <company xsi:nil='1'/> and <companyID xsi:nil='1'/> instead.

I also tried setting the property 'xsiSendType' to 'true' in bpel.xml, but didn't get the desired result. Any help will be appreciated..

Ranjith
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 16 2012
Added on May 26 2009
2 comments
1,974 views