Web service during run-time

Is it possible to add a web-service but at runtime? I want to hold the URL of the web-service as a setting in a file, so dont want to put it in during design time, but cant find any documentation on how to code it.

Any suggestions or samples anyone has?
Who is Participating?
Bob LearnedCommented:
You can add a web reference at design time, and change the URL at run-time.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.