Questions tagged [ksoap2]

A lightweight and efficient SOAP engine suitable for J2ME or constrained java devices.

1195 questions
0
votes
1 answer

Parsing data from a local .wsdl file under Android

Is it possible to parse data from a .wsdl file under android? I've been trying to use ksoap2 library but can't find a way to make it parse data from a .wsdl local file rather than calling a webservice.
Ziem
  • 6,579
  • 8
  • 53
  • 86
0
votes
1 answer

How work with wsdl service(Azure based) from android application

1).I generated Web Service Client from WSDL (use Axis2 1.5 carnel, wsdl2java,Tomcat 7.0); 2). Accessing a JAX-WS web service from Android use KSoap2-android library (I tested this lib on service http://www.webservicex.net/ConvertWeight.asmx and it…
0
votes
1 answer

DEBUG/SntpClient(71): request time failed: java.net.SocketException

i have tried to develop connecting mysql database via ksoap2 in android application.so am referred dis site: http://codeoncloud.blogspot.in/2012/03/android-mysql-client.html I am repeatedly getting "02-28 06:16:40.267: DEBUG/SntpClient(66): request…
Krishna Veni
  • 2,217
  • 8
  • 27
  • 53
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
1 answer

How to return a File in a WebService for Android in Java

I've made a web service in java which should returns the content of a folder that is in my pc. I want to fill a list with the files name and when the user tap one, it will be donwload thane opened by my application. For the test, I just want to get…
Purfakt
  • 101
  • 1
  • 16
0
votes
2 answers

Android ksoap2 Microsoft Webservice - unable to pass parameters to webservice

I am learning how to create an android app and webservice using: Eclipse IDE ksoap2 version 2.6.5 with dependencies Visual studio 2010 my method was to follow this great tutorial: http://www.youtube.com/watch?v=v9EowBVgwSo&feature=related the…
agrodude
  • 55
  • 1
  • 7
0
votes
1 answer

Expecting Nested XML structure but receiving SOAP structure

I'm making an app that is requesting data from a Web Service (implementing Soap). People who are viewing this pleaase post doubts in comments... I havent got any response to the question do ask me if there is any doubts, i really need help, am…
Shark
  • 165
  • 1
  • 10
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
3 answers

How to recieve a message from a Webservice with KSOAP2 and Android

i tried to do a simple ksoap2 tutorial. This is the link My Problem is, I only get a response, if I use SoapPrimitive and Ksoap...2.6.4.jar with Ksoap...2.4.jar and or "SoapObject response = (SoapObject)envelope.getResponse();" I've got an…
Florian E.
  • 27
  • 1
  • 2
  • 7
0
votes
2 answers

error occur on HttpTransportSE call method in android

i am making one example of calling wsdl webservice made in Zend (framework of php) and i am using ksoap api(jar file) and i got this error org.xmlpull.v1.XmlPullParserException: expected: START_TAG…
Jayesh
  • 3,661
  • 10
  • 46
  • 76
0
votes
1 answer

I'm tring to access a web service from Android which has a layout similiar to the codes blocks below:

For the moment I'm tring ksoap2 but would like to use whatever the standard method is in the industry. I can access the 'Simple sample' (below) and write the values such as 'Frank' to the log using ksoap2 no problem, but the Complex Sample (below)…
0
votes
1 answer

Web-services in Android using KSOAP

I want to create connection of web-services using KSOAP2,I have already done code and its getting error,So please suggest me where i'm doing wrong.also i need some help in web-service regard,What is namespace,method that we call,soap_action,url and…
Jay
  • 13
  • 1
  • 5
0
votes
1 answer

How to call soap service from android

Possible Duplicate: How to call SOAP web service with Android I am using this code but it is giving some error like: Could not find class 'org.ksoap2.serialization.SoapObject', referenced from method com.rossitek.Welcome.onCreate SoapObject…
Kumar
  • 442
  • 1
  • 9
  • 19
0
votes
1 answer

java.lang.OutOfMemoryError while sending byte array using KSOAP2

I am using ksoap2 to communicate to a .net webservice. However, when I submit a byte array from an image, I get an OutOfMemoryError. I am using the following code: SoapSerializationEnvelope envelope = new…
robasta
  • 4,621
  • 5
  • 35
  • 53
0
votes
1 answer

Calling Web Services from android application

I need to invoke a web service from android app. I have the wsdl file of a web service created in java, i don't have the source code of the same. In java, i use the "Generate Client" option to generate the files from a wsdl and then invoke the…
user182944
  • 7,897
  • 33
  • 108
  • 174