A lightweight and efficient SOAP engine suitable for J2ME or constrained java devices.
Questions tagged [ksoap2]
1195 questions
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
0
votes
1 answer
How to post data in SOAP web service
I have following XML in which i want to post record in ProductNumber, Quantity, Price.

Amit Thaper
- 2,117
- 4
- 26
- 49
0
votes
1 answer
Android how to use KSoap for sending a huge data
Is there any way to send a huge data encoded to a 64-based String? It throws a 'outofmemory' exception when converting the data to string.
Cheers,
Stone

moc
- 76
- 8
0
votes
1 answer
Consuming .NET web service via Android
I've browsed a lot of article regarding consuming .net web service with android but it seems that I can't make it work.
I've donwloaded "ksoap2-android-assembly-2.6.2-jar-with-dependencies"
and add it in as an external jar in my current…
0
votes
1 answer
using ksaop2 php in android
am working on a web service for android using ksoap2. the code that am writing is returning an error (xml exeption), i don't know where the error is i think it might be the action or url. i have been searching for a complete php web service example…

user1274213
- 11
- 1
- 5
0
votes
2 answers
How do I use parameters with ksoap2?
I have created a web service to test passing parameters via ksoap2. I thought it seemed like a pretty simple process, but I'm apparently missing something simple. The web service does nothing more than return the integer that is passed to it. …

alockrem
- 767
- 3
- 9
- 23
0
votes
2 answers
Android webservice access error
I have a simple java web service deployed on Tomcat7 server. I have used Axis2 as soap engine.(Web service & WSDL is OK)
Here is the code I have used for the web service
public class TestWs {
public String sayHello(){
return "Hello…

Grant
- 4,413
- 18
- 56
- 82
0
votes
1 answer
Consume webservices in Blackberry
We are trying to consume webservices in blackberry.We are very new in developing apps on blackberry.After searching web we found that we can use org.json.me jar to consume json webservices in blackberry,But it didn't worked then we found that we can…

Shruti
- 1
- 13
- 55
- 95
0
votes
0 answers
How to parse a Soap Object to a legible data?
Here is the Soap Object, i`m trying to organize the data by filds
anyType{schema=anyType{element=anyType{complexType=anyType{choice=anyType{element=anyType{complexType=anyType{sequence=anyType{element=anyType{}; element=anyType{};…

user1279395
- 108
- 1
- 7
0
votes
2 answers
How to store Web Service result in Array?
I am using KSoap to fetch .net Web service in android. I got the output but i dont know that how to store that result in Array..My code is look like
SoapObject request=new SoapObject(SOAP_NAMESPACE, METHOD_NAME);
…

user968441
- 1,471
- 9
- 22
- 48
0
votes
1 answer
how to handle android request of username & password in jax-ws
I try to create web service, code for webservice client of android appliaction as below:
String SOAP_ACTION = "";
String METHOD_NAME = "operation1";
String NAMESPACE = "http://service.livebackup.com/";
String URL =…

Gandhi Ishan
- 149
- 4
-1
votes
1 answer
How can Add username and password as URL parameter in Android SOAP webservices program with SAP SOAP WSDL?
I added the Username and password as URL parameter the fallowing URL:
private static final String URL…

Venkat
- 343
- 1
- 7
- 17
-1
votes
1 answer
ksoap2 and Android always returns null pointer exception
I'm unsuccessfully trying to consume a SOAP webservice (I can't know which architecture is behind this WS, as it is an external service).
My code is :
try{
_FakeX509TrustManager.allowAllSSL();
_FakeX509TrustManager trustM…

Gabri109
- 1
- 1
-1
votes
1 answer
Best way to save the SoapEnvelope with SQLite?
I need to save the SoapEnvelope in the Android database and load it from there as well. Saving is not the issue (BLOB as datatype), but I don't know how to serialize the byte[]-array.
Any ideas on how to accomplish that would be great!

deimos1988
- 5,896
- 7
- 41
- 57
-1
votes
1 answer
Ksoap2 - session handling
Is there a way to handle sessions with ksoap2 on Android?
Help would be very much appreciated!

deimos1988
- 5,896
- 7
- 41
- 57