webservice客户端封装为dll的url配置有关问题

webservice客户端封装为dll的url配置问题
原先一个项目引用webservice,如果webservice的url改变,只需要在项目.exe.configure中将该url的值修改一下即可。
但是现在将项目封装为dll后,这么做好像不管用啊,应该怎么解决呢?

------解决方案--------------------
YourWebService service = new YourWebService();
service.Url = UserInput.Text ; // Texbox used to get webservice Url from user