Hi Team,
I am using Oracle ERP Cloud Trigger Request for a business event.
For the filter of business event, I want to create a Xpath expression based on Header value of the payload.
Below is the payload sample :
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
env:Header
<fmw-context xmlns="http://xmlns.oracle.com/fmw/context/1.0">
<parameter xmlns="http://xmlns.oracle.com/fmw/context/1.0">
<name xmlns="http://xmlns.oracle.com/fmw/context/1.0">USER_NAME_UNPREFIXED</name>
<namespace xmlns="http://xmlns.oracle.com/fmw/context/1.0">FND$SECURITY</namespace>
<value xmlns="http://xmlns.oracle.com/fmw/context/1.0">XXXXX</value>
</parameter>
</fmw-context>
</env:Header>
</env:Envelope>
Xpath expression I am trying with
<xpathExpr
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ctx="http://xmlns.oracle.com/fmw/context/1.0">
$header/env:Header/ctx:fmw-context/ctx:parameter[ctx:name='USER_NAME_UNPREFIXED']/ctx:value = 'XXXXX'
</xpathExpr>
Error : Oracle ERP Cloud Adapter has encountered an error parsing event filter expression for CseAssetCore_Maintenance_Asset_Updated
Any assistance or guidance would be greatly appreciated.