Webservices: Best choise?

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Webservices: Best choise?

Postby Jesmiatka » Thu Feb 14, 2008 1:56 pm

Hi guys!

I've been watching around and playing with the webservice possiblities i found, KSOAP and creating my own SOAP message. Now is my question, which one do you guys use or prefer?
I prefer using the handmade version, since you parse the result with the XML parser and make a list that way with all the returns while KSOAP doesn't handle objects returned that well. As far as I know you get 1 big string back and you still need to parse it after if you want to with KSOAP.
Jesmiatka
Senior Developer
Senior Developer
 
Posts: 164
Joined: Mon Feb 04, 2008 3:37 pm
Location: Netherlands

Top

vamsi- working on web services

Postby gvkreddyvamsi » Fri Feb 15, 2008 5:34 am

HI,

Iam also working on web services.

Do u have any idea regards this.


1. Need to create an example service which return some XML data.
2. Accessing that service from mobile and return XML data on screen.

plz if any idea..

by
vamsi
gvkreddyvamsi
Developer
Developer
 
Posts: 43
Joined: Mon Jan 21, 2008 5:10 am
Location: INDIA

Postby Jesmiatka » Fri Feb 15, 2008 8:44 am

Hi,

you should try to search on the internet for XFire and Maven for creating a webservice.

XFire handles that your POJO's can become webservices.
Maven helps you with making a proper project lay-out. This includes giving you all the neccesary files and directories.

For calling the webservice in your Android app you have different options, which 2 of them are the earlier mentioned ones.
KSOAP -> http://groups.google.com/group/android- ... 7d612a6b5/
XML Parser -> Google search: Android Webservice SOAP XML Parser

Sorry that I can't point any direct links for you, but I don't have any tutorials of these since I still know how to work with them :oops:
Jesmiatka
Senior Developer
Senior Developer
 
Posts: 164
Joined: Mon Feb 04, 2008 3:37 pm
Location: Netherlands

Top

Return to General

Who is online

Users browsing this forum: No registered users and 6 guests