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
- Error 404
- FaultedException
- 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.
精彩评论