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!

Facing issues in using parseEscapedXML

678047Mar 28 2010 — edited Feb 27 2020
Hi All,

I am getting a payload as input to the BPEL process. The payload is of type XML as given below

<tro:XXXTicket>
<!--Optional:
--><tro:name>XXXX</tro:name>
<!--Optional:
--><tro:age>21</tro:age>
</tro:XXXTicket>.

I want to get the value of the name to a string variable.
I am using parseEscapedXML to do this but i am facing an issue in this, the ouput which i get is like

Optional XXXX
Optional 21.

I want only the value of nam which is XXXX.
I have used the following XQUERY
ora:parseEscapedXML(bpws:getVariableData('inputVariable','payload','/ns3:FaultMessage'))

Do I need to change something in the XQuery expression? I am new to BPEL so not sure how it works. Any help on this wil be highly thankful.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 25 2010
Added on Mar 28 2010
0 comments
985 views