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
1 answer
How can you upload photos from android gallery to server?
I am writing an android application in which users can pick a photo from their gallery and upload it to a server. How should I accomplish this ?
The application mainly uses SOAP webservices to communicate with the server, but I do not know how to…

DFDF
- 31
- 1
- 3
2
votes
2 answers
How to pass soap request in android
This is my WSDL file view.

Umesh Kumar
- 23
- 8
2
votes
3 answers
Problem passing simple string parameter to .net webservice
I have the following code which invokes a .net webservice. The code connects to the service fine, but the paramter(deviceid) does not appear to get passed. The method simply returns the passed deviceid which is always null.
This is telling me the…

bugzy
- 7,086
- 9
- 42
- 44
2
votes
1 answer
Making complex requests with Ksoap Android
I'm trying to make a requests with nested array of objects, the wsdl look like this:
…

I'm a frog dragon
- 7,865
- 7
- 46
- 49
2
votes
2 answers
XML/SOAP attributes for a complextype in kSOAP
I'm trying to parse a SOAP response that contains nested ComplexTypes using the kSOAP library on Android 2.1.
...
...
I've implemented my own class…

Soumya Simanta
- 11,523
- 24
- 106
- 161
2
votes
1 answer
Send list of Object to web service c#.Net with ksoap2
Hi all I m programming on an Android Application that should be able to send a complex object to c#.Net webservice so the problem is i can send a single object but i cant send a list of object , my question is how to send a list of objects to web…

Hicham Bagui
- 240
- 1
- 17
2
votes
2 answers
Reading a .NET Web Service response in Android
I have a problem when reading a response from .NET web service by an Android client.
The response structure is (example):
400
Amine
Touahria
Here is my code :
…

amine.touahria
- 45
- 1
- 5
2
votes
0 answers
Not able to generate proper request with KSOAP
I am using ksoap to consume soap webservices in android.
Following is the request I am able to generate:

Pramod Ravikant
- 1,039
- 2
- 11
- 28
2
votes
2 answers
Hostname was not verified ANDROID
I am using ksoap lib to call the webservice . In some cases service run correctly but in a case it gives Host name was not verified
below is my code for calling webservice.
HttpTransportSE httpTransport = new HttpTransportSE(URL,…

Sumit Patel
- 2,547
- 8
- 33
- 45
2
votes
0 answers
Send a class object to a webservice and recieve a response as a list in java
I am trying to create an android application using eclipse with ksoap and i want to sent a class object as a parameter in a method of a web service and take a list as a response.
I find these link1 link2 but i didn't manage to write a code that…

dimcode
- 213
- 3
- 16
2
votes
0 answers
Android connecting to soap web-service with digest authentification using ksoap
I am having problems to get the Authorization headers from a PHP soap web-service with DIGEST authentification. (PHP client works correctly with the web-service).
I get error 401, but I cant find the header in the envelope. The headerIn field is…

user2504639
- 21
- 1
2
votes
1 answer
ksoap(web services) example in android using SoapPrimitive
this code is not giving me any errors or warning but is not working properly ,I did not know where is the problem,Please help me.
package com.example.webtest;
import org.ksoap2.SoapEnvelope;
import…

user2126191
- 21
- 1
- 1
- 2
2
votes
3 answers
Android ksoap2 http request failed
I wrote today my own web service and i want to reach this sever with my android smartphone.
I did this by following this tutorial: http://javatutorialspoint.blogspot.nl/2012/02/simple-java-web-service-client-using.html
And it seems to work because i…

Dennis
- 143
- 5
- 17
2
votes
1 answer
ksoap Propertyinfo type change
I have one small problem which i can't solve. By default, propertyingo value is anyType:
how can I change this type to a:User ?

user2086174
- 195
- 1
- 3
- 12
2
votes
1 answer
KSOAP and web server communication (PropertyInfo)
So I'm developing an Android app that should connect to a web service. This connection is working fine. I've tested it using a simple method that returns "Hello Christian". This is displayed correct in the app. If I try to do this with a parameter…

chrissik
- 514
- 2
- 5
- 20