Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Extract a element from soap request using extractvariable policy or javascript

Not applicable

Hi I would like to extract Firstname from soap request using extractvariable policy or Javascript callout policy please help

Solved Solved
0 4 1,221
1 ACCEPTED SOLUTION

Not applicable

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>

View solution in original post

4 REPLIES 4