title: Unable to getting response when pass parameter to my web service it show Error
body: <pre><code>public String CountryCoe(String Country)
      {
          HttpClient httpclient=new DefaultHttpClient();
          HttpGet htpget=new HttpGet("http://www.webservicex.net/country.asmx?op=GetISD");
  
          try {
              // Execute HTTP Post Request
              HttpResponse response = httpclient.execute(htpget);
              String resp = response.getStatusLine().toString();
              Toast.makeText(this, resp, 5000).show();
  
  
              } catch (ClientProtocolException e) {
              Toast.makeText(this, "Error", 5000).show();
              } catch (IOException e) {
              Toast.makeText(this, "Error", 5000).show();
              }
          return Country;
  
      }
  </code></pre>
  
  <p>I want to get value of its Country ISD code suppose we pass india then it should return +91
  Unable to get response it showing Error  i am calling this function countrycode("INDIA") it showing Error please check where am doing mistake  </p>