HI
i am new to android. i want to use ksoap2 to connect to web service.Can anyone give me links to a good sample application code.
it will be of great help to me.
thanks in advance
Using kSoap2 is really best thing when your getting SOAP response.
Here are links which can help you to use kSoap2:-
Overview About It.
About using kSoap2
Receiving Response as Complex Type.
Please visit codereview.stackexchange.com thread of mine where I placed the code using kSoap2 Link
Related
I wish to know about how to call webservices in android i had done a lot of serach google and have read several tutorilals but was not able to understand much and manipulate, can anyone suggst any good Tutorial, or provide any Pdf file or any book related to web services so that i can understand it.plz provide easy step by step tutorial for beginners.
Some resources are enlisted below.
SOAP webservices: Example using kSOAP2
http://www.helloandroid.com/tutorials/using-ksoap2-android-and-parsing-output-data
JSON webservices: Example with 4 different parsers
https://github.com/martinadamek/json-android-compare
I have create an web service in asp.net.
now i want to call that web service in android.
Please Help me.
I need a correct code with the little bit of description so that I can understand the code.
Thanks in advance
First of all, add ksoap to your project.
And then you just need to follow this
I was looking for the same resource, and I used ksoap. It works like a charm. I recommend you to use it.
Please let me know if you have more doubts, I'll be glad to help you.
Thanks.
If it is a SOAP web service you probably want to use ksoap2-android. There is lots of links and documentation on the site as well as a mailinglist on which myself and other try to help out.
hi im quite new to android development and am coming from the world of GWT and Remote procedure calls to communicate with a server.
Now i am looking for a way to realize calls on a server over the internet via my android app.
is there a pretty way to realize this?
thanks in advance
Edit: Okay maybe I put my question wrong. I am just looking for a way to send a class object from my server via an appropriate protocol over the internet, so i can use it in my app
can someone please help me?
You can try to use http-dispatch. It is the adapted gwt-dispatch framework which can be used on Android platform. Http-dispatch uses default binary serialization so it works from the box for many types of objects. Currently it is in alpha but you can try http://code.google.com/p/http-dispatch/
provide any related links.
If yes it's fine. If NO why? suggest me.
Not sure what exactly you mean. SOAP UI itself is a windows application. Android of course can communicate with a server using SOAP messages.
I don't want to be rude, but spending a bit more time on the question would help others to be motivated to answer as well make it easier to find the answer you are looking for.
can anybody give example of rest webservice in android
Janusz is correct, but if you want a good intro into how Google envisions REST being used in Android see this presentation. When you're done follow alexanderblom's link on this question.