AjaxCallback<XmlDom> cb = new AjaxCallback<XmlDom>();
cb.weakHandler(this, callback).url(soapUrl).type(XmlDom.class)
.header("CustomHeader", "Custom_header_string")
.header("Content-Type", "application/xml;charset=utf-8");
cb.method(AQuery.METHOD_POST);
HttpEntity entity = new StringEntity(data);
cb.param(AQuery.POST_ENTITY,entity);
cb.setSSF(SelfSignedCertsSSLSocketFactory.getSocketFactory());
aq.sync(cb);
is my Aquery code for sending a POST request to a server on a VPNed network. I seem to get a 200 response, as I get the following, but the callback is never called.
W/AQuery﹕ response:200
Am I doing anything wrong, and how can I find out more?