Questions tagged [ksoap2]

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

1195 questions
0
votes
2 answers

Ksoap2 Sent Data doesn't work "request.addProperty("Lat", "21233232");" doesnt work

I try this code for sent data to MsSql using webservice. when I try to Sent data Manuely its working wery well but when I try to sent by this code is not working. Return value is always correct value but dont send to mydatabase …
teknodram
  • 11
  • 4
0
votes
1 answer

Cannot serialize issue in KSOAP in android

I am using SOAP services in my application,in that when i am calling SOAP services it throwing some cannot serialization problem: SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); SoapObject authentication = new…
subburaj
  • 161
  • 2
  • 15
0
votes
1 answer

KSOAP fault exception

I am using SOAP service in my application.In that i am receiving the error message SoapFault - faultcode: 'soap:Client' faultstring: 'System.Web.Services.Protocols.SoapException: Server was unable to read request. --->…
subburaj
  • 161
  • 2
  • 15
0
votes
0 answers

KSOAP runtime exception in android

Possible Duplicate: Cannot serialize issue in KSOAP in android I am calling one web service in my application,in that i am setting the input for that SOAP request as follows: PropertyInfo usrid =new PropertyInfo(); …
subburaj
  • 161
  • 2
  • 15
0
votes
3 answers

error at calling webservices

i already done with my asmx which developed by using .net c# and it works well but i found a error when i need to call the by using java android error: java.lang.ClassCastException:org.ksoap2.serialization.SoapObject cannot be cast to…
melvintcs
  • 551
  • 3
  • 13
  • 34
0
votes
1 answer

.net webservices, return more than 1 record

i'm developing a .net webservices, but the result always return the first record only, how can i fix the while loop so it can return more than 1? below is the sample code: DAL.cs using System; using System.Data; using System.Configuration; using…
melvintcs
  • 551
  • 3
  • 13
  • 34
0
votes
1 answer

SOAP in android

I am using SOAP in my application. In that i am receiving error. The following is the structure of my request. string
subburaj
  • 161
  • 2
  • 15
0
votes
1 answer

KSOAP exception in android

I am using KSOAP in my application to call one webservices.In that i am getting some exception.I am using the following code: SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); …
subburaj
  • 161
  • 2
  • 15
0
votes
1 answer

Class Cast exception in SOAP

I am using the following code: SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.setOutputSoapObject(request); …
subburaj
  • 161
  • 2
  • 15
0
votes
1 answer

Mapping DateTime response to java.util.Date (instead of SoapPrimitive)

I'm running into problems getting a Date (java.util.Date) object back from a ksoap2 response. Here is the response XML:
Aviad P.
  • 32,036
  • 14
  • 103
  • 124
0
votes
1 answer

Ksoap2 on android 3.2

I got a problem that ı developed an app (connecting an aspx web service) on Android 2.3 and it has been processing. But I tried to same app on Android 3.2 I got some problems . Is there any way for using Ksoap2 on Android 3.2.
mehmet
  • 1
0
votes
1 answer

KSOAP2 implement crech

i am using the ksoap2 (ksoap2-android-assembly-2.4-jar-with-dependencies.jar) in my project, everything work fine but suddenly the code stop working in every class that i implemented this(ksoap2) interface i get an error, here is the LogCat result…
Dude
  • 887
  • 6
  • 15
0
votes
2 answers

Ksoap and HttpTransport Seand AndroidHttpTransport Method Call

In this example code, I have a reference to ksoap2-android-assembly-2.6.3-jar-with-dependencies its incredible when do I arrive to the line hts.call(SOAP_ACTION, envelope); in debug mode; the application code ended with an error message into the Log…
0
votes
2 answers

How to pass an object as parameter from android to web service using ksoap2

I'm trying to send object as parameter to web service on java. It always throws a Runtime exception with Cannot serialize what is the best way to do that thx in advance
user1305855
0
votes
1 answer

Parsing xml node content in Android

I've managed to parse xml responses from a SOAP web service when I receive it in the following format: datamoredata i've been using a document builder to help with this... However, I'm now receiving the string in the…
Nick L
  • 3
  • 1