If you ar writing web service then form post is not a concerned as in the web service you would have make a function to be public which can be consumed and in the function you can return either XML as whole string or some object which is common at both end.
Regarding HTTPWebRequest, These implementations are also in place but the implementatin may be bit different. Well I can say i did it bit differently.
Step 1. Create a dummy page. say dataCollector.aspx (.Net)
Step 2. In the pageload you can check what request is coming for your page and you can verify different parameters sent in query string or the request stream.
Step 3. Get the response object and set the required data may in XML in the response stream and set the content type accordingly.
Now at client end either use JavaScript (XMLHttpWebRequest) or normal HTTPWebRequest.
Hope this helps :)