I am using axis 1(which comes as built-in in eclipse 3.4) fro my current running web service.Now as per new requirement I want the response this web service in JSON.Can anyone help me out that how to solve this.Currently the response is in xml format.
Thanks In Advance.
Author and all-around good cowpoke
Joined: Mar 22, 2000
AXIS 1 only does SOAP so XML is what you get. Incidently AXIS 1 is really really outdated.
RESTful services easily return JSON, XML or any type of resource. Search for the jersey project or restlet to find some RESTful tools.
I'm assuming your client for JSON is a web page in a browser, right?