下面是我的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
是的,国家和城市的名称是固定的 –