I have been going through the Nightlies for using Axis2 as a JSON service. Is it possible to expose my SOAP API as a JSON/AJAX api?
I would to be able to send the json request from within an html page, i.e.: http://www.helloworld.com/api?appid=bl41629&method=com.program.search&keyword=sample&format=json I would also like to be able to retrieve an ajax api written in JSON that has all of the methods and objects that are exposed in my soap services. i.e.: I understand that Axis2 1.2 will respond in the type of message that requested the service. My only concern is with a GET call how will Axis2 distinguish between REST and JSON? Would I have to create a service that takes a Parameter and if it is JSON set the MESSAGE_TYPE to JSON? Or is Axis2 1.2 going to work similar to the REST in that you have a /json/[service] much like the /rest/[service]? I know I posted a similar message but just wanted to clarify what I am trying to accomplish, and I appreciate any responses I receive. Benjamin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
