How to use Webservices
<p>Hi this could be possible repetition of some other post. Im very new to android. And I have never used webservices before. What I want is  to fill my gridviews and listviews with the data from a URL. When I hit the URL in browser it prompts to a login dialog. When I enter the username and password it says:</p>

<p>HTTP Status 405 -
type Status report
message
description The specified HTTP method is not allowed for the requested resource ().
JBoss Web/2.1.11.GA</p>

<p>But when i use   Username, Password, Method(POST), URL:-www.example.com:8080//store/seam/rest/Services/getPartnerMenu,</p>

<h2>Body</h2>

<pre><code>&lt;?xml version="1.0"?&gt; 
&lt;ServiceRequest&gt; 
    &lt;storeShortName&gt;XXXXX&lt;/storeShortName&gt; 
&lt;/ServiceRequest&gt;
</code></pre>

<h2>RequestHeader</h2>

<p>Name:-Content-Type<br>
Value:-application/xml </p>

<p>These items in the Mozilla REST Client Debugger, it gives me an XML. How can I retrieve this XML data to my program and parse it? Which parser should I use? Where should I start to get my results? I could parse an XML using dom parser from WWW.example.com/test.xml but in my project I have the username-password part. So how can i achieve these result? Any help would be appreciated! Thanks in advance!</p>
