Member since
06-17-2019
1
Post
0
Kudos Received
0
Solutions
06-17-2019
01:07 PM
I am new to Apache NiFi. I can get a data from wcf service with SOAP UI. Endpoint : http://localhost/BtsWcf/TaskiWcf.svc Action: http://tempuri.org/ITaskiWcf/GetBillsForSubscriber I wanna use it in nifi. I search some documents but I couldn't find a solution. like https://community.hortonworks.com/questions/64646/get-soap-data-from-soap-webservice-using-apache-ni.html but I couldn't.. My nifi flow is (pic-2). (pic-2) GenerateFlowFile create a null queued. I use replaceText for my soap request. It is in Replacement Value : <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:bts="http://schemas.datacontract.org/2004/07/BtsWcf.Model"> <soapenv:Header/> <soapenv:Body> <tem:GetBillsForSubscriber> <!--Optional:--> <tem:getBillsForSubscriberReq> <!--Optional:--> <bts:CoBotRequestType>?</bts:CoBotRequestType> <!--Optional:--> <bts:Password>?</bts:Password> <!--Optional:--> <bts:RelatedIdentityNumber>?</bts:RelatedIdentityNumber> <!--Optional:--> <bts:RemoteIP>?</bts:RemoteIP> <!--Optional:--> <bts:Username>?</bts:Username> </tem:getBillsForSubscriberReq> </tem:GetBillsForSubscriber> </soapenv:Body> </soapenv:Envelope> It's mock service, so request isn't important for service. Here is my question.. How can I use invokeHttp processor. I just change the properties in InvokeHttp processor. HTTP Method : POST Remote URL : my endpoint. Content-Type : text/xml; charset=utf-8 My invokeHttp processor is. I start the processors. My response is my request in Retry queued. Please let me know Where I am wrong. Thank you,
... View more
Labels:
- Labels:
-
Apache NiFi