Hi I would like to extract Firstname from soap request using extractvariable policy or Javascript callout policy please help
Solved! Go to Solution.
I found answer hope it will help others....
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ExtractVariables name="Extract-CustomerAccNo"> <DisplayName>Extract AccNo</DisplayName> <Properties/> <Source clearPayload="false">request</Source> <XMLPayload stopPayloadProcessing="false"> <Namespaces> <Namespace prefix="soapenv">http://schemas.xmlsoap.org/soap/envelope/</Namespace> <Namespace prefix="ns2">http://xmlns.oracle.com/apps/mdm/customer</Namespace> <Namespace prefix="xmlns">http://www.t-mobile.com/u2/xml/SwiPersonIO</Namespace> </Namespaces> <Variable type="string" name="ABC"> <XPath>/soapenv:Envelope/soapenv:Body/ns2:updatePerson_Input/xmlns:ListOfSwiPersonIO/xmlns:Contact/xmlns:FirstName</XPath> </Variable> </XMLPayload> </ExtractVariables>