Published on WSO2 Oxygen Tank (http://wso2.org)

JSON Output from WSO2-Webservice needed

By JanS
Created 2008-04-15 02:27

Hi all,

we're currently evaluating a way to publish some plain Java-Services automatically as WebServices.

We gave WSF/Spring a try and it worked fine, giving proper SOAP-responses in almost no time.

BUT: We prefer by far having JSON-Output. Is this possible in any way? I've read about a module called DynamicResponseHandler and changing some settings in the axis2-config, but despite of what I do, when I call the URL in my browser it will always output XML.

I'd appreciate any comments/remarks! Thanks a lot!

 

(we're using TomCat 5.5 and don't reallly want to use the MashupServer)


Source URL:
http://wso2.org/forum/thread/3489