Skip to main content
Solved

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

  • February 1, 2018
  • 6 replies
  • 413 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.

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.

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
Celebrity
  • 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
Celebrity
  • 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
Celebrity
  • February 2, 2018

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.