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

Calling Web Services from android application

I need to invoke a web service from android app. I have the wsdl file of a web service created in java, i don't have the source code of the same. In java, i use the "Generate Client" option to generate the files from a wsdl and then invoke the…
user182944
  • 7,897
  • 33
  • 108
  • 174
0
votes
1 answer

Parsing web service result

I'm using the code snippet below to get user details from a wsdl url given, it returns only first user's informations instead of whole list, how may i correct it so that it'll print whole user details ? I need it to run on Android so i'm using…
NotCamelCase
  • 1,073
  • 1
  • 10
  • 18
0
votes
1 answer

Mapping DateTime response to java.util.Date (instead of SoapPrimitive)

I'm running into problems getting a Date (java.util.Date) object back from a ksoap2 response. Here is the response XML:
Aviad P.
  • 32,036
  • 14
  • 103
  • 124
0
votes
2 answers

How to pass an object as parameter from android to web service using ksoap2

I'm trying to send object as parameter to web service on java. It always throws a Runtime exception with Cannot serialize what is the best way to do that thx in advance
user1305855
0
votes
1 answer

Transfer sms/mms/contacts from android to web server

Before downvoting, please note that I am only asking for expert opinion, and not the source code. I am working on an android app which will sync contacts/sms/mms on a webserver. Which of the web service technologies is suitable for this app and easy…
jem
  • 257
  • 4
  • 14
0
votes
1 answer

Getting error when updating ADT pugin" java.lang.NoClassDefFoundError: org.ksoap2.serialization.SoapObject"

here is the error i was getting ...... i tried like properties-Libraries changed jar file into separate folder Libs also.. 04-19 15:02:58.419: E/AndroidRuntime(428): FATAL EXCEPTION: main 04-19 15:02:58.419: E/AndroidRuntime(428):…
Crishnan Kandada
  • 651
  • 2
  • 9
  • 24
-1
votes
1 answer

Ksoap2 client returned failed to connect to /192.168.15.56(port 1122) after 60000ms

I wrote a webservice in .net. I publish the service in IIS and started it. I also edited its bindings to connect to the 1122. In firewall i added inbound and outbound rules to access my port 1122. At this point i was able to open the webservice page…
-1
votes
1 answer

How to get NAMESPACE, SOAP_ACTION, URL and METHOD_NAME to call SOAP request in android

I have a url for calling in code I should call it with Ksoap2 library in code. My code is in below, final String NAMESPACE =""; final String URL =""; final String METHOD_NAME = ""; final String SOAP_ACTION = ""; SoapObject request = new…
zohreh
  • 1,055
  • 1
  • 9
  • 26
-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
2 answers

how to parse soapobject response from asp.net

This is my web service code.I don't know how to parse soap response.what should i do? i don't even know it is json or Xml.So please tell me which type of response it is? my response like…
-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
1 answer

How to connect an SSL enabled asmx web service with android

i'm trying to connect an asmx web service which has SSL enabled certificate from symantec. The web service works fine in browser with green indication. But unable to connect the webservice with android using ksoap library. I have added the public…
Shinurag KR
  • 131
  • 3
  • 13
-1
votes
1 answer

How to read complex JSON in Android

If I have this string: anyType{schema=anyType{element=anyType{complexType=anyType{choice=anyType{element=anyType{complexType=anyType{sequence=anyType{element=anyType{}; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; };…
sandeep
  • 15
  • 1
  • 9
-1
votes
1 answer

How to sort products inside a particular category by price, news & popularity or by Customer review in Magento in Android using kSOAP2

I am making an Android application which communicates with Magento SOAP v2 API's for getting products & buying products. I want to know that how can I sort products inside a particular category by price, news & popularity or by customer review in…
Osama Mohammed Shaikh
  • 1,219
  • 1
  • 16
  • 40
-1
votes
2 answers

How to convert soap object into string object in android java

I am developing application in android.I need to covert the soap object response into String.How to convert the soap object into string object in android java. Thanks in advance.
Satheesh
  • 3
  • 1
  • 5