Skip to main content
Solved

SOAP API not working in FME

  • April 18, 2023
  • 2 replies
  • 50 views

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

david_r
Celebrity
  • 8392 replies
  • 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

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!