开发者

Join two contracts into the same WSDL

Maybe it is science fiction, but i would like to know if it is possible to join a WF exposed with WCF and a WCF into the same WSDL. As you know a WF service (xaml) exposes a wsdl and a WCF (svc) exposes its own.

The background problem is that I do not want to differenciate long running process and short synchronous ones into different contracts because they belong to the same business logic.

Both o开发者_JAVA百科f them are developed with framework 4.0.

Thanks


I do not think that you can do that.

What you can do is to use the Facade pattern, create a service that implements the interface of both your services. Expose this service externally and then call your individual services from it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜