Like many other Android developers I came to the same problem – parsing SOAP in Android.
My short instruction how to do this…

  1. download ksoap2 sourse files – ksoap2-src-2.1.1.zip (http://sourceforge.net/project/showfiles.php?group_id=158028&package_id=176860)
  2. download kxml2 source files – kxml2-src-2.3.0.zip (http://sourceforge.net/project/showfiles.php?group_id=9157&package_id=58653)
  3. put in your source folder:

    ksoap2-src-2.1.1.zip
    /src/org/ksoap2/
    /src_j2se/org/ksoap2/

    kxml2-src-2.3.0.zip
    /src/org/kxml2/

    take missed kObjects files from here: http://kobjects.cvs.sourceforge.net/viewvc/kobjects/kobjects/src/org/kobjects/
    /org/kobjects/base64/Base64.java
    /org/kobjects/isodate/IsoDate.java

    Download

  4. Use simple code to connect the server
    private static final String SOAP_ACTION = "myMethod";
    private static final String METHOD_NAME = "myMethod";
    private static final String NAMESPACE = "http://mynamespace.com/";
    private static final String URL = "http://myserver.com/bean";
     
    void test() {
        try {
            SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
            request.addProperty("prop1", "myprop");
     
            SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
            envelope.setOutputSoapObject(request);
            HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
            androidHttpTransport.call(SOAP_ACTION, envelope);
     
            Object result = envelope.getResponse();
     
            //handle result here
     
            myExampleHandler.getResults();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }