I think still there are no development guides available for MessageBuilders and MessageFormatters as this concept is added just recently. You can get some sort of an idea by looking at the current MessageBuilders and MessageFormatters available in the json module. This may help you...
http://wso2.org/library/768 I think this GET method support is something useful to have in Axis2. I'll try to add it shortly. But if you are willing to implement your own stuff, go ahead and do it. Thanks, ~Isuru On 3/28/07, Benjamin Bostow <[EMAIL PROTECTED]> wrote:
Thank you for your input. Is there any development guides on creating a custom messageBuilder and MessageFormater for Axis2? Thank You, Benjamin > -------- Original Message -------- > Subject: Re: JSON as a server in Axis 1.2 > From: "Isuru Suriarachchi" <[EMAIL PROTECTED]> > Date: Tue, March 27, 2007 10:26 pm > To: [email protected] > > Hi Benjamin, > > Currently you can't send JSON messages (as JSON Strings) through GET method to Axis2. It supports only POST. But definitely it is possible to implement this support just by writing a separate MessageBuilder. And also we can send JSON messages through GET by writing a separate MessageFormatter. > > Thanks, > ~Isuru > > On 3/28/07, Benjamin Bostow <[EMAIL PROTECTED]> wrote: > > 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] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
