A lightweight and efficient SOAP engine suitable for J2ME or constrained java devices.
Questions tagged [ksoap2]
1195 questions
-1
votes
1 answer
Equivalent of ClientCredentials in WCF connection from a C# WinForm?
What's the equivalent of ClientCredentials in WCF connection from a C# WinForm application to an HTTP request in Android Java or Swift?
ServicePointManager.ServerCertificateValidationCallback += delegate { return true; };
SvcClient objSvcClient =…
-1
votes
1 answer
Ksoap2 - sending a body with no nested tags
I need to send a soap-request that looks like this:
Right now there there are…

deimos1988
- 5,896
- 7
- 41
- 57
-1
votes
1 answer
Getting exception: java.net.SocketTimeoutException
Earlier I wrote a code to consume web services from android device on android studio.
Web Service Link -
http://202.54.216.49/logs/test.asmx
First I used the code to use the calculation method and it worked perfectly fine. Now I am using the same…

Abhimanyu
- 41
- 1
- 7
-1
votes
1 answer
Error:org.ksoap2.Soapfault=null
There is no error in Web service
But there is an error
Error:org.ksoap2.Soapfault=null
pls help

user479352
- 53
- 1
- 5
-1
votes
2 answers
Android 2.1 and Ksoap2-Android-assembly-2.4 -- SoapFault Error
I am very new to Android and ksoap2 development. I have been searching on the forums for an answer to my error and still have not found a fix. Hopefully someone will be able to figure how to fix the error.
I am calling a Webservice with 10…

Tom
- 1
- 2
- 2
-1
votes
1 answer
XmlPullParserException: unexpected type (position:END_DOCUMENT null@1:1 in java.io.InputStreamReader) in Android application using KSOAP2 library
This is my first question here, I have been searching for solutions, but all that I have found was similar situations or questions without answers. So I have a simple test with android that consumes a local webservice that delivers the following…

Werich Ataliba
- 1
- 2
-1
votes
1 answer
Accessing complexType element (Android ksoap2 WCF)
On my Web Service, there is a method that I am trying to access (CheckCredentials), which requires a class (or maybe an object).
I am trying to access a complexType element in the web service and I am now at the point where I am getting rather…

Chosen1
- 279
- 4
- 18
-1
votes
1 answer
unable to find the latest jar of ksoap2
Where can I find the latest ksoap2 jar ?
https://code.google.com/archive/p/ksoap2-android/downloads -
The latest I see here is from 2010 (2.4).
May I know what is the correct way to achieve my objective? Any help would be greatly appreciated.

BVtp
- 2,308
- 2
- 29
- 68
-1
votes
2 answers
Android: How to use ksoap2-android?
I'm actually using a WebService from W3School for testing, and I have this method:
public static float getCelsius(int Fahrenheit)
{
String SOAP_ACTION = "http://www.w3schools.com/xml/FahrenheitToCelsius";
String METHOD_NAME =…

Julián
- 101
- 1
- 12
-1
votes
2 answers
Insert data using KSOAP2
I cannot send the data into the database table after click the save button. I had change soapEnvelope from Ver11 to Ver12. Below is my code:
private static String NAMESPACE = "http://10.64.13.22/AWS/";
private static String URL =…

angie1289
- 1
- 3
-1
votes
1 answer
How to parse return value form werbservice - ksoap2
I have ASP.NET webservice which return some values like this :
err﹕ CheckUsersResponse{CheckUsersResult=anyType{anyType=value1;
anyType=value2; anyType=value3; anyType=value4; anyType=value5;
anyType=value6; anyType=value7; anyType=value8; }; }
…

S.M_Emamian
- 17,005
- 37
- 135
- 254
-1
votes
1 answer
Android AsyncTask as NOT an Inner class : Weird NullPointerException
This question is reproduced from this question, the code given is a minimalistic example of the problem. In this example, we are consuming the temperature conversion SOAP web service of w3schools, using ksoap2 library:
The problem is that I get a…

Solace
- 8,612
- 22
- 95
- 183
-1
votes
1 answer
Create SOAP request header
I want to create SOAP request programatically having following structure by using the ksoap2-android-assembly-2.5.8-jar-with-dependencies.jar :

Prateek
- 306
- 4
- 17
-1
votes
1 answer
I want to send key-pair values in soap web Service using ksoap2 library in android
I want to send key-pair values in soap web Service using ksoap2 library in android. For this I used the below code
Hashtable hashtable = new Hashtable();
hashtable.put("is_report", false);
hashtable.put("r_how", 1);
request = new…

Remees M Syde
- 2,564
- 1
- 19
- 42
-1
votes
1 answer
Want to make my application run in background
Hi all i have an android application that uses broadcast receiver to receive sms. In my application i have used SOAP Library to send data of SMS as well as received phone number to sql server. Now i am able to send data to sql server easily until my…

user3387601
- 59
- 3
- 6