Web service and config file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi guys

I have a console application that calls a web service. This app uses a config file to store certain settings

I want to be able to store the web service providers hostname in the config file so I can change the config file and have the app point to a different server

How do I go about doing this? Currently I set a reference to the web service in the IDE but I am not sure where in my code I can change the name of the server the web service is being served by

Any suggestions?
 
Hi Kev,

As far as I know is it in the .wsdl and the .disco file in your webreference
folder.

Cor
 
Back
Top