|
-
Jun 28th, 2007, 09:05 AM
#1
Thread Starter
Junior Member
Exchanging XML-files with webserver
Hello,
I have to make a windowsapplication in vb.NET 2005. The application sends an XML-document to the server and the server returns another XML-file.
It sounds quite simple and it probably is, but I can't figure it out.
Can somebody please tell me how I should do this? I've heard about WinInet and HttpRequest but I've never created an application with it. The only thing I have to send to the server is the username, password and the file.
Thanks in advance.
-
Jun 28th, 2007, 01:38 PM
#2
Hyperactive Member
Re: Exchanging XML-files with webserver
A web service would be easier and more appropriate
for the situation.
http://samples.gotdotnet.com/quickst...icesintro.aspx
http://msdn2.microsoft.com/en-us/library/w3h45ebk.aspx
With a web service you can simple add the service as a web reference into your vb windows app, and exchange data by calling the function in the web service.
A web service is in crud terms a web page that uses the soap protocol to exchange data with a client.
http://en.wikipedia.org/wiki/Web_service
that is much better than the way you described.
There is plenty of example on google and the forums I would guess.
-
Jun 29th, 2007, 06:14 AM
#3
Thread Starter
Junior Member
Re: Exchanging XML-files with webserver
Maybe I've explained it not quite right. I'm the client who's sending a XML and expects a XML in return. I have nothing to do with the serverside of the application.
The only thing I know that I need to send a file, password and username to a file called file.request which is located on a server on the internet.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|