can anyone help me with sending an xml file to another server.

i create the xml file in an asp.net page, then i want to send it to another web server, and check the response.

ive tried httpwebrequest in code behind page, xmlhttprequest in the default page but got neither to work.

would anyone have a clear example of how to do this.

ive got a xml file... do i post the file itself or do i need to put the file contents into a string variable in order to send?

i cant find exact examples o nthe web on how to do this.