I see that others have been able to get this to work however I am unable to find enough detail explaining how they accomplished this in order for me to get this to work.
This guy at this link claims he was able to do this. While there is a brief description as to how to do this I don't fully understand it.
The solution presented was:
With InvokeHTTP, you can add dynamic properties, which will be sent in the request as headers. You can use dynamic properties to set values for the Content-Type and SOAPAction headers, just use the header names for the names of the dynamic properties. InvokeHTTP lets you control the HTTP method, so you can set that to POST. The remaining step would be to get the content of request.xml to be sent to the InvokeHTTP as a flowfile. One way to do this is to use a GetFile processor to fetch requeset.xml from some location on the filesystem, and pass the success relationship of GetFile to InvokeHTTP
--Jeff.
I'm using SOAPUI to verify that everything works and it does as I am getting the appropriate XML response back. However I am unable to accomplish this in NiFi. My guess is that I don't know what to call my dynamic properties. I also don't fully understand what data I'd add to the Value
of my dynamic properties.
InvokeHTTP
processor sends flow file content as http request body. the simpliestflow:GenerateFlowFile
with soap body and thenInvokeHTTP
.