在单个WCF端口上调用许多操作的策略 [英] Strategies for calling many operations on a single WCF port

查看:73
本文介绍了在单个WCF端口上调用许多操作的策略的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的解决方案中内部使用规范模式。 我有时会发现自己处于想要根据BTS.Operation执行(即调用)不同WCF  Actions的位置。 我知道BtsActionMapping可以做到这一点,但它没有
帮助解决映射问题。 问题是发送端口只能有一个具有给定源模式类型的映射。 我讨厌将多个端口连接到同一个服务端点,但这似乎是唯一的答案。

I use canonical schemas internally in my solutions.  I sometimes find myself in the position where I want to perform (i.e. call) different WCF Actions based on BTS.Operation.  I know the BtsActionMapping does this, but it doesn't help with the mapping challenge.  The issue is the a send port can only have one map with a given source schema type.  I hate having multiple ports to the same service endpoint, but this seems to be the only answer.

有什么建议吗? 显然ESB是一个想法,但我真的很讨厌动态发送端口。

Any suggestions?  Obviously ESB is an idea, but I really hate dynamic send ports.

-Dan

如果这回答了你的问题,请标记为答案

If this answers your question, please Mark as Answer

推荐答案

发送端口组?


这篇关于在单个WCF端口上调用许多操作的策略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆