Solved

SoapAction: Where do I have to add it and how in HTTPCaller transformer

  • 1 February 2018
  • 6 replies
  • 52 views

In SOAPui, I have this SOAPAction in the xml editor: SOAPAction: "http://schema.bpost.be/services/common/address/ExternalMailingAddressProofingCS/v001/validateAddress".

I don't understand where do I have to create this action in the HTTPCaller of FME?

icon

Best answer by david_r 2 February 2018, 08:38

View original

6 replies

Badge +2

Hi @gtihon

 

Have you followed the example in this article? It outlines how to take the right parts from SOAPUI into the HTTPCaller.

 

https://knowledge.safe.com/articles/45314/working-with-soap-services.html
Userlevel 4
The URL doesn't seem to be available.

Hi jlutherthomas

Yes indeed I already follow the example but it's not mentioned exactly where and how to introduce it in HTTPCaller

Userlevel 4

The SOAPAction is a header, here's a working example for a SOAP request using the HTTPCaller:

The attribute "soap_request" contains the XML block used for the request, you can e.g. use the XMLTemplater to generate it. The attribute "soap_response" will contain the XML response, which you can decompose using e.g. the XMLFlattener.

Thanks very much....it works now...In fact the "SOAPAction" to be included in column Name is case sensitive i think...

Userlevel 4

Thanks very much....it works now...In fact the "SOAPAction" to be included in column Name is case sensitive i think...

Case sensitivity would depend on the implementation on the SOAP server back-end, but yes, I always assume case sensitivity unless anything else is specified.

Reply