Re: How to Use JSON Objects in a Web Service

2008-12-17 Thread Jan Freitag
Hi, do you have any idea how to implement a web services with the gears request and the resposne in JSON? @Keith: Do you have any idea? You wrote that you know how to do that . Thanks, JF Am 12.12.2008 um 17:57 schrieb Jan Freitag: Hi, I want to write the web service with plain Axis2, b

Re: How to Use JSON Objects in a Web Service

2008-12-12 Thread Jan Freitag
Hi, I want to write the web service with plain Axis2, but I'm open for other solutions. Here is an example request and response from the geolocation api: Gears Request { "version": "1.1.0", "host": "maps.google.com", "access_token": "2:k7j3G6LaL6u_lafw:4iXOeOpTh1glSXe", "home_mobi

Re: How to Use JSON Objects in a Web Service

2008-12-12 Thread keith chapman
I'm not familiar with the Geolocation API. Could you post a sample request and response message (or JSON objects) for this scenario. No you do not need to start from WSDL. you could use Java code if you wanna use plain Axis2 or you could alternatively use the WSO2 Mashup Server [1] and write your

Re: How to Use JSON Objects in a Web Service

2008-12-12 Thread Jan Freitag
Hi, thank you for the answer. I've seen your blog before, but I don't know how to start. Should I start to implement my web service (with java) or should i write the wsdl file? I don't know where i can configure the rquest format for the JSOn object. The Geolocation Api tells me how the J

Re: How to Use JSON Objects in a Web Service

2008-12-12 Thread keith chapman
These links might help you. [1] and [2]. Thanks, Keith. [1] http://www.keith-chapman.org/2008/09/enabling-json-in-apache-axis2.html [2] http://www.keith-chapman.org/2008/09/invoking-mashups-using-json.html On Fri, Dec 12, 2008 at 5:27 PM, Jan Freitag wrote: > Hi, > > I'm trying to implement a

How to Use JSON Objects in a Web Service

2008-12-12 Thread Jan Freitag
Hi, I'm trying to implement a Web Service that gets as Request JSON Objects ( I try to write my own Location Proivder Service for the Google Gears Geolocation API). I want to write these JSOn Objects on a HTML page to display them and I want to create a response to the JSOn Request that is also a