我想简化我的Web服务请求和响应xml结构:
目前:
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetAddressForPostcode xmlns="http://dw.rhp.org.uk/StatementsService">
<postcode>string</postcode>
<addressline1>string</addressline1>
<SearchType>string</SearchType>
</GetAddressForPostcode>
</soap12:Body>
</soap12:Envelope>
我想:
<GetAddressAuthorisation>
<MethodParameters>
<Postcode>SW14 7RD<Postcode>
</MethodParameters>
</GetAddressAuthorisation>
谢谢,