views:

413

answers:

2

I have a ado.net data service created using VS 2008 sp 1 that is hosted that I want to consume via HTTP and JSON from Android 2.1? Does anyone have sample code on how to do CRUD operations easily do this? I heard Restlet makes this very easy but can't seem to find sample Android code on doing this. If someone can post a tutorial with some actual code that would be greatly appreciated.

+1  A: 

here is a good link..

http://composedcrap.blogspot.com/2009/08/connecting-to-net-web-service-from.html

It uses ksoap2 API

http://www.tuxpan.com/android-soap/android-ksoap2-build.zip

another link from right here on SO...

http://stackoverflow.com/questions/1052300/how-to-call-a-net-webservice-from-android-using-ksoap2

And here is a link for Android to WCF....

http://stackoverflow.com/questions/1949814/cant-connect-to-wcf-service-on-android

For a RESTful WCF service, here is a good tutorial...

http://mypetprojects.blogspot.com/2009/05/communication-between-wcf-service-and.html

Eclipsed4utoo
These samples show examples with SOAP web service. Do you know any links for consuming RESTful ADO.net Data services using the JSON protocol?
Zap
Added another link to the bottom of the post.
Eclipsed4utoo
A: 

I found another link: http://wiki.restlet.org/docs_2.0/13-restlet/28-restlet/287-restlet/288-restlet.html

Seems usefull.

(+1 for Eclipsed4utoo for all the links!)

Rhapsody