Forum Discussion
omatzura
17 years agoSuper Contributor
Hi Tom,
ok.. please try the following;
Create a property-transfer-step containing a property-transfer that uses XQuery (checkbox bottom right in the latest snapshot), set the source step/property to your request and its response and set the source xquery expression to
and the target teststep/request xpath to
I think the data gets transfered correctly, but you'll need to validate with your services for me..
let me know!
regards,
/Ole
eviware.com
ok.. please try the following;
Create a property-transfer-step containing a property-transfer that uses XQuery (checkbox bottom right in the latest snapshot), set the source step/property to your request and its response and set the source xquery expression to
<rinderpass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="java1:ArrayOfTVXmlRinderpassVO" soapenc:arrayType="java1:TVXmlRinderpassVO[]"
xsi:nil="true" xmlns:java1="java:com.csc.tvd.oerxml.vo.bestellwesen">
{
for $z in //identitaet/text()
return <item xsi:type="arrayType:TVXmlRinderpassVO" xmlns:arrayType="java:com.csc.tvd.oerxml.vo.bestellwesen">
<arrayType:identitaet>{data($z)}</arrayType:identitaet></item>
}
</rinderpass>
and the target teststep/request xpath to
declare namespace tvd='http://www.tierverkehr.ch/XMLServicesOer/TVDOerXml';
//tvd:plausiRinderpass/tVXmlRinderpassStructHolder/rinderpass
I think the data gets transfered correctly, but you'll need to validate with your services for me..
let me know!
regards,
/Ole
eviware.com
Related Content
- 2 years agojerry91
- 4 years agobrianchi73
- 7 years agoluluberlu