A lightweight and efficient SOAP engine suitable for J2ME or constrained java devices.
Questions tagged [ksoap2]
1195 questions
5
votes
2 answers
Parse KSoap2 response in android
Possible Duplicate:
Parsing ksoap2 response
So I managed to call a webservice using KSoap2 in android but I can't find a way to parse the response...
So here's what I receive from the…

Miguel Ribeiro
- 8,057
- 20
- 51
- 74
5
votes
1 answer
KSoap-Android\JCIFS sends empty HTTP post
I created an NTLM authenticating SOAP client based on KSOAP-Android and JCIFS. The implementation looks something like this:
public class NtlmServiceConnection implements ServiceConnection
{
public NtlmServiceConnection(final SoapConnectionInfo…

Adam Driscoll
- 9,395
- 9
- 61
- 104
5
votes
3 answers
ksoap2 casting getResponse()
Calling a .net SOAP1.1 web service from android using ksoap2 lib I met a problem of casting response to a custom object. For instance the code below is called correct after httpTransport.call(soapAction, soapEnvelope); and have data inside. But I…

Maxim
- 4,152
- 8
- 50
- 77
5
votes
2 answers
Ksoap2 with proguard
I have an application that is using ksoap2 library, everything working fine but when exporting application from Eclipse, it shows this
Proguard returned with error code 1. See console
Note: there were 4 duplicate class definitions.
Warning: library…

xmen
- 1,947
- 2
- 25
- 47
5
votes
2 answers
HttpTransportSe.call() method taking up to a minute for web service call
I am calling a web service from my Android application. I have many different calls to this service all through the application and every one of them is returning data in less than a second, except for one. One of my calls can take up to a minute to…

anothershrubery
- 20,461
- 14
- 53
- 98
5
votes
4 answers
ksoap2 : java.lang.IllegalArgumentException: size <= 0 while making a http.call
I want to connect to a dot.net based Webservice with my Android 4.03 Device using Ksoap2.
My problem is when i call the soap request i get this exception:
11-16 08:35:08.649: W/System.err(6392): java.lang.IllegalArgumentException: size <= 0
11-16…

Lukas Jesenko
- 51
- 1
- 3
5
votes
1 answer
Cannot serialize dates with ksoap2
No matter what format I try, I can't send a date from my Android (Java) app to the .NET web service. I've tried sending it as a GregorianCalendar, a Date, a Calendar... Nothing works.
I get a "cannot be serialized" error as a runtime exception. I'm…

Eligos
- 1,104
- 1
- 11
- 26
5
votes
2 answers
android ksoap call xmlpullparser exception
I have used ksoap2 to call my SOAP service. It works fine in android2.2, but when the same code runs in android2.3.3 onwards it throws an exception in the following line.
http_transport_se.call(SOAP_ACTION, envelope);
The exception thrown, as…

JabezMMM
- 483
- 5
- 8
5
votes
4 answers
XMLPull Parser Exception when calling Magento api using SOAP from Android
I am trying to call magento api using Soap from android but I am getting XMLpullparser Exception.I am using ksoap library.I seached on google but i can't find any solution.Below is my code..
1 import java.io.IOException;
2 import…

krushnakant
- 431
- 9
- 21
5
votes
1 answer
soap 1.2 android Please supply a valid soap action
My .net webservice is apparently running soap 1.2 (by checking the .wsdl) and ive been trying to access the helloworld webservice for testing but i have encountered errors.
Im trying to do this via the emulator by the way.
So when I use soap 1.2…

Cory Tam
- 81
- 2
- 6
5
votes
3 answers
Removing i:type field in SOAP request generated by kSoap2 on Android
I already tried reading the internet about my issue, but I could not find the right information I need, so I try to explain my issue:
I am using kSoap2 to "talk" to a webservice over SOAP.
To generate my SOAP request I use the following code:
//…

Niels_D
- 51
- 1
- 4
4
votes
4 answers
Create SOAP request using KSOAP Android
I need to generate a soap request like this one.
SOAP-REQUEST
POST /TennisMasters/TennisMasters.Listener.asmx HTTP/1.1
Host: playinkstudio.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction:…

Waqas
- 4,411
- 6
- 27
- 31
4
votes
0 answers
ksoap2 on android failing to parse MOTM-encoded response
As of subject.
I run a grails web application, exposing a service as a web-service via the Axis2 plugin (it then makes use of Apache Axis2).
Everything's fine, except that Android running ksoap2 fails when processing http response.
The execption…

znpy
- 474
- 2
- 10
4
votes
2 answers
Web-service with KSOAP
I am working on a Currency Converter application, and I cannot get a proper output (I am getting a zero).
I am using the webservice from http://www.webservicex.net/ws/WSDetails.aspx?CATID=2&WSID=10.
The WSDL declares the function as:
…

Knaks
- 209
- 3
- 11
4
votes
1 answer
KSOAP2: How to use HttpsTransportSE?
I am developing a android app to communicate with an web service that requires an SSL connection. To do that, I want to use HttpsTransportSE, but I can't find tutorials about how to use that class.
I am trying to build a new instance, but I don't…

user959571
- 41
- 1
- 2