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
-1
votes
1 answer

Out of memory on a 9431460-byte allocation at java.lang.String. android

I am trying to fetch string of bytes and want to convert it to pdf in android app and showing that pdf. I am writing the bytes in sdcard. The web service is using ksoap2-android-assembly-2.6.1-jar-with-dependencies.jar. Following method is in…
prem30488
  • 2,828
  • 2
  • 25
  • 57
-1
votes
1 answer

How to call java based wsdl webservice using ksoap2 from android client?

I am new to android. I have to call java based wsdl webservice from android client using ksoap2. Can any one help me? I have try to call but getting XmlPullParserException.
Roshni
  • 31
  • 3
-1
votes
1 answer

How to parse ksoap array response

I have a webservice that throwing a array set of data. I'm using Ksoap to get the response from my webservice ie. anyType{NewDataSet=anyType{Table=anyType{couponname=coupon name; couponimage=image; couponcode=code; coupondescription=description; …
test test
  • 284
  • 1
  • 6
  • 18
-1
votes
1 answer

Android: Can't connect to Web service by using Ksoap2

when i send the username and password it send to me a false: the publicKey and username and password not connecting the web service , i don't know if there any problem in the…
-1
votes
1 answer

calling soap + xml parsing in same activity

I have to develop on one app. The first image is displayed listview using xml parsing in android . The second image is displayed detailed description of particular order when i click the particular item.Here i wish to add the spinner update method…
Krishna Veni
  • 2,217
  • 8
  • 27
  • 53
-1
votes
1 answer

Java Web Services with ksoap2 for android

I am implenting java web services for android project and calling with KSOAP2. My Code is mention below.. package com.android.service; import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import…
-1
votes
1 answer

Android consume WebService ksoap2

Hello I am new in android. I am trying to connect my android app with my web service made in java using glassfish. This is my WSDL.
Ruben Gonçalves
  • 61
  • 1
  • 2
  • 8
-2
votes
1 answer

Connect Sql Server database to Android Application using web services

I wanted to connect to Sql Server database using android application so that I can store data and retrieve data in Sql Sever using some code written in Java for Android Application... How can I do that thing.. Any tutorials or links will be…
arsenal
  • 23,366
  • 85
  • 225
  • 331
-2
votes
1 answer

How to consume SOAP webservice in android

How to consume a web service soap using ksoap2 library? I'm not sure which are these parameters: namescape, method_name, soapaction, url. My web service is: http://www2.sentinelperu.com/ws/aws_datosfoto.aspx?wsdl See Request and Result below. This…
-2
votes
1 answer

Android java.net.SocketTimeoutException

I'm trying to learn to use SOAP via java (android). I followed this tutorial and I've created the code below: import android.os.AsyncTask; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import…
KostasKol
  • 111
  • 1
  • 9
-2
votes
1 answer

Async Task with multiple requests in android

I am using this asynctask Class to update two different tables on Sql Server so far this code works fine i'm interested in more better and sufficient code structure of this class specially in doinbackground() Is it okay to call multiple webservices…
-2
votes
1 answer

Android app crashes when consuming web-service

I am trying to consume web service through android. I use ksoap2 library and follow this example. Whenever I enter data to text field, app crashes. I get the following error: Process: com.tinyvoice.webservice, PID: 14447 java.lang.VerifyError:…
G.M
  • 653
  • 1
  • 15
  • 35
-2
votes
1 answer

How to parse soap response from soap object?

How to parse the below soap response. particularly for the response "Result". Please help me on this. Thanks in advance. ResponseDump
user2634966
  • 179
  • 1
  • 16
-2
votes
1 answer

web service when calling from android usind ksoap2 returning wrong result

My MainActivity.java package com.test11; import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.ksoap2.transport.HttpTransportSE; import…
dimcode
  • 213
  • 3
  • 16
-2
votes
1 answer

How to parse String using soap?

This is my SOAP webservice.i have donn. Bt it got error.This is my code.Can anyone help me.how to parse string in android. int string int int string string Thanks in advance. public boolean callwebservice()…
1 2 3
49
50