After further investigation (with you

), I realized that the call() times out.
Here is the code
Code:
String result = "";
SoapObject request = new SoapObject(NAMESPACE, "WS");
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
request.addProperty("username", "x");
envelope.bodyOut = request;
//envelope.setOutputSoapObject(request);
try {
HttpTransport ht = new HttpTransport(SERVER);
ht.call(null, envelope); // THIS IS GENERATING THE EXCEPTION
result = (envelope. getResponse()).toString();
} catch (IOException ex) {
result = "<Exception>Could not connect to " + user.getUrl() + "</Exception>";
So my question remains, since this works on the simulator, why isn't ht.call() working on the device?