ContributionsMost RecentMost LikesSolutionsUnable to process XPath Property Transfer between 2 servicesHi, I have currently started working on SOAPUI and was struck up "Property Transfer" feature. I wrote down the steps I have adopted to implement this feature. Can you please help me to fix this issue. I'm attaching my sample project for your reference, in the attachments. Details: I have 2 web services. The response of one web service should be given as request to the second web service. Steps done to implement this particular functionality: 1. Under the City_WeatherTest project: We have "GlobalWeatherSoapTestSuite". 2. Under this test suite, we have "GetCitiesByCountryTestCase". 3. Under the Test Case, we have 3 Test Steps. a. GetCitiesByCountry : This takes the country name as request input and returns the list of cities of that country as response. b. GetWeather : This takes the city name and country name as request inputs and returns the weather report of that city as response. c. cityname : This is property transfer step that is used to map the above mentioned steps. I used XPATH to capture the response of STEP 1 (GetCitiesByCountry) and transfer it to the request of STEP 3 (GetWeather). I'm failing in this particular STEP and unable to proceed . Please help me to figure out where it is going wrong.Property Transfer : Unable to write XPath for SOAP ResponseHi Friends, I'm using SOAPUI for testing of SOAP based web services. My current task is as follows. I created a Project, TestSuite and one TestCase in it with the following Test Steps: 1. Test Step1 which makes a request to a service (Returns list of cities in that country) : SOAP REQUEST input: Takes country name as input output: Returns list of cities in that country as SOAP RESPONSE 2. Test Step 2 - Property Transfer : It collects one specified city name from response of Test Step1 and passes that value as input to Test Step3. 3. Test Step 3 - Will make a service call to another service (Weather Report of a city) : SOAP REQUEST input : collects a parameter from Test Step2 (one city name) output : Returns the weather report of that city (SOAP RESPONSE) Issue: I'm unable to write a proper XPath expression to enter in the "SOURCE" and "DESTINATION". I need your help to write proper XPath expression for the SOAP RESPONSE AND SOAP REQUEST. Bootom Line: Please provide the XPath SOURCE and DESTINATION for the Property Transfer created value. MORE DETAILS: ............................. Please find the Test Case - Test Steps below: TEST STEP 1 # ############## (WSDL is : http://www.webservicex.net/globalweather.asmx?WSDL ) <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.webserviceX.NET"> <soapenv:Header/> <soapenv:Body> <web:GetCitiesByCountry> <!--Optional:--> <web:CountryName>CANADA</web:CountryName> </web:GetCitiesByCountry> </soapenv:Body> </soapenv:Envelope> TEST STEP 2 ############################### Created a Property Transfer to the test case - (The script for SOURCE AND DESTINATION is what I need). I need to capture the value of a city ("Halifax International Airport") from the Response output and assign it as input to TEST STEP 3 I wrote a couple of XPath scripts which didn't work. TEST STEP 3 #################################(WSDL is : http://www.webservicex.net/globalweather.asmx?WSDL ) <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.webserviceX.NET"> <soapenv:Header/> <soapenv:Body> <web:GetWeather> <!--Optional:--> <web:CityName></web:CityName> <!-- This is the node which is needs the input from the Property Transfer --> <!--Optional:--> <web:CountryName>CANADA</web:CountryName> </web:GetWeather> </soapenv:Body> </soapenv:Envelope>