web services in windowsapplications

P

Peter Rilling

Not tried this but there should be two ways of doing this. First you could
use the HttpWebRequest class to access the resource. Remember that
webservices can be accessed by GET and POST requests so the response you get
back could then be processed.

The other way is that if you right-click on the References folder in your
project, you should see the command "Add web reference". Use this to have
VS.NET create a wrapper for the webservice.
 
J

John Timney \(Microsoft MVP\)

Just create a proxy as you would in an asp.net app and reference it in your
winform.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top