我只是想了解如何查询SOAP服务,那么我可以使用任何基于SAOP的服务吗?
答案 0 :(得分:1)
这里有大量可用的SOAP Web服务...... http://www.webservicex.net/WS/wscatlist.aspx
答案 1 :(得分:1)
有许多基于SOAP的服务可用。你可以编写自己的测试。
在此处查找更多详情 - > SOAPClient
示例:
SOAP Endpoint URL: http://www.SoapClient.com/xml/SQLDataSoap.WSDL
SOAP Action: /SQLDataSRL
Method Names: ProcessSRL
WSDL URL: http://www.SoapClient.com/xml/SQLDataSoap.wsdl
Parameters:
1. SRLFile: The name of the Service Request Language File, use /xml/WEB.SRI for web searches.
2. RequestName: The name of the search engine, use Altavista, Yahoo, Excite, etc.
3. key: The keywords to be searched for.
示例SOAP消息
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<mns:ProcessSRL xmlns:mns="http://www.SoapClient.com/xml/SQLDataSoap.xsd">
<SRLFile xsi:type="xsd:string">/xml/web.sri</SRLFile>
<RequestName xsi:type="xsd:string">Altavista</RequestName>
<key xsi:type="xsd:string">SOAP</key>
</mns:ProcessSRL>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>