This content has been marked as final. Show 1 reply
When I run this in a BPEL I get : <ISASender xsi:type="def:string">oracle.xml.parser.v2.XMLNodeList@4448441</ISASender>Are you using assign? The above XPath is incorrect. In assign activity, it should be like -
ora:getNodeValue($receiveIn_receive_InputVariable.body/ns3:Internal-Properties/ns3:Data-Structure[@Name = "Interchange"]/ns3:Lookup[@Name = "InterchangeSenderID"]
<from variable="receiveIn_receive_InputVariable" part="body"
query="/ns3:Transaction-856/ns3:Internal-Properties/ns3:Data-Structure[@Name = "Interchange"]/ns3:Lookup[@Name = "InterchangeSenderID"]"/>
Please note that receiveIn_receive_InputVariable has a part defined as "body" which contains entire payload. Instead of writing xpath manually, better you use the graphical interface of assign to map values.
I tried the following in XSLT and I still get nothing.Remove the text() from the last and make sure that namespace is correct. It should work. Use the graphical mapper of XSLT to auto-generate mapping instead of writing it manually.
/imp1:Transaction-856/imp1:Internal-Properties/imp1:Data-Structure[@Name = 'Interchange']/imp1:Lookup[@Name = "InterchangeReceiverID"]/text()