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

Soap web services request and response in Android?

I am very new Android Soap Web-services I have some knowledge on consuming soap web-services in Android using Ksoap2 for that I write the following Code :by using ksoap2.jar I got the namespace and method name from The WSDL File. package…
user1581386
  • 39
  • 1
  • 12
0
votes
1 answer

android ksoap2 - Not trusted server certificate

I use ksoap2 to access a webservice. Everything was just fine before to change the test webservice with production one, witch use a https protocol. I know that this question was asked few more times here, on stackoverflow, but none of the answers…
Zelter Ady
  • 6,266
  • 12
  • 48
  • 75
0
votes
1 answer

How do I download ksoap2-android source code, to attach in eclipse

On http://code.google.com/p/ksoap2-android/wiki/NeedHelp It says Android Development Toolkit (Eclipse plugin) based environment you will have to manually download the source and javadoc jar files from the assembly project. I have all ready attached…
Kickaha
  • 3,680
  • 6
  • 38
  • 57
0
votes
3 answers

How to access data from inside the braces from xml in android

Im using ksoap webservice to access data and iam getting result if only data present without braces. But in webservices the data is available inside braces{}, in that case i cant access the data and i get only null data, and it looks like this,…
Vishnu
  • 349
  • 3
  • 8
  • 16
0
votes
1 answer

web service response fails Soap 2

package bt.Mobile.abc; import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.ksoap2.transport.HttpTransportSE; import android.app.Activity; import…
Ankur
  • 11
  • 6
0
votes
3 answers

How to get a web service response using ksoap2

I'm using ksoap2 to call web services in my android app. It worked on quite a few occasions but somehow I'm not able to get past this one. I call a web service from my activity using another class mentioned below: public class ServiceCall { …
Harsh
  • 487
  • 3
  • 9
  • 29
0
votes
1 answer

NoclassDefFoundError:org.ksoap2.serialization.SoapObject

I have provide reference of ksoap2 jar in my android project in eclipse. Still I'm getting the error: NoclassDefFoundError:org.ksoap2.serialization.SoapObject Could some one help me to solve this issue. Thanks in advance.
nitha
  • 31
  • 5
0
votes
2 answers

Error connecting Android App to ASP .NET Web Service using ksoap2

I am trying to connect my App to a Web Service that I created in ASP and is currently running on localhost. The App is trying to access the Coordonate method that takes in 3 integers. I have provided the code and the LogCat. I have to mention that…
iamdanchiv
  • 4,052
  • 4
  • 37
  • 42
0
votes
1 answer

Save Image Byte Array to .net webservice and retrieve it

I have a .net ASMX webservice that I'm consuming using the ksoap2 library. In the service, I first save the user image and later retrieve it. However, once I retrieve it, the byte array is intact, but the BitmapFactory is unable to decode it and…
harsimranb
  • 2,231
  • 1
  • 35
  • 55
0
votes
1 answer

KSOAP2 android error expected start_tag

Hi All I'm using the KSOAP2 2.6.5 but I also used 2.4 until the 2.6.5 and i received the same error: org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG
ademar111190
  • 14,215
  • 14
  • 85
  • 114
0
votes
0 answers

ksoap2 upload xs:base64Binary parameter

I want upload photo taken with camera into server via .NET webservice. Webservice takes byte array (byte[]) as parameter. It looks like this in xsd file:
Martin Vandzura
  • 3,047
  • 1
  • 31
  • 63
0
votes
2 answers

Get Multiple values from a Web-service using ksoap2 Android

I need to access a .NET webservice in my android application. I did it using the ksoap2 library. I set up the connection and everything but I am not able to get the data back from the service. The service is supposed to send back a set of values.…
Swayam
  • 16,294
  • 14
  • 64
  • 102
0
votes
1 answer

Ksoap2 Runtime Exception SoapObject ClassDefNotFound in Android

I am trying to use a .NET service in Android Application using the ksoap2 library. I added the reference to the jar of ksoap2-android-assembly-2.6.5-jar-with-dependencies in my project. But when I run the code I get a runtime exception saying…
Swayam
  • 16,294
  • 14
  • 64
  • 102
0
votes
1 answer

Error in ANDROID with WSDL and ksoap2

I have a problem accessing a web service made ​​in PHP. I tried many codes but do not know if I have a stupid bug that makes me not work. The Webservice I think is good because if I make the call from a page in PHP works, but if I access via Android…
0
votes
1 answer

What's the best way to load the large size image from server to show on android device?

Possible Duplicate: How to retriving base64 strings(large image) from server to android well i need some ideas about sending large size images from server and receiving the image on client side android phone , i tried with base64 string format but…