Skip to main content
Solved

SOAP API not working in FME


Forum|alt.badge.img

Hi all!

I want call a soap service in FME. I use this link:

https://swea.riksbank.se/sweaWS/wsdl/sweaWS_ssl.wsdl

I used the program SoapUI to generate and test the xml request. In SoapUI the return works fine. This is the request I use:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://swea.riksbank.se/xsd">

  <soap:Header/>

  <soap:Body>

     <xsd:getMonthlyAverageExchangeRates>

        <year>2022</year>

        <month>1</month>

        <languageid>en</languageid>

     </xsd:getMonthlyAverageExchangeRates>

  </soap:Body>

</soap:Envelope>

 

However, in FME I only get a list of function as a return.

Any help is welcome.

Thanks in advance!Request and return in SoapUI 

Best answer by david_r

Make sure to use the same content-type as in SoapUI, look under the "Raw" tab of the request:

imageIn FME:

imageSee also this article: https://community.safe.com/s/article/working-with-soap-services

View original
Did this help you find an answer to your question?

2 replies

david_r
Evangelist
  • Best Answer
  • April 18, 2023

Make sure to use the same content-type as in SoapUI, look under the "Raw" tab of the request:

imageIn FME:

imageSee also this article: https://community.safe.com/s/article/working-with-soap-services


Forum|alt.badge.img
david_r wrote:

Make sure to use the same content-type as in SoapUI, look under the "Raw" tab of the request:

imageIn FME:

imageSee also this article: https://community.safe.com/s/article/working-with-soap-services

Thank you so much @david_r​ !

I added the conten type. Moreover, I realized that I used the wrong url. I took the wsdl instead!

Now it works!

Thanks again for your help!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings