Calling a web service from a windows application
Hello everybody,
Is it possible to call a web service from a windows application ?
If it is I must do it using C# and .NET 2003.
Thank you all
[159 byte] By [
Michael] at [2007-11-11 10:04:07]

# 1 Re: Calling a web service from a windows application
No, you don't have to use C#. You can also use Visual Basic, although it's easier in the .NET version.
# 2 Re: Calling a web service from a windows application
Yes, it is possible: http://msdn.microsoft.com/msdnmag/issues/01/09/cweb/
# 3 Re: Calling a web service from a windows application
Thank you both for your answers.
I would like to ask you what do you think about using a WSDL class in my project instead of XMLHTTPRequest object ?
The thing is the web application and the C# windows application will be installed in the same domain and in the same network.
Please let me know if you think this is a good choice.
Thank you again for your help
# 4 Re: Calling a web service from a windows application
Yes, a WSDL class should work. It simply generates HttpWebRequest code for you automatically.
# 5 Re: Calling a web service from a windows application
Oh, OK!, I didn't know it.
Thank you so much for your help.
Happy new year for both of you :D