I have two web services added to the project. One is real web service. Other one is test webservice. i have used them to set some parameters.

eg: WS.OrderDescription 

I want to change this WS and WS-test interchagebly. For that i want to add this two into config and access what ever i want (WS or WS-test) by chaging the value in config. How to add this webservice references to config and access in code.

Move calling web services part to config file

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.