kSOAP is a SOAP web service client library for constrained Java environments such as Applets or J2ME applications.
Questions tagged [ksoap]
297 questions
2
votes
2 answers
How to serialize a self created Object using kSOAP in Android
i am doing some ksoap requests. Everything is working fine. But now I reached the point, where I have to pass a custom object which i created. Its called "Auftrag". It's just a simple POJO.
Try to pass it with "request.addProperty" ends in an error…

Manuel Wenner
- 51
- 1
- 8
2
votes
2 answers
Getting error when using KSoap library to consume .NET web services
I have been using ksoap library to consume .net web service.
and I am getting this kind of error
"expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG @1:7 in java.io.InputStreamReader@40d0c7d8)"
I have…

Sunny Tiwari
- 77
- 1
- 8
2
votes
0 answers
Android ksoap web service issue getting pullParserExcepstion
I am consuming a .net web service using ksoap2 but getting the following Exception:
org.xmlpull.v1.XmlPullParserException: unexpected type (position:END_DOCUMENT null@1:1 in java.io.InputStreamReader@412caa08)`
My request dump is the same as I…

Manish Srivastava
- 1,649
- 2
- 15
- 23
2
votes
1 answer
Android/Eclipse: How to embed .jar file?
I am having trouble embedding a library (ksoap in my case) into my project. There is an error at run time "Could not find class 'org.ksoap2.serialization.SoapObject' referenced from method ...". Of course, this class is available within the ksoap…

user1743224
- 21
- 3
2
votes
1 answer
KSOAP 2 Complex Class
I need to send my OrderItemList Class with OrderItem Class Array inside, I try this one but gives me error. Cannot serialize: foo.foo.OrderItemList@461e0bf8
Thanks for your time in advance.
SoapObject request = new SoapObject(NAMESPACE,…

Mert
- 6,432
- 6
- 32
- 68
2
votes
3 answers
Error in KSOAP Parsing :- java.lang.ClassCastException: org.ksoap2.SoapFault
I have a little knowledge in ksoap Parsing. When i am parsing some data it gives Error :
java.lang.ClassCastException: org.ksoap2.SoapFault
I can see the response for that method in SoapUI but when i parsing that method in android it gives an error…

Yog Guru
- 2,074
- 3
- 28
- 47
2
votes
1 answer
cannot render image after sending to SQL database from Android
I have an Android application (API 10) that as one of the features allows the user to capture a photo and send it to an asp.net web service using ksoap. The Android app works fine, sends all data including the image byte array to the database. The…

eoszak
- 66
- 4
1
vote
1 answer
Pass parameter to a webservice using ksoap2?
I have a simple web service method with a parameter like follows
public String fetchOrderInfo(int g){
...
}
I want to pass a value to int g from an Android program using ksoap2. I have used some thing like this but this doesn't work
...
SoapObject…

Grant
- 4,413
- 18
- 56
- 82
1
vote
0 answers
Request with Array of Objects (complextype) in Android using KSOAP
I have this webservice:

thenosic
- 1,463
- 2
- 18
- 22
1
vote
0 answers
Android ksoap complex request
I am implementing the ksoap service for uploading contacts on server.But i am not able to consume it successfully.Please if anyone can have a look at it and solve my problem .Following is the request format in which request will be sent...

Karan_Rana
- 2,813
- 2
- 26
- 35
1
vote
1 answer
Android WSDL Web Service ksoap2
I am trying to connect to a web service via an Android device by using the ksoap2 library. I've gotten it to work on two different services fine, but now I've ran into a problem. Whenever I pass an object instead of a primitive type it gives me an…

tbaxter120
- 1,371
- 1
- 11
- 8
1
vote
1 answer
j2me and ksoap How to get specific element in asp.net webservice
I am using ksoap with j2me. I am passing the user name and password to asp.net web service method and the web service returns the dataset to me. My problem is how can I
get Get “Display Name” element from this ksoap response (data…

Amila Thennakoon
- 419
- 1
- 5
- 15
1
vote
1 answer
Ordering of KSOAP elements
I've been using KSOAP for Android to send SOAP requests containing 6 elements, the last of which is an array of values. Here's the code ...
PropertyInfo properties[] = new PropertyInfo[numberOfProperties];
properties[0] = new…

user1094129
- 11
- 1
1
vote
1 answer
Passing ArrayList of custom object to kSOAP function
This is the function which is to call the function in the server to perform some task. But i have to pass in a ArrayList and a String value. I have trouble passing the ArrayList to the server. Can anyone tell me what i should do?
public void…

user918197
- 1,129
- 6
- 17
- 29
1
vote
1 answer
how to grab large xml response using ksoap
I am using the ksoap library to consume .net webservice. One of the request returns a very larger xml response.The thing is ksoap shows only partial response.But the wireshark trace shows xml response as sequence of TCP segments which represent…

Sureshkumar Menon
- 1,165
- 7
- 27
- 49