WCF:带有WSDL URL的PassKey,并基于关键点,服务引用了旧和新的?
我需要创建一个包装器WCF,以指出基于密钥的旧服务参考和新服务参考。 我正在研究旧系统,我不知道如何继续前进。
我的要求就像 https://someurl.svc?appkey = key1/key2
如果我通过了key1参考应指向old1。 如果我通过key2,则应将服务引用指向new1。
https://someurl.svc?appkey = key1/key2 在此内,我们将配置2个服务终点。
我需要知道如何获得此密钥并基于此配置服务公开服务点。
您能否阐明如何解决这个问题。我已经很久没有在WCF工作了?
I have a requirement to create a wrapper WCF in order to point to the Old service reference and new Service reference based on a Key.
I am working on a legacy systems and I have no idea how to move forward on this.
My requirement is like
https://someURL.svc?appkey=key1/key2
If I pass key1 , the service reference should be pointed to old1.
If I pass key2 , the service reference should be pointed to new1.
https://someURL.svc?appkey=key1/key2 , this will act as a wrapper and inside this we will configure 2 service end points.
I need to know How can I get this key and configure service expose service point based on this.
Could you please throw some light on this how to approach this problem. I haven't been working on WCF for quite a long time?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论