Android : HTTP Post Issue
<pre><code>    HttpClient client = new DefaultHttpClient();
    String data = "valid SOAP REquest";     
</code></pre>

<p>HttpPost httpPost = new HttpPost("valid url");
        Log.d("inside", "created http post");
        try {
              ByteArrayInputStream baos = new ByteArrayInputStream(data.getBytes());</p>

<pre><code>        Log.d("inside", "firing request...");
        HttpResponse httpResponse = client.execute(httpPost);
        Log.d("inside", "request sent" + httpResponse.getStatusLine().getStatusCode());
</code></pre>

<p>Always, I get the status code as 405. I tried request queue as well.. sneding the byte array as part of the request queue, still the same issue.</p>
