Questions tagged [ksoap2]

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

1195 questions
-1
votes
1 answer

java.lang.ExceptionInInitializerError thrown when using HttpTransportSE.call() - KSoap2

Yesterday I used to use the same code to connect to the webservice, and it was fine, today when I started connecting to it (made nothing different), I found this Exception is thrown I guarantee to you that it is thrown at this part of…
Ahmed Adel Ismail
  • 2,168
  • 16
  • 23
-1
votes
1 answer

How to parse the soap web service coming from server object?

I am able to get response from server while doing soap programming.My problem is the I am getting object from the server,Now I need to get values from server response .Here is my code and response package com.example.networkconnectivity; import…
user2648752
  • 2,123
  • 5
  • 21
  • 29
-1
votes
2 answers

WSDL soap webservice in Android, error 404

I have a wsdl url written for android to consume some soap web services. I used the wsdl2code.com to generate the classes from the wsdl URL. I added the class to my project folder in eclipse and call the method (which is used for registration…
Jashan PJ
  • 4,177
  • 4
  • 27
  • 41
-1
votes
1 answer

Error to connect with a web service in android.. HTTP reqest failed,HTTP status 400

I have this code to call a donNet web servise on localhost. The web service take 5 values and return a string.. I took this error: Error HTTP request failed, HTTP status 400.. What is the problem here? public class MainActivity extends Activity…
-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

Parsing soap response in android using ksoap2?

i am connecnting to a online webservice and am able to get the response. i need to parse this response using the ksoap2. i tried with SAX parser and i am able to parse it.please help me on how to parse the xml using ksoap2 this is my response…
Kumar
  • 9
  • 1
  • 4
-1
votes
3 answers

Sending Fahrenheit to web service, returns ERROR, help please

When im trying to contact web service and send them Fahrenheit, so that it converts them for me into celsium, but instead it returns: FahrenheitToCelsiusResponse{FahrenheitToCelsiusResult = ERROR;} package com.test123; import…
Kilo
  • 19
  • 2
-1
votes
1 answer

Webservice is not working in android-ice cream sandwich(api 15)

I'm trying to invoke a public web service via KSOAP(2.5.8). But it is not able to get data from service in ice-cream sandwich versions. It work's fine in lower versions like 2.2 and 2.3. Here's my code. import org.ksoap2.SoapEnvelope; import…
Tej
  • 399
  • 1
  • 5
  • 21
-1
votes
2 answers

How to connect to web service with android application project using ksoap2?

I got problem on how I connected to web service using ksoap2 my code : import android.os.Bundle; import android.app.Activity; import android.view.Menu; import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.PropertyInfo; import…
Shaf
  • 3
  • 1
  • 5
-1
votes
1 answer

Call Webservice webmethod from android using ksoap2

I am trying to call webmethod from Android using ksoap2 then error is that : android.os.NetworkOnMainThreadException. How can i user Service/InternetService in this case of android.os.NetworkOnMainThreadException with code
user1508234
  • 7
  • 1
  • 5
-2
votes
1 answer

How to parse this xml file?

I am making a quiz game with content in a xml files. I used java language
Binh Vova
  • 133
  • 1
  • 7
-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

cannot find symbol method add SoapObject(SoapObject)

enter image description here I am getting such an error rejoice if you help me.
-2
votes
1 answer

How to print Android soap XML request

I need to print XML for request, not response. Object response = null; String METHOD_NAME = "GenerateOtp";// GenerateOTP String NAMESPACE = "http://com/abc/ppi"; String URL = "http://name.com/methodname/"; // String SOAP_ACTION =…
harikrishnan
  • 1,985
  • 4
  • 32
  • 63
-2
votes
1 answer

Android Parser XML Data from .net webservice USING KSOAP2

I am working on a Android application that receives response from .Net Webservice as XML. Sample XML: Area A 100000
Area B…
1 2 3
79
80