开发者

Workflow in existing WCF

I have an existing WCF service.

Is it possible to add operation contract to the service interface and have the implem开发者_如何学运维entation in a workflow?

Or I absolutly need a seperate service interface for my workflow?


When you publish a WCF service you are publishing the interface and telling it what implementation to use. You can specify only one implementation, otherwise how would WCF know where to route which request. So in short you need to use a separate interface for your workflow services. That said, if you don't want to change your public facing API there is no reason you can't create a minimal implementation that just passes request on to your worklflow service.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜