Re: Passing post parameter as body in the cxfrs call.

2012-03-26 Thread Christian Müller
Good to know you found a solution which works for you. I want to respond to your mail later, because I didn't understood what you was trying to do. Now, I understood... ;-) Best, Christian On Mon, Mar 26, 2012 at 6:39 PM, atg roxx wrote: > Hi Team, > > I got the solution for ti. > > its simple

Re: Passing post parameter as body in the cxfrs call.

2012-03-26 Thread atg roxx
Hi Team, I got the solution for ti. its simple we have to exchange.getIn().setHeader(Exchange.HTTP_METHOD, "POST"); exchange.getIn().setHeader(Exchange.CONTENT_TYPE ,"application/x-www-form-urlencoded"); exchange.getOut().setBody("Xml="+ exchange.getIn().getBody()); --Regard

Re: Passing post parameter as body in the cxfrs call.

2012-03-26 Thread atg roxx
HI Team, Could anyone please reply to this. Many thanks in advance. --cheers, atg roxx On Fri, Mar 23, 2012 at 5:05 PM, atg roxx wrote: > Hi Team, > > I have a unusually requirement. > > I have to send a request xml to a restful service as as body generated > from POST parameter. > > I am u