Support Questions

Find answers, ask questions, and share your expertise

HandleHttpRequest to HandleHttpResponse

New Contributor

hi, I have a project with nifi(1.8.0) HandleHttpRequest & HandleHttpResponse, I have two Question and can't solve it,

1. HandleHttpResponse body Content-type, how to set it

2.after get request data(the data is a array, each element is a object, such as:{'data':[{'id':1,'id':2}]} ), I want to change it, and make a soap request. how to change json to xml.

help me! thanks...

for the better way, share you idea with picture or xml template. thanks......


You need to give an attribute to the response object by clicking to + sign. The processor must be stopped to add an attribute.


Then response is

HTTP/1.1 200 OK
Date: Tue, 26 Feb 2019 13:27:12 GMT
Content-Type: xml
Transfer-Encoding: chunked
Server: Jetty(9.4.3.v20170317)

You may also look at another anwser here

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.