Set namespace in ws proxy via web.config setting

Lukas_23

New Member
Hi I have a proxy class (auto generated from WSDL)now i ideally want to be able to use this proxy class across several environments, naturally my first thought was to creat an appSetting in my web.config and set the url to the appsetting. thats fine. BUT! i also need to point the namespacing form the class attribute to the same place...[System.Web.Services.WebServiceBindingAttribute(Name="querySoapBinding", Namespace="https://www.bbc.co.uk/gateway/services/query")]so my question is how can i set this namespace at runtime?
 
Back
Top