Configuration of WSE 3.0 value in ASP.NET application

samiieei

New Member
My ASP.NET web application uses the WSE 3.0 protocol by referencing the assembly Microsoft.Web.Services3.dll, v2.0.50727\[code\]namespace Microsoft.Web.Services3{ public class WebServicesClientProtocol : SoapHttpClientProtocol { public WebServicesClientProtocol(); ............ public void SetPolicy(Policy policy); public void SetPolicy(string policyName); ............ }}\[/code\]My question is speccific to \[code\]SetPolicy(string policyName)\[/code\]Currently the string is gotten from the config file specfic for this policy.Can I just move the value from the config file to say the database and use it from there? Or is there any drawback to this?\[code\]//current -- where "ClientPolicy" is gotten from config. file. theServiceWse.SetPolicy("ClientPolicy");//proposedpolicyName = GetPolicyValueFromDB();theServiceWse.SetPolicy(policyName);\[/code\]
 
Back
Top