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

Android login form using mysql

I have developed a Login form. This is my webservice code: public class Login { public String authentication(String userName,String password){ String retrievedUserName = ""; String retrievedPassword = ""; String status = ""; …
user1676640
  • 635
  • 7
  • 17
  • 37
0
votes
1 answer

Error while Connecting to .Net Web-service using kSOAP

Here is my Code which will try to connect to my web-service... How to Solve this issue?? You can see my web-service sample code here: How to insert and get .NET web-service data Object to My Android App private static final String…
Saku
  • 180
  • 1
  • 3
  • 14
0
votes
1 answer

How to insert and get .NET web-service data Object to My Android App

I have a web-service in .NET it's inserting and retrieving data's from database as object's.. I'll copy some part of web-service here.. [WebMethod(Description = "This is used to insert details into sql server")] public string…
Saku
  • 180
  • 1
  • 3
  • 14
0
votes
1 answer

how to create WCF soap service with List param to be consume from android

I need to pass a List or List to consume WCF soap service from Android. I have tried a lot of ways. When i used below code: public class MarshalArray implements Marshal{ @Override public Object readInstance(XmlPullParser parser,…
Burmese Bug
  • 737
  • 1
  • 6
  • 7
0
votes
1 answer

ksoap2: how to ecrypt data or request

maybe question is stupid but.... i would like to know if exists a way to hide or encrypt data in a soap message. I want to prevent as much as possible classic problem about "man in the middle". So, i don't want "middle man" can understand my data. I…
kinghomer
  • 3,021
  • 2
  • 33
  • 56
0
votes
1 answer

How to use KSOAP2 with Google APIs?

I want to parse Google places API using KSOAP2. Is it possible to use KSOAP2 in Google APIs i.e. Google Places API? If yes please post some examples. If no, then is there any other alternate of KSOAP2 for Google APIs.
Sandy
  • 6,285
  • 15
  • 65
  • 93
0
votes
1 answer

Send a php complex type array via SOAP using Zend Lib and retrieving it with Android KSOAP2 client

I'm trying to return an associative array in a PHP function. This function retrieves some data from MySQL and is published in a WebService using Zend Library. This function looks like: Functions.php class Functions { /** * * @return…
weilah
  • 463
  • 7
  • 20
0
votes
1 answer

listview via soap call in android

Hi i have successfully developed one listview app..now i have to click any item from that list means the detail description is displayed on next activity...it is also successfully finished..now my output is below format: 1 F Krishna 2 Q …
user1676640
  • 635
  • 7
  • 17
  • 37
0
votes
2 answers

How to setup Android-Web service using KSoap2-android with a complex wsdl file?

Background: I have followed the tutorial at: http://drclawx.wordpress.com/2011/06/24/77/ I only managed to get to the hello(msg) method to work by using: String NAMESPACE = "http://tempuri.org/" // instead of tempuri.org (no slash) private static…
shecodesthings
  • 1,218
  • 2
  • 15
  • 33
0
votes
1 answer

android listview via soap calling

i have developed android listview via soap calling is successfully..now i have to click any item from that list means the detail description is displayed... this is my sample listview format: 1 F 2 Q 3 P here i need to click the 1 F item means the…
0
votes
2 answers

Android ksoap webservice response truncate

I'm using ksoap library for webservice call. Below is a simple function for calling webserive. try { METHOD_NAME = method; SOAP_ACTION = "http://tempuri.org/"+method; URL =…
Priyank
  • 1,219
  • 11
  • 30
0
votes
1 answer

How to call Soap Web services in PhoneGap(Android)

I want to create soap services and call from android Phone gap..I dont know where to start from...can any one say regarding this... can anyone refer me any sample tutorial or an example to do so.. thanks for your help
user774041
  • 81
  • 2
  • 11
0
votes
1 answer

Retrieving values from WSDL before making a request

I'm very new to working with web services and I'm trying to understand the basics of it in Android using the ksoap2 library. Here's the question: this is the WSDL file of a service I'm using. It's a service that converts values between different…
Egor
  • 39,695
  • 10
  • 113
  • 130
0
votes
1 answer

update android spinner value in mysql database

hi i have to update my spinner value in mysql database means it is not updated...it shows following error on apache console window. [ERROR] 2 java.lang.ArrayIndexOutOfBoundsException: 2 at…
Krishna Veni
  • 2,217
  • 8
  • 27
  • 53
0
votes
1 answer

insert selected spinner in mysql in android

Hi i have use following code. public class InsertionExample extends Activity { private final String NAMESPACE = "http://xcart.com"; private final String URL = "http://192.168.1.168:8085/XcartLogin/services/Insertion?wsdl"; private final String…