I have done this before in VS2008 (.Net 2.0) with a website that allows the enablement of the "Microsoft Web Services Enhancement Soap Protocol Factory" but not with a DLL. When setting up a DLL that trys to use a web service and subsequently enabling the
WSE, this Soap Protocol Factory isn't available. I have a project that includes the CustomPolicyAssertion code attached as a project to the Class Library Project. The dependency is set up such that the Class Library Project is dependent on the CustomPolicyAssertion
project and I set up the WSE and created a policy file accordingly. It doesn't expose the ObjectNameWSE version though for some reason. Anyone seen a good example of this being implemented though a class library (dll) before?
_mathiasX
Member
4 Points
7 Posts
Trying to create a DLL that uses a web service and implements WSE...
Feb 15, 2011 07:24 PM|LINK
I have done this before in VS2008 (.Net 2.0) with a website that allows the enablement of the "Microsoft Web Services Enhancement Soap Protocol Factory" but not with a DLL. When setting up a DLL that trys to use a web service and subsequently enabling the WSE, this Soap Protocol Factory isn't available. I have a project that includes the CustomPolicyAssertion code attached as a project to the Class Library Project. The dependency is set up such that the Class Library Project is dependent on the CustomPolicyAssertion project and I set up the WSE and created a policy file accordingly. It doesn't expose the ObjectNameWSE version though for some reason. Anyone seen a good example of this being implemented though a class library (dll) before?