I am currently trying to use the '
Evaluate Request XPath' policy fragment to setup a context variable given a
SOAP XML input:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http:=//tews6/wsdl">
<soapenv:Header/>
<soapenv:Body>
<wsdl:TaskContext>
...
</wsdl:TaskContext>
</soapenv:Body>
</soapenv:Envelope>
Getting to the SOAP Body works just fine (/s:Envelope/s:Body), but when I try to get to the
<wsdl:TaskContext> tag using '
/s:Envelope/s:Body/wsdl:TaskContext', it fails with the standard
soapenv:Server response. When I attempt to do use the same XPath outside of Policy Manager, it works just fine. My question is: what is the proper way to get to the
<wsdl:TaskContext> value using XPath inside of the Policy Manager.