Re: [Resteasy-users] Help on RESTEASY

2013-12-19 Thread ignou_mca
Hi William, Thanks for your response, Can we use atom feed in this scenario? If yes if any one can provide some sample that will be great help. Thanks Ignou > Hi Ignou, > In this case I believe you will have to create the XML manually in the jax-rs > resource method body and return it a

Re: [Resteasy-users] Help on RESTEASY

2013-12-19 Thread William Antônio Siqueira
Hi Ignou, In this case I believe you will have to create the XML manually in the jax-rs resource method body and return it as String, or you can manage to do this using a MessageBodyWriter/Reader. However, I think someone else might have some better alternative to achieve this -- *William Antôni

Re: [Resteasy-users] Help on RESTEASY

2013-12-19 Thread ignou_mca
Hi william, Thanks for your response, Sorry for missing out the application context name from the URI but my main question was I don't want to create the Details bean but want the response of products,accounts and customers in GET http://localhost:8080/application_context/details . Not sure if

Re: [Resteasy-users] Help on RESTEASY

2013-12-19 Thread William Antônio Siqueira
That's weird you have to bind your resources URI to the root URL. Usually we also have the application context(sometimes also the rest context) before the resource URI: http://localhost:8080/{APP_CONTEXT}/products http://localhost:8080/{APP_CONTEXT}/accounts http://localhost:8080/{APP_CONTEXT}/cus