Created 03-31-2025 11:45 PM
Hello,
We have got a new requirement. Earlier the users were sending Soap request and our existing app was processing the soap request and then returning a soap response. We now want to do this using NiFi. We want users to be still sending the soap request and we will receive it in NiFi and then process it and return back a Soap response. Is there any way I can do this in NiFi?
Created 09-16-2025 11:51 AM
Then you'll want to build your dataflow around the HandleHTTPRequest and HandleHTTPResponse processors. You build your processing between those two processors or maybe you have multiple HandleHTTPResponse processors to control the response to the request based on the outcome of your processing.
Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.
Thank you,
Matt
Created 09-03-2025 01:17 PM
@AlokKumar
I am not 100% clear on yoru use case. NiFi can interface with the Soap API using the invokeHTTP processor, but I am not clear on what you men by sending soap request to NiFi to be processed and returned?
Can you provide more detail?
Maybe you can use HandleHTTPRequest in NiFi to receive yoru request, pass that to an invokeHTTP processor to interact with the Soap API and get a response which is sent to the the HandleHTTPResponse processor that responds to the original request.
For more on the invokeHTTP interfacing with Soap API, here is a possible useful post:
https://stackoverflow.com/questions/49457764/nifi-how-to-use-invokehttp-processor-with-soap
Apparently someone also created a soap processor you could try:
https://github.com/apsaltis/nifi-soap
Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.
Thank you,
Matt
Created 09-16-2025 09:07 AM
We want to receive the soap request then do some processing and return a soap response.
So we are a host or provider for that Soap Api.
Created 09-16-2025 11:51 AM
Then you'll want to build your dataflow around the HandleHTTPRequest and HandleHTTPResponse processors. You build your processing between those two processors or maybe you have multiple HandleHTTPResponse processors to control the response to the request based on the outcome of your processing.
Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.
Thank you,
Matt