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... but I couldn't..
My nifi flow is (pic-2).
(pic-2)
![109376-1560772981968.png 109376-1560772981968.png](https://community.cloudera.com/t5/image/serverpage/image-id/13558i7D7FE734B8C4F329/image-size/medium?v=v2&px=400)
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.
![109377-1560773725090.png 109377-1560773725090.png](https://community.cloudera.com/t5/image/serverpage/image-id/13559i66A1B2F4FACFC2DF/image-size/medium?v=v2&px=400)
![109401-1560773910359.png 109401-1560773910359.png](https://community.cloudera.com/t5/image/serverpage/image-id/13560iF24DA4FD30DB8531/image-size/medium?v=v2&px=400)
I start the processors. My response is my request in Retry queued.
Please let me know Where I am wrong. Thank you,
![1560773669335.png 1560773669335.png](https://community.cloudera.com/t5/image/serverpage/image-id/6665i6D7587EEEDC1473A/image-size/large?v=1.0&px=999)