ksoap2

by AndyAndroid43 » Wed, 12 Aug 2009 01:35:53 GMT


Sponsored Links
 I want to download org.ksoap2 for Android in order to design a soap
envelope to access a published web service. Can anyone tell me the
best / latest version of ksoap2 for Android and where to go to
download it ? I'm using the Android plug-in with Eclipse Ganymede.  I
get rather confused with all the versions of ksoap2 that seem to be
available and don't know which is the one to use. Is there a .zip
version ?

Thanks in advance for your help

Andy

--~--~---------~--~----~------------~-------~--~----~



ksoap2

by Yusuf T. Mobile » Wed, 12 Aug 2009 05:54:32 GMT


 I heartily recommend ksoap2-android :  http://code.google.com/p/ksoap2-android/ 

Caveat: I've not actually used it.



Yusuf Saib
Android
T  Mobile stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.





On Aug 11, 5:48am, AndyAndroid43 <leebooks.academic...@talktalk.net>


--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Important: XmlPullParserException while accessing SOAP webservice

Hello,
   I am trying to access webservice using KSOAP 2 ... I am having problem
with accessing webservice...Below are my parameters

private static final String SOAP_ACTION = "
http://schemas.kickapps.com/services/soap/signInRegisterUser";
 private static final String METHOD_NAME= "signInRegisterUser";
private static final String NAMESPACE = "
http://schemas.kickapps.com/services/soap/";
 private static final String URL = "
http://affiliate.kickapps.com/soap/KaSoapSvc";

 SoapSerializationEnvelope soapEnvelope = new
SoapSerializationEnvelope(SoapEnvelope.VER11);

        SoapObject Request = new SoapObject(NAMESPACE,METHOD_NAME);
        Request.addProperty("affiliateUserName","xxxxx");
        Request.addProperty("affiliateEmail","x...@xxxxx.com");
        Request.addProperty("affiliateSiteName","xxxxxx");
        Request.addProperty("userName","avdTest");
        Request.addProperty("email","xx...@xxx.com");
        Request.addProperty("firstName","Aks");
        Request.addProperty("LastName","Test");
        Request.addProperty("LastName","Test");
        Request.addProperty("adminTags","1234565");
        Request.addProperty("gender","M");
        Request.addProperty("birthday","1960-01-01");
        Request.addProperty("password","testapps10");
        Request.addProperty("key","68fbdfd1");
        Request.addProperty("aboutMe","Hey");
        Request.addProperty("postalCode","12345");
        Request.addProperty("genRestApiToken","T");
        //soapEnvelope.dotNet = true;
        //soapEnvelope.bodyOut = Request;
       soapEnvelope.setOutputSoapObject(Request);

        //@SuppressWarnings("deprecation")
         HttpTransportSE transport = new HttpTransportSE(URL);
//AndroidHttpTransport aht= new AndroidHttpTransport(URL);


        try{

        transport.call(SOAP_ACTION, soapEnvelope);
        SoapPrimitive resultSOAP =
(SoapPrimitive)((SoapObject)soapEnvelope.bodyIn).getProperty(0);
         Toast.makeText(ULocalInput.this,"Hi",Toast.LENGTH_LONG).show();
        //SoapPrimitive resultString =
(SoapPrimitive)soapEnvelope.getResponse();
        tv.setText("Status:" + resultSOAP.toString());
        }  catch (IOException e) {
           e.printStackTrace();
           System.out.println("SOAP Error : " + e.getMessage());
           System.out.println("SOAP Response : " + transport.responseDump);
           tv.setText("Status1:" + e.getMessage());
          } catch (XmlPullParserException e) {
           e.printStackTrace();
           System.out.println("SOAP Error : " + e.getMessage());
           System.out.println("SOAP Response : " + transport.responseDump);



           tv.setText("Status2:" + e.getMessage());
          }


I don't know wht's going wrong here but I am getting error as
expected:END_TAG{http://schemas.xmlsoap.org
/soap/envelope/}Body(position:END_TAG{http://schemas.xmlsoap.org/soap/envelope/}soap:Fault>@1:354
in java.io.InputStreamReader@43e52820)

  I would appreciate if anyone can suggest me what am I doing wrong..

Many Thanks
Akshay

-- 

2. ContentProvider for streaming date from one app to another

Hi guys,
I'm just wondering if it is possible to stream data via an Input/
Outputstream from one app to another. We want to provide an
application API, where other applications can connect to. These other
applications should than send our application any kind of bytes via a
stream. Currently we focus more or less only on audio streams, so that
f.e. a certain player can send the audio stream to our application.

Kind regards
fritzr

-- 

3. Connect to a specific WiFi network

4. image for SET_WALLPAPER intent on Xoom

5. How to connect two devices using Wi-Fi

6. Trying to use JarSigner.exe and adb.exe to sign and install app to emulator

7. error: Finalizing a Cursor that has not been deactivated or closed.