Glad it worked for you! On Wed, Aug 24, 2016 at 8:10 PM Andrew Psaltis <psaltis.and...@gmail.com> wrote:
> Hello, > I have written a SOAP processor [1] that you are free to use. It has gotten > a bit of testing under it's belt, however, it can always use more. I am > totally open to fixing issues you may find and/or accepting PR's. If it > makes enough sense and is complete enough I have no problem contributing > it. > > Thanks, > Andrew > > [1] https://github.com/apsaltis/nifi-soap > > On Wed, Aug 24, 2016 at 7:40 PM, Jeff <jtsw...@gmail.com> wrote: > > > Hello, > > > > With InvokeHTTP, you can add dynamic properties, which will be sent in > the > > request as headers. You can use dynamic properties to set values for the > > Content-Type and SOAPAction headers, just use the header names for the > > names of the dynamic properties. InvokeHTTP lets you control the HTTP > > method, so you can set that to POST. The remaining step would be to get > > the content of request.xml to be sent to the InvokeHTTP as a flowfile. > One > > way to do this is to use a GetFile processor to fetch requeset.xml from > > some location on the filesystem, and pass the success relationship of > > GetFile to InvokeHTTP. > > > > On Wed, Aug 24, 2016 at 7:06 PM mliem90 <matt.l...@gmail.com> wrote: > > > > > 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. > > > > > > > > > -- > Thanks, > Andrew > > Subscribe to my book: Streaming Data <http://manning.com/psaltis> > <https://www.linkedin.com/pub/andrew-psaltis/1/17b/306> > twiiter: @itmdata <http://twitter.com/intent/user?screen_name=itmdata> >