开发者

WS-Policy Specification in WSDL document - .NET

开发者 https://www.devze.com 2023-01-15 18:06 出处:网络
I have authored a simple calculator Web 开发者_如何学编程service using visual studio 2010. I need to specify policy using WS-Policy language (which I need to append with the WSDL document generated fo

I have authored a simple calculator Web 开发者_如何学编程service using visual studio 2010. I need to specify policy using WS-Policy language (which I need to append with the WSDL document generated for the service).

How can I do that? Should I need WSE 3.0 Settings tool installed for that in VS 2010? Does VS 2010 support it?

I have tried using XMLSerializer but achieved no success. I badly in need of suggestions regarding this problem.

Please help me in fixing this problem.


Why do you need to manually edit policy? In WCF that's not done directly; instead selecting your security policy is is accomplished indirectly by choosing a proper binding and configuring it correctly.

It's very likely that you'd probably be just fine with a properly configured WSHttp binding, but you can certainly use a custom binding if you need extra flexibility.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号