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 <atgr...@gmail.com> wrote: > 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()); > > > --Regards, > atg roxx > > > > > On Mon, Mar 26, 2012 at 10:58 AM, atg roxx <atgr...@gmail.com> wrote: > > > 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 <atgr...@gmail.com> 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 using cxfrs for this, setting the method type to POST, setting > >> some values to be passed in headers > >> using CxfConstants.CAMEL_CXF_RS_USING_HTTP_API > >> > >> but I am not getting how to pass the POST parameters as body. > >> > >> Is there any way to do that? > >> > >> --Regards, > >> atg roxx > >> > > > > >