Re: [Axis2] Trouble getting JSON response

2007-05-01 Thread Sanjiva Weerawarana
Thilina, it seems to me we should also support a more dynamic way to select the response format. Why not just support HTTP content negotiation? If the request has an Accept: header with a specific content type then we try to send in that type (subject to preference values etc. given in the Acc

Re: [Axis2] Trouble getting JSON response

2007-04-30 Thread Thilina Gunarathne
I'd like to return one of the following depending on the content type specified on the request: 1. Plain XML 2. XML wrapped in a SOAP envelope 3. JSON As mentioned by Sanjiva currently in the server side we use the content-type of the request message to determine the output message type provided

Re: [Axis2] Trouble getting JSON response

2007-04-30 Thread Lawrence Mandel
espond to axis-user@ws.apache.org To axis-user@ws.apache.org cc Subject Re: [Axis2] Trouble getting JSON response Lawrence Mandel wrote: > I've just picked up the latest Axis2 build (from 20070425) and am having > trouble getting JSON and SOAP responses from the sample Version se

Re: [Axis2] Trouble getting JSON response

2007-04-30 Thread Sanjiva Weerawarana
Lawrence Mandel wrote: I've just picked up the latest Axis2 build (from 20070425) and am having trouble getting JSON and SOAP responses from the sample Version service. Really I think the problem is I just don't understand if Axis2 can do what I'd like it to do. The online documentation and goo

[Axis2] Trouble getting JSON response

2007-04-25 Thread Lawrence Mandel
I've just picked up the latest Axis2 build (from 20070425) and am having trouble getting JSON and SOAP responses from the sample Version service. Really I think the problem is I just don't understand if Axis2 can do what I'd like it to do. The online documentation and googling for an answer (wh