14 years ago
SOAPUI Property "Transfer to all"
Hi,
I am trying to use the property transfer step in SOAPUI. I have successfully used it for multiple projects but there seems to be an error when I try to use it with a ID property in my object.
Even though I have the "Transfer to all" box checked the value is transferred only to the first match...the second match ALWAYS receives ZERO.
Please find the object below (the tableID is populated correctly for first value (4317) but NOT FOR SECOND (0))
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://schemas.datacontract.org/2004/07/MYSERVICEMODELS" xmlns:ns2="http://MYSERVICE.com/services/">
<SOAP-ENV:Header>
<ns2:securityToken>0df5338b3aab4f5b82099929e94b82182996b88b2eee4d4a8fb874c40b0f51c6ee6b32d1af104d288a1ce52bb30d46e4</ns2:securityToken>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns2:updateReservationOrchestratedRQ>
<ns2:ReservationActivity>CANCEL</ns2:ReservationActivity>
<ns2:reservation>
<ns1:tableId>4317</ns1:tableId>
<ns1:series>GENERAL</ns1:series>
<ns1:status>CANCELLED</ns1:status>
</ns2:reservation>
<ns2:reservationpayment>
<ns1:accountId>1000</ns1:accountId>
<ns1:comments>Payment</ns1:comments>
<ns1:payment>
<ns1:PaymentMethod>CHECK</ns1:PaymentMethod>
<ns1:currencyCode>USD</ns1:currencyCode>
<ns1:paymentAmount>100</ns1:paymentAmount>
<ns1:paymentstatus>REFUND</ns1:paymentstatus>
</ns1:payment>
<ns1:paymentId>1753</ns1:paymentId>
<ns1:paymentType>OFFLINE</ns1:paymentType>
<ns1:tableId>0</ns1:tableId>
<ns1:transactionType>OFFLINE</ns1:transactionType>
</ns2:reservationpayment>
</ns2:updateReservationOrchestratedRQ>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
THANKS!!! for all your help.
I am trying to use the property transfer step in SOAPUI. I have successfully used it for multiple projects but there seems to be an error when I try to use it with a ID property in my object.
Even though I have the "Transfer to all" box checked the value is transferred only to the first match...the second match ALWAYS receives ZERO.
Please find the object below (the tableID is populated correctly for first value (4317) but NOT FOR SECOND (0))
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://schemas.datacontract.org/2004/07/MYSERVICEMODELS" xmlns:ns2="http://MYSERVICE.com/services/">
<SOAP-ENV:Header>
<ns2:securityToken>0df5338b3aab4f5b82099929e94b82182996b88b2eee4d4a8fb874c40b0f51c6ee6b32d1af104d288a1ce52bb30d46e4</ns2:securityToken>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns2:updateReservationOrchestratedRQ>
<ns2:ReservationActivity>CANCEL</ns2:ReservationActivity>
<ns2:reservation>
<ns1:tableId>4317</ns1:tableId>
<ns1:series>GENERAL</ns1:series>
<ns1:status>CANCELLED</ns1:status>
</ns2:reservation>
<ns2:reservationpayment>
<ns1:accountId>1000</ns1:accountId>
<ns1:comments>Payment</ns1:comments>
<ns1:payment>
<ns1:PaymentMethod>CHECK</ns1:PaymentMethod>
<ns1:currencyCode>USD</ns1:currencyCode>
<ns1:paymentAmount>100</ns1:paymentAmount>
<ns1:paymentstatus>REFUND</ns1:paymentstatus>
</ns1:payment>
<ns1:paymentId>1753</ns1:paymentId>
<ns1:paymentType>OFFLINE</ns1:paymentType>
<ns1:tableId>0</ns1:tableId>
<ns1:transactionType>OFFLINE</ns1:transactionType>
</ns2:reservationpayment>
</ns2:updateReservationOrchestratedRQ>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
THANKS!!! for all your help.