Forum Discussion
M_McDonald
16 years agoSuper Contributor
Assuming you want the first "Approved" value, why not do use a PropertyTransfer step.
Set the source step to be the initial request, the source property 'ResponseAsXML' and the XPath like this:
[tt:35u4nv8f]declare namespace a='http://company.com/definition/2009/08/someservice';
//DataTypes/a:DataType[a:Status='Approved']/a:Number[/tt:35u4nv8f]
Make the target a Properties step, then use a property expansion to insert the value in the request XML of the next request.
Make sure to check "Transfer Text Content" checkbox in the PropertyTransfer step.
Set the source step to be the initial request, the source property 'ResponseAsXML' and the XPath like this:
[tt:35u4nv8f]declare namespace a='http://company.com/definition/2009/08/someservice';
//DataTypes/a:DataType[a:Status='Approved']/a:Number[/tt:35u4nv8f]
Make the target a Properties step, then use a property expansion to insert the value in the request XML of the next request.
Make sure to check "Transfer Text Content" checkbox in the PropertyTransfer step.