Re: Camel CXFRS endpoint unable to produce JSON

2013-08-19 Thread ajaysam
=0.9,*/*;q=0.8" > > No JSON is requested > > Cheers, Sergey > > On 05/07/13 21:45, ajaysam wrote: > > > log file is attached > > > > > > > > > > On Fri, Jul 5, 2013 at 12:59 PM, Raul Kripalani [via Camel] < > > [hidden email] <ht

Re: Camel CXFRS endpoint unable to produce JSON

2013-07-05 Thread ajaysam
ripalani > http://blog.raulkr.net | twitter: @raulvk > > On Fri, Jul 5, 2013 at 5:18 PM, ajaysam <[hidden > email]<http://user/SendEmail.jtp?type=node&node=5735205&i=0>> > wrote: > > > Attached are two projects - both are maven projects > > > >

Re: Camel CXFRS endpoint unable to produce JSON

2013-07-05 Thread ajaysam
gt; wrote: > Sure, this will help to digging into the issue. > > Best, > Christian > > Sent from a mobile device > Am 02.07.2013 20:19 schrieb "ajaysam" <[hidden > email]<http://user/SendEmail.jtp?type=node&node=5735092&i=0>>: > > > >

Re: Camel CXFRS endpoint unable to produce JSON

2013-07-02 Thread ajaysam
he custom code you may > have and see if "application/xml" is 'hiding somewhere' ? Can you do a > sanity check and confirm it is this endpoint which is being invoked > after all ? > Any chance you can attach a working route (test) to JIRA ? > > Chee

Re: Camel CXFRS endpoint unable to produce JSON

2013-07-01 Thread ajaysam
@Produces("application/xml") > > and do > > curl -HAccept:application/xml ... > > then it works ? > > Sergey > > On 01/07/13 16:40, ajaysam wrote: > > > I am sending the request through curl - it is setting Accept header as > shown > > below

Re: Camel CXFRS endpoint unable to produce JSON

2013-07-01 Thread ajaysam
I am sending the request through curl - it is setting Accept header as shown below curl -HAccept:application/json http://pocman2.nsp.stf.bms.com:8080/CXF_REST-0.0.1-SNAPSHOT/webservices/Hello/SilpaY Hello is the path to refer to resource class We are stuck in this project and any help will be a

Camel CXFRS endpoint unable to produce JSON

2013-06-28 Thread ajaysam
I have a resource class with method defined like this @Produces({"application/json"}) public Response getMessage( @PathParam("referenceTypeName") String name, @QueryParam("") ReferenceDataRequest query) { return null } Then i have applicationcontext.xml for cam

Setting SOAPHeaders for CXF Endpoint using Processor

2013-06-04 Thread ajaysam
I am having problems while setting SOAPHeader using camel processor the main objective of this flow is expose REST endpoint, get the REST request, convert it to SOAP message, set SOAP headers and make SOAP request, after getting the response, convert it back to REST json. And I am facing problem is