Search code examples
soappostman

Postman SOAP call does not work any way I change it


I am trying to test connection to Riksbank to get exchange rates for EUR-SEK currency. Through Altova Mapforce I am able to connect, but once I try testing with postman I cannot seem to get it working.

Riksbank uses SOAP method. Documentation is here Method I use is here

When I use the URL with an OPTIONS method I get 200 code and headers returned. But no result body: OPTIONS result

I changed the Content-Type heather and tried with body and without body: Headers Body

What am I missing here?


Solution

  • I got your example working by changing two things;

    • Change your method to POST

    • Change your Content-Type to application/soap+xml;charset=utf8;action=urn:getInterestAndExchangeRatesas suggested in the documentary of the API

    I got this response with above 2 changes: response