我查看了文档,并试图找到一种简单的方法来发送以下请求,并让它返回存储在文件中的结果。
POST /gdAuctionsWSAPI/gdAuctionsBiddingWS.asmx HTTP/1.1
Host: auctions.godaddy.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "GdAuctionsBiddingWSAPI/GetAuctionListByAuctionTypeAndDates"
<?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>
<GetAuctionListByAuctionTypeAndDates xmlns="GdAuctionsBiddingWSAPI">
<pageNumber>string</pageNumber>
<rowsPerPage>string</rowsPerPage>
<auctionType>string</auctionType>
<apiKey>string</apiKey>
<minStartTime>string</minStartTime>
<maxStartTime>string</maxStartTime>
</GetAuctionListByAuctionTypeAndDates>
</soap:Body>
</soap:Envelope>
我可以填写变量,我的服务器支持SOAP,我只是不确定如何将上面的内容作为请求分配并发送。我在网上看到的所有东西都让我第一次成为SOAP用户。