ksoap

kSOAP Marshalling help needed

Does anyone have a good complex object marshalling example using the kSOAP package? ...

How to call a .NET Webservice from Android using KSOAP2?

Hai to All,I have a problem while calling the webservice,i have a .NET web service in the server and i am using KSOAP2(ksoap2-j2se-full-2.1.2) in android.While running the program i got an runtime Exception like "org.ksoap2.serialization.SoapPrimitive". I dont know what to do.Here is my code. package projects.ksoap2sample; import org.k...

How to call a .NET Webservice from J2ME using KSOAP2?

I want to access .net web service from j2me using ksoap2 or ksoap. Bt its not working. KSOAP: ` SoapObject client = new SoapObject(url, "GetRouteNames"); client.addProperty("pRegistration", "15"); HttpTransport ht = new HttpTransport(); ht.setUrl(url); ht.setSoapAction("http://t...

kSoap API for J2ME

i am using ksoap/ksoap2 api for calling a php webservice from j2me. For ksoap: SoapObject client = new SoapObject(NAMESPACE, "ns2221:save_record"); client.addProperty("cc", "1234560789"); ByteArrayOutputStream bos = new ByteArrayOutputStream(); XmlWriter xw = new XmlWriter(new OutputStreamWriter(bos)); ...

UDP Transport for kSOAP on Android

Hi, I'm looking for a UDP transport implementation for kSOAP on Android? Has anyone implemented one ? If not, can someone provide an idea of how much effort will it take to implement one. Thanks. ...

XML/SOAP attributes for a complextype in kSOAP

Hi, I'm trying to parse a SOAP response that contains nested ComplexTypes using the kSOAP library on Android 2.1. <event att1="value1" att2="value2" att3="value3"> <tag2> ... </tag2> <tag3> ... </tag3> </event> I've implemented my own class Event that implements org.ksoap2.serialization.KvmSerializable to parse this response...

Ksoap in Eclips

HI i new to android. i want to use ksoap to connect to web service. i have seen a lot of example. but the bet which i am not able to figure out is how to install ksoap in eclips so that i can import the ksoap libs import org.ksoap2; ...

:: Help Needed to parse ksoap response using J2ME ::

Hi Guys, I am developing a mobile application using J2ME, LWUIT and KSOAP. The application makes .net webservice calls and fetches responses. I am able to successfully make calls and receive respone, but not able to parse the response, due to my limited knowledge in java. following is my WSDL file and j2me code snippet used to make call...

:: how to parse KSOAP ARRAYTPE response ::

HI, I need some help in understanding how to parse the KSOAP RESPONSE in j2me. below is the actual ksoap response i get after making a ksoap request. <AddressArray> <AddressBin> <UserSeqID>200</UserSeqID> <AddressID>115</AddressID> <ZipCode>10005</ZipCode> <IsPrimary>false</IsPrimary> <S...

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 application; but all I'm returning is the string message, not the parameter I passed. Is the...

Problem passing simple string parameter to .net webservice

Hi everyone, I have the following code which invokes a .net webservice. The code connects to the service fine, but the paramter(deviceid) does not appear to get passed. The method simply returns the passed deviceid which is always null. This is telling me the deviceid parameter is not being passed. I thought I saw someone recommend a p...

How can you upload photos from android gallery to server?

Hello, I am writing an android application in which users can pick a photo from their gallery and upload it to a server. How should I accomplish this ? The application mainly uses SOAP webservices to communicate with the server, but I do not know how to serialize a stream of bytes in KSOAP and therefore I need some help. The solution sh...

KSoap2 or RESTful web services with android

Hi! What is the best way to deal with web services in Android? I have been looking at KSoap2 library and RESTful web services. I got one working with KSoap2, but only when the web service is on a remote server, not on localhost. I have tried to redirect the ports for incoming and outgoing as it says on the android dev site, i have use...

how to implement request time while calling service in android?

dear friends, i am using a web service to retrieve data inside a thread. so i start thread and call website in it. problem is i called service and INTERNET was present and then disconnected how can i stop that request and stop that thread in order to show message to user that there is not INTERNET coverage. here is code of mine please ...