Connecting over HTTP to a Web Server

HI

I am a complete newbie to this so any response will be greatly appreciated:

We have a Web Server (Linux Suse and Apache).

I want to create a test app in VB. Net 2005 that can connect to this web service, then send XML requests and process return responses.

I have the Dtd document with all the requests and responses. I also have the necessary URI the Http version (HTTP/1.1), the method etc.

Can someone please give me some sample code to send a request to this server and receive the response.

Below is the known info mentioned earlier and a sample request:

URI -www.blahblah.co.za/folder/run

HTTP version HTTP/1.1

Method = POST

Sample request -

-

POST /sell HTTP/1.1

Host: myserver

User-Agent: xxxxxxxx/1.0

Content-Length: 310

Content-Type: application/xml

<?xml version="1.0"?>

<!DOCTYPE sell SYSTEM "sell_14.dtd">

<sell>

<client>

<sell type="request" format-by="server">

<station>105</station>

<terminal>

<type>7</type>

<number>12345671</number>

</terminal>

<value>50.25</value>

<value_tendered>100.00</value_tendered>

<method="cash" />

</sell>

</client>

</sell>

-

Any help please!!

Thanks.

Larry.

[1706 byte] By [Larry_t] at [2007-12-23]