c#写的Webservice的命名空间如何动态调整
我的webservices定义如下
[SoapDocumentService(RoutingStyle = SoapServiceRoutingStyle.RequestElement)]
[WebService( Namespace = "http://wjrffads.oicp.net/")] //命明空间
public class WebServiceIPDA : System.Web.Services.WebService
{
...略
}
现在这样很不方便,我不同客户的域名不一样,每次都要改了,重新编译,很麻烦,请问怎么实现命明空间从配置文件读