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!

Business Rules Find NULL values

3195374May 14 2016 — edited May 16 2016

Hello,

I am Struggling a lot to compare an xml element against null in decision tables. When I check an element against null, the rule is not firing though I am not passing any thing.

Interestingly, If I check element!=null against false, it is working. Please help me to find the right way to do this. Please find the below test.

img1.jpg

Here Just to test that the service is working I am passing ABC and getting same ABC in output,

img2.jpg

Now If I pass no value, I am not getting the text "NULL" that I have assigned in decision table.

img1.jpg

Just in case, If it make sense, here is my XSD code

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema targetNamespace="http://www.something.com/TestData" elementFormDefault="qualified"

xmlns:xs="[http://www.w3.org/2001/XMLSchema](http://www.w3.org/2001/XMLSchema)" xmlns:testIn="[http://www.something.com/TestData](http://www.something.com/TestData)">

\<xs:element name="TestElement" type="testIn:TestElementType"/>

\<xs:complexType name="TestElementType">

    \<xs:sequence>

        \<xs:element name="Input" type="xs:string"/>

        \<xs:element name="Output" type="xs:string"/>

    \</xs:sequence>

\</xs:complexType>

</xs:schema>

Thanks For the help,

N.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 13 2016
Added on May 14 2016
6 comments
1,194 views