开发者

How to host a WCF service in another WCF service?

I have wcf service DLL , say WCFA. I have another wcf service dll , say WCFB which hosts wcfA.

Then, I开发者_如何学Go have hosted WCFB using another consoleApp.

When I am tring to connect to WCFB using a client ( inbuilt wcfclienttest client or my own test client ) , am getting wierd errors like

  1. Error 404
  2. FaultedException
  3. Security exception etc....

So, am wodering if this scenario is ever possible using wcf?


Yes it is certainly possible. Under the surface of the communication and serialization layer, a WCF application is just like any other application, and so therefore can call other WCF services if connectivity and other configuration permits.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜