You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jan Freitag <Ja...@gmx.de> on 2009/01/09 16:07:24 UTC

Getting JSON Objects out of the request

Hi,

I'm trying to write a Web Service that gets aJSON Request and  
Responses in JSON as well. The Reuqest comes from the Google Gears  
Geolocation function getCurrentPosition. I can set a Paraameter in  
this function to use not Googles LocatioN proivder but my own, that is  
a web service The Services gets callde like this

gears.getCurréntPosition(locationProviderURL: http://localhost:8080/axis2/services/MyLocationService/getLocation) 
;

My question is ohw does my function getLocation in my Web Service  
"MyLocationService" gets the Request JSON Objects?? The reqeust from  
the gears function is send via HTTP POST.

And another question. Do i have to configure anything if i want to  
call my web service only by this URL http://localhost:8080/axis2/services/MyLocationService/getLocation?


Thanks

JF