Questions tagged [ksoap]

kSOAP is a SOAP web service client library for constrained Java environments such as Applets or J2ME applications.

297 questions
4
votes
2 answers

Pass filter to retrive specific set of customer list from magento using ksoap library in JAVA

I am using SOAP API to fetch data from magento server. I want to fetch customer list and I want to pass filter to retrieve specific list of customers. I am using hashMap but it raises a Serialization exception. My code is like {request = new…
Amit
  • 78
  • 5
4
votes
1 answer

Parsing complex soap response

I'm building my first application in android which consumes a wcf service.I'm using ksoap2 to parse the response.The response is actually an array of objects defined in C#.I did this following this really helpful guide.Now my problem is that I need…
user1746708
  • 691
  • 1
  • 8
  • 16
3
votes
0 answers

Ksoap exception in j2me

I am create one J2ME application which call to .NET WCF web service and me used ksoap. I am using netbeans IDE. But when I run that application then gives run time exception is org.xmlpull.v1.XmlPullParserException: Invalid stream or encoding:…
RAJ PATEL
  • 554
  • 4
  • 12
3
votes
1 answer

Android - How to send a double value to the ws service

I am trying to send a double value to the web service using ksoap library. This is what I tried, but it doesn't work. Can anybody explain how to make this work. public String getDataForStaticSearch() throws SoapFault { String data = ""; …
naresh
  • 10,332
  • 25
  • 81
  • 124
3
votes
1 answer

KSoap and HttpsTransportSE returning URISyntaxException (Malformed IPV6 address)?

I'm trying to use HttpsTransportSE in Ksoap, but I get a URISyntaxException, saying I've got a Malformed IPV6 address- which I guess makes sense as I'm passing a URL... but how do I fix it? I found a similar query here but this relates to the Http…
James
  • 999
  • 2
  • 11
  • 22
3
votes
1 answer

SOAP body and NameSpace using KSOAP2 in Android

My soap requesting is generating like below, Some String But my requirement is like
Panache
  • 987
  • 5
  • 16
  • 35
3
votes
1 answer

kSOAP Marshalling help needed

Does anyone have a good complex object marshalling example using the kSOAP package?
Philip.ie
  • 1,506
  • 1
  • 17
  • 19
3
votes
4 answers

AttributeError: 'NoneType' object has no attribute 'nodeValue'

I am using ksoap to communicate between an android app and the python server containing the following files posted. I am trying to retrieve all the values in the XML file posted. But i keep getting, AttributeError: 'NoneType' object has no attribute…
user918197
  • 1,129
  • 6
  • 17
  • 29
3
votes
2 answers

How to call a .net web service that returns an ArrayList to Android

I am trying to retreive an ArrayList from a .NET web service using ksoap. The data does not seem to be able to enter my coo arraylist. How can this be solved? Is there anything wrong with my code? SoapObject request = new SoapObject(NAMESPACE,…
weejing
  • 173
  • 2
  • 12
3
votes
2 answers

OutOfMemoryError in Android app when calling a web service

Please, help.... I'm calling a web service method that return a large soap object and I'm getting the OutOfMemoryException. How could I avoid that? Is there a way to do that? SoapSerializationEnvelope envelope = new …
user679203
  • 31
  • 3
3
votes
4 answers

KSOAP never timeout

I'm using ksoap2 2.5.4 (on Android 2.2) which supports timeout. I'm using Apache 2.2.16 to handle my requests. Everything works fine, but when I shutdown my Apache (or disconnect remote PC on which Apache is running) the call never times out. I'm…
Warlock
  • 2,481
  • 4
  • 31
  • 45
3
votes
5 answers

Web service recieves null parameters from application using ksoap method

I've seen topics discussing this but no one has seemed to post a solution. At the moment, I'm testing passing parameters to my .Net web service. When the parameters reach the web service it adds it with an additional string then returns it too my…
bschultz
  • 4,244
  • 1
  • 25
  • 33
3
votes
1 answer

CISCO MSE API : SOAP communication with Android APP

I want to know how to apply SOAP-Request parameter in the android source. example... Q1. Is this right ? (<--) private static final String SOAP_ACTION = " "; <-- ??? private static final String METHOD_NAME = "GetStationStats "; <-- Is this…
3
votes
1 answer

How to connect an Android application to a web based database

I'm fairly new to android and web based databases. I have written an android based application using the Jquery mobile framework and also phone gap. I am looking for a way to populate my application with information held in a web based database via…
Ethan Richardson
  • 461
  • 2
  • 10
  • 28
3
votes
1 answer

ksoap2 issue java.net.ConnectException

I am using kSoap2 for accessing soap web services. I am getting java.net.connectException while executing the below line androidHttpTransport.call(Constants.SOAP_ACTION_GET_METHOD_NAME, envelope) This is not happening always, but some of the…
Ammu
  • 97
  • 1
  • 10
1
2
3
19 20