0
我正在邁出第一步進入SOAP和Web服務。我通過逆向工程學習並檢查現有代碼來學習最佳。 (那和傻瓜書)。SOAP基礎知識怎樣處理請求
我從提供有關其產品的XML數據的供應商處獲得以下SOAP請求示例。我的問題,我不知道如何處理代碼。 (是的,我是這個網頁開發的新手)
POST /exatawapi.asmx HTTP/1.1
Host: webapi.example.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://webapi.example.com/GetAvailableProductsXML"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetAvailableProductsXML xmlns="http://webapi.example.com/">
<brand>All</brand>
</GetAvailableProductsXML>
</soap:Body>
</soap:Envelope>