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
2
votes
1 answer

Android kSOAP2 2.5.X is needed

I'm trying for more then 2 days to download the kSOAP2 for android with out success. Can any body here send me the jar file? thanks, Eyal.
eyal
  • 2,379
  • 7
  • 40
  • 54
2
votes
1 answer

KSOAP2 Marshal Array of Complex Objects

I would like to send an array of complex objects as a parameter to a .NET web service. The class I have is ksoap2 serializable. After I make the call, the SoapRequest property shows my array as AnyType. This gives a casting error because the…
cbuck12000
  • 461
  • 1
  • 8
  • 19
2
votes
2 answers

Complex Object hosting Array of Complex Objects to .NET Web Service

I am getting a "casting" error on a property of complex object that is sent to a .NET web service using KSOAP2 from an Android device. The property is an array of complex objects. The documentation on the internet has helped me send and receive…
cbuck12000
  • 461
  • 1
  • 8
  • 19
2
votes
4 answers

How to Upload Image to server using webservice in Android?

I have develop android app in which one UserProfile is there. I have send all details of user to server using Ksoap2. I also want to send image to server. But, i don't know how to send image to webservice using Ksoap2 in android. I have take image…
Urvashi
  • 439
  • 2
  • 6
  • 6
2
votes
2 answers

error in calling Web Service

I am not able to call aweb service even after adding kSOAP 2 library jar file. Source code : package com.example.web; import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.PropertyInfo; import…
Smitha
  • 6,110
  • 24
  • 90
  • 161
2
votes
1 answer

Error in deserializing body of request message for operation wcf in android studio

Below is my android code where i am trying to consume one SOAP web services which is .svc?WSDL But it is giving me the below ERROR(error is after this code) even though its working fine when I tested in SoapUI application. can anyone please help me…
2
votes
1 answer

How to send data to a Soap service?

The Soap service expects the following operation:
Ali_Waris
  • 1,944
  • 2
  • 28
  • 46
2
votes
1 answer

Sending the files (At least 11 files) from folder through web service to android app

I stuck in middle of this situation,Please help me out. My question is that I want to send files (Total 11 PDF Files) to android app using web service. I tried it with below code.Main Class from which web service is created public class…
Shashank_Itmaster
  • 2,465
  • 5
  • 30
  • 56
2
votes
2 answers

android ksoap2 java.lang.IllegalArgumentException: size <= 0

I am using ksoap2 Library to parse webservice URL : http://xx.xx.xx.xx/InquiryPenalty/InquiryPeernalty.svc NameSpace : http://tempuri.org/ SOAP_ACTION : http://tempuri.org/IInquiryPenalty/GetTraffics METHOD_NAME : 'gettraffic' That's My Code : …
Hossein Kurd
  • 3,184
  • 3
  • 41
  • 71
2
votes
2 answers

How to SOAP Parsing in Android?

Am new to this SOAP web service.This is my ksoap lib dependancy, repositories { maven { url 'https://oss.sonatype.org/content/repositories/ksoap2-android-releases/' } } dependencies { compile…
Sunisha Guptan
  • 1,555
  • 17
  • 44
2
votes
5 answers

kSOAP2 output / org.xmlpull.v1.xmlpullparserexception expected start_tag

I have a standard code to call a .net webservice I get exception "org.xmlpull.v1.xmlpullparserexception expected start_tag" at line transportSE.call(SOAP_ACTION,soapSerializationEnvelope); However, if i call the same webservice from a .NET code i…
Yogurt
  • 105
  • 1
  • 2
  • 10
2
votes
1 answer

Add xml prefix to soap request

How to add prefix tag to soap using ksoap? I want to add : xmlns:cnx="http://db.hutt.com"
kinkajou
  • 3,664
  • 25
  • 75
  • 128
2
votes
2 answers

Call a soap webservice in android

I need to make a call to a soap webservice in an android device. I have been reading a lot of articles in stackoverflow and on other pages, watching videos... But I've tried everythin and I can't make it work in my android device, and I can't test…
Asier Azkolain
  • 75
  • 1
  • 13
2
votes
1 answer

kSoap and .Net webservice that returns a DataSet

I know that using DataSets are a big evil, but as the service is not under my control and the prospect of creating a proxy service is a no go.... What i'm trying to see is if anyone has created class structure that can be deserialized using the…
Jan de Jager
  • 870
  • 2
  • 13
  • 35
2
votes
2 answers

Connecting webservice via WSDL using wsdl2code throws java.net.MalformedURLException: Protocol not found:

This is not duplicated a question. I tried using ksoap2-android. its working without any issue. It happens only on code generated by WSDL2Code @ http://www.wsdl2code.com. I tried many…
Maher Abuthraa
  • 17,493
  • 11
  • 81
  • 103