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
3
votes
4 answers

KSOAP never timeout

I'm using ksoap2 2.5.4 (on Android 2.2) which supports timeout. I'm using Apache 2.2.16 to handle my requests. Everything works fine, but when I shutdown my Apache (or disconnect remote PC on which Apache is running) the call never times out. I'm…
Warlock
  • 2,481
  • 4
  • 31
  • 45
3
votes
0 answers

How to pass Array Parameters in Soap Request

Issue get due to could not pass correct String[] parameters in Soap Request as require in .Net Webservice public void SoapKsop2_Api_Call(){ SoapObject request = new SoapObject(namespace, methodName); request.addProperty("ProcName",…
Ankitkumar Makwana
  • 3,475
  • 3
  • 19
  • 45
3
votes
2 answers

is there any tutorial exist for calling web service in android through ksoap 2.5.4?

friends, i want to call webservice using ksoap 2.5.4(or latest) library any one guide me whats is the procedure of using it or any link of tutorial? and one more thing is there request timeout related implementation exists in it? any help would be…
UMAR-MOBITSOLUTIONS
  • 77,236
  • 95
  • 209
  • 278
3
votes
2 answers

KSoap2 + Android + .net Ws = Null

i'm having some issues using Ksoap2 in an android project while conecting to a .net Webservice. As long as i call the Ws witouth parameters everything works just fine, but when i try to add parameters, the servers never gets them. here's my…
Diego Ulloa
  • 111
  • 1
  • 3
  • 5
3
votes
1 answer

OutofMemory parsing SOAP using wsdl2code

I have generated a Soap client from wsdl2code , that used XMLPullParser to parse the response. I am getting a 30 Mb file as response, and OutofMemory exception while parsing. What is a best way to avoid this exception, I have already downloaded the…
Nibha Jain
  • 7,742
  • 11
  • 47
  • 71
3
votes
2 answers

How to trace/debug this error SOAP [message:protected] => looks like we got no XML document

The solution doesn't work for me from other links. I am consuming web services from android using Ksoap2. Here is my problem I am getting this error. Here are my server details HTTP/1.1 500 Internal Server Error Server: nginx Content-Type:…
Shubham AgaRwal
  • 4,355
  • 8
  • 41
  • 62
3
votes
2 answers

Passing XML(DataSet) as Parameter ksoap2 android

i am trying to send XML requst to webservice using ksop2 but it is not workig my web service request format is
Mahendra
  • 323
  • 2
  • 16
3
votes
1 answer

How to make the SOAP request

I am making a SOAP request in Android. What exactly I want to achieve is:
Rishabh Srivastava
  • 3,683
  • 2
  • 30
  • 58
3
votes
1 answer

Android : Ksoap2 SoapFault - faultcode: 'soap-env:Server' faultstring: 'Processing Error. More details in WS Error Log'

I am using KSoap2 to access SAP web service. below is my code package com.example.getcustomerwsdl; public class GetCustomerActivity extends Activity { static final int CONNECTING_PROGRESS_DIALOG = 0; private static final String TAG =…
Rana Osama
  • 1,313
  • 2
  • 17
  • 27
3
votes
2 answers

KSoap HTTP 500 Error

I am working on android project and I am trying to implement KSoap library. I have created a C# Console application that is hosting a C# WCF soap service and I am trying to get android to talk to the soap service. Below is my C# WCF Service.…
Boardy
  • 35,417
  • 104
  • 256
  • 447
3
votes
1 answer

Soap web service is no accessible from android emulator?

Hi I am consuming a soap web service from my android application, I was able to get the response from my desktop browser where as it is not working in android emulator's browser and also in my application which runs on the emulator.
Arun Paarthi
  • 633
  • 7
  • 23
3
votes
3 answers

Android AsyncTask SoapObject Request Issue

I want to use .net web service in my android app. I send request to web service by using asynctask. But request doesn't take value properly. I used this structure in many android apps and I never got error like this. What is the problem? I have…
3
votes
1 answer

Android-Magento- How to add product to cart using ksop2

I am building android application using soap api in magento which has ability to sell products on mobile. I am using ksoap2 library file. But problem is that i am not able to add product to cart using function shoppingCartProductAdd. Its gives error…
Karthik
  • 53
  • 5
3
votes
2 answers

XmlPullParserException: expected: START_TAG <...definitions

This is the WSDL I created for php (Yii) web service call to connect to android. But I get 10-19 11:17:36.068: W/System.err(11165): org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope…
Cipo
  • 161
  • 2
  • 14
3
votes
1 answer

getting Respose Header from webservice in android using Ksoap2

My webservice is in .net and I have successfully get data from Soap Response using KSOAP2 in android. I want to get Response Header and some details from the header , Can any one help how to to get Response header using KSOAP2?
Roshni
  • 31
  • 3