connecting to webservice server
C#
2
Posts
2
Posters
0
Views
1
Watching
-
-
Hi folks, I want to create a client application that will call some methods from webservices. It's simple if we know the server name but in this application, I want to pass the name of webservice server flexible. Could you guys give me a hint? Thanks.
How about putting the name of server in App.config and reading it from there at runtime? You'd have to make some changes to the proxy created by VS .NET though, IIRC, it hardcodes the URL of the server in the Reference.cs file it generates when you add a web reference. Regards Senthil _____________________________ My Blog | My Articles | WinMacro