Z odpowiedzi interfejsu SOAP poniżej;Jak wykorzystać konkretną wartość odpowiedzi SOAP UI na nowe żądanie interfejsu SOAP
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns0:HelpDesk_Submit_ServiceResponse xmlns:ns0="urn:HPD_IncidentInterface_Create_WS">
<ns0:Incident_Number>**INC000000000274**</ns0:Incident_Number>
</ns0:HelpDesk_Submit_ServiceResponse>
</soapenv:Body>
</soapenv:Envelope>
Chcę wyjąć INC000000000274 a następnie podać go do określonego miejsca w nowej żądanie SOAP UI jak poniżej;
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:HPD_IncidentInterface_WS">
<soapenv:Header>
<urn:AuthenticationInfo>
<urn:userName></urn:userName>
<urn:password></urn:password>
<!--Optional:-->
<urn:authentication></urn:authentication>
<!--Optional:-->
<urn:locale></urn:locale>
<!--Optional:-->
<urn:timeZone></urn:timeZone>
</urn:AuthenticationInfo>
</soapenv:Header>
<soapenv:Body>
<urn:HelpDesk_Query_Service>
<urn:Incident_Number>**INC000000000274**</urn:Incident_Number>
</urn:HelpDesk_Query_Service>
Jak mogę to zrobić? Używam darmowej wersji SOAP UI. Wartość, którą chcę wyjąć, a następnie wprowadzić, będzie inna za każdym razem od odpowiedzi.
Thanks Matt, że pomogło. – Sohaib