title: How to get response from Soap Object to string in android?
body: <p>I have used the following code to get the response from .Net web service(asmx).</p>
  
  <pre><code>try{
      SoapObject request = new SoapObject(NAMESPACE,METHOD_NAME);
          SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
          envelope.dotNet =true;
      AndroidHttpTransport httpTransport = new AndroidHttpTransport(URL);
          envelope.setOutputSoapObject(request);
      httpTransport.debug=true;
          httpTransport.call(SOAP_ACTION, envelope);
      SoapObject result=(SoapObject)envelope.getResponse();
      String Text = result.getProperty(1).toString();
          System.out.println("Text : "  + Text);
      } 
  catch (Exception e) {
      e.printStackTrace();
  }
  </code></pre>
  
  <p>When I tried this code, I got the following output.</p>
  
  <blockquote>
    <p>anyType{NewDataSet=anyType{ResponseTable=anyType{Result=Success; }; };
    }</p>
  </blockquote>
  
  <p>Here, I would need "Result=Success".</p>
  
  <p>Please help me.</p>