本文介绍了WCF定义要访问的Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


 我创建了一个应用程序,其中一个层具有多个wcf(Web服务)。假设WebService1,Webservice2,Webservice3,Webservice4和Webservice5。



可以使用相同的证书调用Webservice1,2和3。问题是Webservice1的调用者,也可以访问Webservice2和3.


我想要的是Webservice1的调用者,只使用Webservice1并拒绝访问Webservice2和3,保留相同的证书。



最简单的方法是什么?



谢谢


Al


解决方案

Hello,

 I have created an application, with a layer that has multiple wcf(web services). Let's say WebService1, Webservice2, Webservice3, Webservice4, and Webservice5.

Webservice1, 2 and 3 can be called with same certificate. The issue is the caller to Webservice1, can also access Webservice2 and 3.

What I want is the caller to Webservice1, use only Webservice1 and deny access them to Webservice2 and 3, keeping same certificate.

What's the easiest way to achieve this?

Thanks

Al

解决方案


这篇关于WCF定义要访问的Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-13 09:13