2013-06-05 3 views
5

Da una risposta dell'interfaccia utente SOAP di seguito;Come utilizzare un valore particolare dalla risposta dell'interfaccia utente SOAP in una nuova richiesta dell'interfaccia utente 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> 

voglio prendere INC000000000274 e poi alimentarlo in un luogo specifico in una nuova richiesta SOAP UI come di seguito;

<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> 

Come posso fare? Sto usando la versione gratuita di SOAP UI. Il valore che voglio estrarre e poi inserire sarà diverso ogni volta dalla risposta.

risposta