Re: Http Component Post Parameters

2015-03-23 Thread Willem Jiang
was able to successfully call the service using a standard > java.net.URLConnection but I would prefer to make the call using Camel. > > Regards, John > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Http-Component-Post-Parameters-tp5764464p5764641.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: Http Component Post Parameters

2015-03-23 Thread pilgrim08
but I would prefer to make the call using Camel. Regards, John -- View this message in context: http://camel.465427.n5.nabble.com/Http-Component-Post-Parameters-tp5764464p5764641.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Http Component Post Parameters

2015-03-23 Thread Willem Jiang
ue" > > + "&authMethod=Basic&authUsername=&authPassword=" > + "&httpClient.soTimeout=5000") > .to("file:{{sf.archive.dir}}?fileName=sds-response.xml") > .end(); > > Regards, John > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Http-Component-Post-Parameters-tp5764464p5764480.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: Http Component Post Parameters

2015-03-20 Thread pilgrim08
amp;httpClient.soTimeout=5000") .to("file:{{sf.archive.dir}}?fileName=sds-response.xml") .end(); Regards, John -- View this message in context: http://camel.465427.n5.nabble.com/Http-Component-Post-Parameters-tp5764464p5764480.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Http Component Post Parameters

2015-03-20 Thread pilgrim08
.log("Completed web service call to SDS for file ${file:name}.").end();Regards, John -- View this message in context: http://camel.465427.n5.nabble.com/Http-Component-Post-Parameters-tp5764464p5764478.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Http Component Post Parameters

2015-03-19 Thread Willem Jiang
Hi, When you use the content-type of "application/x-www-form-urlencoded”, you are supposed to send the parameters in message body instead of using URL options. You can find more information here[1] Please put paramters into the message body by using setBody DSL  setBody("serviceType=getNextIDF

Http Component Post Parameters

2015-03-19 Thread Alden, John
Hi all, I'm having some trouble making a REST service call with POST parameters. I saw a similar post but I didn't understand the solution and I need some more direction. http://camel.465427.n5.nabble.com/Http-Component-Sending-Post-Parameters-td5740321.html#a5740409 The following is my route