using xml parsing and getting The requested resource does not support http method POST
<p>I am new to android, I am using xml parsing in my app.And I followed follwing link:
    <a href="http://www.androidhive.info/2011/11/android-xml-parsing-tutorial.In" rel="nofollow">http://www.androidhive.info/2011/11/android-xml-parsing-tutorial.In</a> my activty i am using following code:</p>

<pre><code>protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.practicetests);

    lvPracticeTests=(ListView)findViewById(R.id.practicetestslist);
    btnBack=(Button)findViewById(R.id.back);

    btnBack.setOnClickListener(this);

    XMLParser parser = new XMLParser();
    String xml = parser.getXmlFromUrl(URL); // getting XML
    Log.e("xml",xml);
XMLParser parser = new XMLParser();
String xml = parser.getXmlFromUrl(URL); // getting XML
Log.e("xml",xml);
}
</code></pre>

<p>But I am getting following error in logcat:This is xml value in logcat:
    Message":"The requested resource does not support http method 'POST'</p>
