Skip to main content
Solved

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

  • February 1, 2018
  • 6 replies
  • 336 views

Forum|alt.badge.img

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?

Best answer by david_r

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.

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

6 replies

Forum|alt.badge.img+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

david_r
Evangelist
  • February 2, 2018
The URL doesn't seem to be available.

Forum|alt.badge.img
  • Author
  • February 2, 2018

Hi jlutherthomas

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


david_r
Evangelist
  • Best Answer
  • February 2, 2018

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.


Forum|alt.badge.img
  • Author
  • February 2, 2018

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


david_r
Evangelist
  • February 2, 2018
gtihon wrote:

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.

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