Question

I need help with calling a SOAP API from FME

  • 10 January 2023
  • 6 replies
  • 73 views

Hello guys,

 

I am trying to consum a SOAP API to send data from FME desktop but I am getting the HTTP/1.1 500 Internal Server Error.

 

Here is what I did:

 

I have configured the API request in SoapUI copied the xml request and send it the HttpCaller transformer using the XMLTemplater.

 

I have enabled the authentication option in the HttpCaller and entered the username/password using the basic type.

 

Thank you in advance.


6 replies

Badge +3

Have you ever used Postman app or web application? whether it was successful or not

Debug with Telerik Fiddler. you will get The precise url string to use within fme(httpcaller)

Have you ever used Postman app or web application? whether it was successful or not

Debug with Telerik Fiddler. you will get The precise url string to use within fme(httpcaller)

I used SoapUI and it worked fine.

 

I tried to use Fiddler but for some reason it is not detecting the request from FME.

Badge +3

I used SoapUI and it worked fine.

 

I tried to use Fiddler but for some reason it is not detecting the request from FME.

USE POSTMAN

Userlevel 4

I used SoapUI and it worked fine.

 

I tried to use Fiddler but for some reason it is not detecting the request from FME.

SoapUI should work just fine and would be my preferred method for testing SOAP services, especially since it can automatically generate XML requests and replies based on the WSDL.

Concerning Fiddler, you may have to activate its proxy service and configure FME to go through it.

Also, make sure you included the correct SOAPAction header in the HTTPCaller. You'll find it in the SoapUI request under the "RAW" tab. Example: https://community.safe.com/s/question/0D54Q000080hEaKSAU/soapaction-where-do-i-have-to-add-it-and-how-in-httpcaller-transformer

Userlevel 4

This is also a great resource, if you haven't seen it yet: https://community.safe.com/s/article/working-with-soap-services

This is also a great resource, if you haven't seen it yet: https://community.safe.com/s/article/working-with-soap-services

Thank you david for your reply, The issue were in the wsse header creation. to fix the problem I have used a python script to generate the wsse header using the current time and I can now call the SOAP API successfully!

 

Reply