I have added a code from this link for SOAP Web services for android. The code is clean but the sequence for ResponseHandler doesnt respond to anything.I have added Internet permission in the manifest also. Please help me on this I have added the snippet below:
ResponseHandler<String> rh=new ResponseHandler<String>() {
// invoked when client receives response
public String handleResponse(HttpResponse response) throws ClientProtocolException, IOException {
HttpEntity entity = response.getEntity();
StringBuffer out = new StringBuffer();
byte[] b = EntityUtils.toByteArray(entity);
out.append(new String(b, 0, b.length));
return out.toString();
}
};
Statement code :
change according to the existing statement below …
hopefully can help ^_^ cmiiw ..