与邮递员的肥皂请求
Soap Request With Postman
我不知道如何在邮递员中调用 SoapUI 到 swea riksbank
(瑞典银行)。当我将请求正文留空时,结果是 wsdl url in the request url and can get this 。但是当我尝试输入 api 文档中的请求示例时,我仍然得到与上面相同的响应
//the request example
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"xmlns:xsd="http://swea.riksbank.se/xsd">
<soap:Header/>
<soap:Body>
<xsd:getAnnualAverageExchangeRates>
<year>2010</year>
<month>4</month>
<languageid>en</languageid>
</xsd:getAnnualAverageExchangeRates>
</soap:Body>
</soap:Envelope>
我也试过这个link但根本无法让它工作
在您链接的 WSDL 的底部有:
<soap12:address location="http://swea.riksbank.se:80/sweaWS/services/SweaWebServiceHttpSoap12Endpoint"/>
如果将http://swea.riksbank.se:80/sweaWS/services/SweaWebServiceHttpSoap12Endpoint
设置为URL,使用POST作为方法,将raw设置为body type,将select XML设置为drop-down.
你的正文是正确的,只是在 xmlns:xsd="http://swea.riksbank.se/xsd"
之前少了一个 space
我不知道如何在邮递员中调用 SoapUI 到 swea riksbank (瑞典银行)。当我将请求正文留空时,结果是 wsdl url in the request url and can get this 。但是当我尝试输入 api 文档中的请求示例时,我仍然得到与上面相同的响应
//the request example
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"xmlns:xsd="http://swea.riksbank.se/xsd">
<soap:Header/>
<soap:Body>
<xsd:getAnnualAverageExchangeRates>
<year>2010</year>
<month>4</month>
<languageid>en</languageid>
</xsd:getAnnualAverageExchangeRates>
</soap:Body>
</soap:Envelope>
我也试过这个link但根本无法让它工作
在您链接的 WSDL 的底部有:
<soap12:address location="http://swea.riksbank.se:80/sweaWS/services/SweaWebServiceHttpSoap12Endpoint"/>
如果将http://swea.riksbank.se:80/sweaWS/services/SweaWebServiceHttpSoap12Endpoint
设置为URL,使用POST作为方法,将raw设置为body type,将select XML设置为drop-down.
你的正文是正确的,只是在 xmlns:xsd="http://swea.riksbank.se/xsd"