2014-04-17 41 views

回答

1

這就是你要做的。考慮以下是你的肥皂對象。

SoapObject response = (SoapObject)envelope.getResponse(); 
String resp = response.toString();   
    log.e("Response :"+resp); 

我希望這會有所幫助。

1

可以使用下面線轉換

SoapPrimitive結果=(SoapPrimitive)envelope.getResponse(); Toast.makeText(getApplicationContext(),result.toString(),Toast.LENGTH_SHORT).show();