下面是我的GetCountry請求的表格響應。如何使用SoapUI中的Property Transfer從表格響應中轉移屬性值?
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetCitiesByCountryResponse xmlns="http://www.webserviceX.NET">
<GetCitiesByCountryResult><![CDATA[<NewDataSet>
<Table>
<Country>British Indian Ocean Territory</Country>
<City>Diego Garcia</City>
</Table>
<Table>
<Country>India</Country>
<City>Ahmadabad</City>
</Table>
<Table>
</NewDataSet>]]></GetCitiesByCountryResult>
</GetCitiesByCountryResponse>
</soap:Body>
</soap:Envelope>
在這裏,我要的值複製瞭如:Country = India
和City = Ahmadabad
我的目標要求。如何使用Property transfer方法傳輸這些值?有人可以幫助我的格式?
是國家名稱,城市名稱值固定? – Rao
是的,國家和城市的名稱是固定的 –