Azefeld82
15 years agoNew Contributor
Xpath in transfer properties
Hi
I try to transfert a property from a response to a request.
My problem is the follwing.
I have this response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<fireTriggerResponse xmlns="http://soapapi.dc.software.swa.com">
<out>0000012F2B17CB03-00063</out>
</fireTriggerResponse>
</soap:Body>
</soap:Envelope>
And when I put this code in the xpath field of source:
declare namespace ns='http://soapapi.dc.software.swa.com';
//ns:out[1]
I have this value :
<soap:out xmlns:soap="http://soapapi.dc.software.swa.com">0000012F2B17CB03-00063</soap:out>
But I would like have only:
0000012F2B17CB03-00063
What is my mistake?
I try to transfert a property from a response to a request.
My problem is the follwing.
I have this response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<fireTriggerResponse xmlns="http://soapapi.dc.software.swa.com">
<out>0000012F2B17CB03-00063</out>
</fireTriggerResponse>
</soap:Body>
</soap:Envelope>
And when I put this code in the xpath field of source:
declare namespace ns='http://soapapi.dc.software.swa.com';
//ns:out[1]
I have this value :
<soap:out xmlns:soap="http://soapapi.dc.software.swa.com">0000012F2B17CB03-00063</soap:out>
But I would like have only:
0000012F2B17CB03-00063
What is my mistake?