Hello,

I am looking to do a SOAP Web service call and was told invokeHTTP may be
able to work. Wonder how I would be able to do this. For example, using curl
I could invoke SOAP like the below:

curl -X POST -H "Content-Type: text/xml" -H "SOAPAction:
"http://www.webserviceX.NET/GetCitiesByCountry""; --data-binary @request.xml
http://www.webservicex.net/globalweather.asmx

the request.xml:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope";
xmlns:web="http://www.webserviceX.NET";>
   <soap:Header/>
   <soap:Body>
      <web:GetCitiesByCountry>
         
         <web:CountryName>CANADA</web:CountryName>
      </web:GetCitiesByCountry>
   </soap:Body>
</soap:Envelope>

I Appreciate the help! 



--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/SOAP-Service-through-InvokeHTTP-tp13129.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Reply via email to