Click here to Skip to main content
15,892,746 members
Articles / Web Development / ASP.NET

How to send data from android app to asp.net web server using KSOAP

Rate me:
Please Sign up or sign in to vote.
1.00/5 (1 vote)
13 Nov 2012CPOL 12K  
I want to send data from the android app to the web server my code is as followsafter link the Ksoap.jar lib to my android app java build pathpackage com.ahmed.soapvideoservice;import org.ksoap2.SoapEnvelope;import org.ksoap2.serialization.PropertyInfo;import...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
21 Nov 2012AndroidVivek
use local address 127.0.0.1 which is reserved loop back addressand in response change Soap Primitive to Soap ObjectSoapPrimitive is use for getting a single string valueSoapObject for getting more than one value
Please Sign up or sign in to vote.
4 Dec 2012zohaib.qadar
Just Look at Ksoap2 Jar placed in android libs folder the logcat shows this error because enable to get class from the above location.Just rename this file to ksoap2.
Please Sign up or sign in to vote.
8 Apr 2013Qasimazam
Guys Here is a code, that 100% works. i find many solutions but all are crap. First of all if you are using WCF then you must use .net framework 3.5 otherwise it will not work.use AsyncTask java class for AsyncTasks, because networking programs never work in main...
Please Sign up or sign in to vote.
23 Mar 2014Member 10690710
Solution 3 is total waste of time code is not working

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Egypt Egypt
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions