title: androidHttpTransport.call(...,...) throwing null exception, when printing using ex.getMessage()
body: <p>I call webservice from andriod application, developed using eclipse,
  but getting exception when calling 
      androidHttpTransport.call(SOAP_ACTION, envelope);</p>
  
  <p>ex.getMessage() printing "null" exception message</p>
  
  <p>in manifist file i have specified</p>
  
  <pre><code> &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
     &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  </code></pre>
  
  <p>following is complete code</p>
  
  <pre><code>///////////////////
  public class Yasir1Activity extends Activity {
      TextView tv;  
  
  
  
              private final String NAMESPACE = "http://www.webserviceX.NET/"; 
              private final String URL = "http://www.webservicex.net/ConvertWeight.asmx"; 
              private final String SOAP_ACTION = "http://www.webserviceX.NET/ConvertWeight"; 
              private final String METHOD_NAME = "ConvertWeight"; 
              /** Called when the activity is first created. */
              @Override
              public void onCreate(Bundle savedInstanceState) {  
                  super.onCreate(savedInstanceState);  
                  setContentView(R.layout.main);  
                  tv=(TextView)findViewById(R.id.txt); 
  
              String msg="";
              SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); 
              String weight = "3700"; 
              String fromUnit = "Grams"; 
              String toUnit = "Kilograms"; 
  
              PropertyInfo weightProp =new PropertyInfo(); 
              weightProp.setName("Weight"); 
              weightProp.setValue(weight); 
              weightProp.setType(double.class); 
              request.addProperty(weightProp); 
  
              PropertyInfo fromProp =new PropertyInfo(); 
              fromProp.setName("FromUnit"); 
              fromProp.setValue(fromUnit); 
              fromProp.setType(String.class); 
              request.addProperty(fromProp); 
  
              PropertyInfo toProp =new PropertyInfo(); 
              toProp.setName("ToUnit"); 
              toProp.setValue(toUnit); 
              toProp.setType(String.class); 
              request.addProperty(toProp); 
  
              SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); 
              envelope.dotNet = true; 
              envelope.setOutputSoapObject(request); 
  
              HttpTransportSE androidHttpTransport = new HttpTransportSE(URL); 
              try 
              { 
                  msg="before call";
                  androidHttpTransport.call(SOAP_ACTION, envelope); //throwing exception
                  msg+="call success";
  
  
                  SoapPrimitive response = (SoapPrimitive)envelope.getResponse(); 
                  //Log.i("myApp", response.toString()); 
                  //TextView tv = new TextView(this); 
                  msg+=response.toString();
                  tv.setText(response.toString());//weight+" "+fromUnit+" equal "+response.toString()+ " "+toUnit); 
  
              } 
              catch(SocketException ex)
                 {
                   msg+="Error on soapPrimitiveData() " + ex.getMessage();
                     ex.printStackTrace();
                 }
              catch (Exception e) 
              { 
                  e.printStackTrace(); 
                  msg += "Exception " +e.getMessage(); //"Exception null" is printing
              }
  
  
              tv.setText( msg);
  
              } 
              }
  </code></pre>