Questions tagged [android-ksoap2]

a lightweight and efficient SOAP client library for the Android platform

The ksoap2-android project provides a lightweight and efficient SOAP client library for the Android platform.

It is a fork of the kSOAP2 library that is tested mostly on the Android platform, but should also work on other platforms using Java libraries. It is still using Java 1.3 so should work fine on JavaME, Blackberry and so on.

ksoap2-android has been consistently enhanced and expanded with more features. It is actively maintained and we welcome bug fixes and contributions. Releases are done semi regularly with community contributions in the form of enhancements and more.

More information on the website and github repository and mailing list.

740 questions
4
votes
1 answer

How to access method from two classes which do not share an interface?

I am creating a java library that will access web services, but the library will be called in different platforms, so we are using ksoap2 and ksoap2-android to generate helper classes for the different platforms. The problem is that we then have…
Mike Hedman
  • 1,391
  • 1
  • 11
  • 30
4
votes
0 answers

How to sign SOAP Message used ksoap2 library whit certificate x509 on Android app?

How I can sign my SOAP Message (for example UserToken in Header) used ksoap2 library for SOAP message and certificate x509 on Android app? I can send this message:
TeMaH
  • 41
  • 1
4
votes
1 answer

How to parse Complex response with use of ksoap2 library in android

Hi all i am parsing following type of response with use of Ksoap2 library but not getting success to get result my request is like this:
user1414160
4
votes
4 answers

KSoap2 SoapObject Object Reference not set to an instance

I think this is a simple problem that others may be able to provide the missing link to. I have a Workflow wcf service that my .NET clients can communicate with properly. I have turned on tracing under the appfabric and can watch service calls…
GPGVM
  • 5,515
  • 10
  • 56
  • 97
4
votes
1 answer

Android SOAP IOException "BufferedInputStream is closed"

I am developing an Android application using SOAP webservices. When the response of the request is too long it gives me an IOException on line: androidHttpTransport.call(SOAP_ACTION, envelope); My code: try { SoapObject request = new…
Marta Rodriguez
  • 1,944
  • 2
  • 16
  • 30
4
votes
3 answers

Android - org.ksoap2.soapfault cannot be cast

I'm trying to access a Java Web Service from Android client, but it is showing me an error: "java.lang.classcastexception org.ksoap2.soapfault cannot be cast to org.ksoap2.serialization.soapobject" Can you help me? Here is my client web service…
JulToldo
  • 41
  • 1
  • 1
  • 2
4
votes
4 answers

Something wrong with import org.ksoap2.transport.AndroidHttpTransport;

i want to run a existing project.but when i imported the ksoap2-android-assembly-2.6.5-jar-with-dependencies.jar,the error occurred. import org.ksoap2.transport.AndroidHttpTransport; i can't find AndroidHttpTransport method in package…
Sunny
  • 101
  • 1
  • 5
4
votes
1 answer

Issue while using webservice to call some java application method which is using resource file

Issue while using webservice to call some java application method which is using resource file I have created one java application which contains following directory structure in my src folder of java.. Src/ Transcriber.java config.xml …
BhavikKama
  • 8,566
  • 12
  • 94
  • 164
4
votes
4 answers

Sending XML to a Web Service in Android

I want to send this as XML to my Web Service. How should I do that? xxxxxxxxxx 2009-09-09
Wajeeha
  • 51
  • 1
  • 4
4
votes
4 answers

KSoap2 Android Receive Array of Objects

I am trying to use a .NET webservice in my application where the service returns an array of objects as a response. This is the format of the response from the web-service.
Swayam
  • 16,294
  • 14
  • 64
  • 102
4
votes
3 answers

ksoap2 xmlPullParserException unterminated entity ref

I have a user email me yesterday that he is having a problem with my application so i started debugging with him and had him sent me the log of the phone and he is getting a XmlPullParserError when he makes a call to the server E/Message…
tyczj
  • 71,600
  • 54
  • 194
  • 296
3
votes
1 answer

Ksoap2 getPropertySafely return anyType{}

I use ksoap2 to communicate with webservice. but when websrvice give response like follow, ksoap2 's method getPropertySafely will return "anyType{}", My expect is return "" here is the xml response: java code: value =…
Hunk Deng
  • 61
  • 3
3
votes
3 answers

KSOAP2 Library...Error sending data to asmx webservice

I have an ASMX webservice setup on Microsoft Azure and I'm trying to send data to the webservice and receive output using an android application. For this purpose, I am using the KSOAP library. On the webservice, I'm checking if the strings are…
harsimranb
  • 2,231
  • 1
  • 35
  • 55
3
votes
1 answer

SOAP webservice call with header not working

I'm trying to call a SOAP webservice with credentials username and password, but it's giving an error, I tried in different ways but it's the same output, it's giving this error: //error expected: START_TAG…
M.Jamous
  • 41
  • 1
  • 2
3
votes
4 answers

AttributeError: 'NoneType' object has no attribute 'nodeValue'

I am using ksoap to communicate between an android app and the python server containing the following files posted. I am trying to retrieve all the values in the XML file posted. But i keep getting, AttributeError: 'NoneType' object has no attribute…
user918197
  • 1,129
  • 6
  • 17
  • 29