Visual Studio 2005- API connect and transfer XML

I am a novice to VB and have installed Visual Studio 2005.
I want to create an interface that establises connection to a server (thru a URL) and sends an XML file through the connection and recieves an output XML file in return.
I read I could use WinInet API...but Visual Studio 2005 doesnt have an API viewer. Could someone please guide me how to go about this project.
Looking forward to your reply.

Thanks in advance

[448 byte] By [Jonty] at [2008-1-12]
# 1
I think you are looking for XML web services - it's alot easier than doing interop into Win32. You'll need two projects: a windows application and a XML web services website. Once you've created your web service, add a web reference to it in the client - Open My Project, click on the References tab, then click the arrow next to the Add Reference button, and choose Add Web Reference. Browse to your website and it should find it.
someguy at 2007-8-21 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 2

Hi Jonty,

in addition to the answer of "some guy": if you want to send the request manually you can use WebRequest.Create to prepare a request to some URI. If it is an http(s) URI you can use HttpRequest to specify that you send text/xml in the body and get back the response as stream which you then can use to read the answer from.

Have a look in the MSDN for WebRequest and HttpRequest - you should find sample code there.

HTH,
SvenC

SvenC at 2007-8-21 > top of Msdn Tech,Visual Basic,Visual Basic IDE...