In my quest to understand “advanced“ webservice I have wanted to understand how to tell a client app about my service, beyond the VS.NET basics. WS-Policy has what I need but I wanted to add something to the wsdl rather than just having a separate policy.xml file that my docs refer to.
I have been trying to figure out how to do this using WSE. The starting point is this blog by John Bristowe.
http://www.bristowe.com/blog/CommentView.aspx?guid=e61e7164-ce75-4ca2-94e8-1eedc95f7077
I have “stolen” his code, modified it somewhat and have tried to get it to work. The webservice runs but doesn't call the ServiceDescriptionFormatExtension class
I have the following in my web.config. I obviously need to start particpating in the dotnet.framework.webservices.enhancements news group. I'm not getting anywhere by myself.
<system.web>
<webServices>
<serviceDescriptionFormatExtensionTypes>
<add type="WS_Policy.UsingPolicyFormatExtension, WS-Policy,Version=1.1.1.1, Culture=neutral, PublicKeyToken=A08168192A570B44" />
</serviceDescriptionFormatExtensionTypes>