如何使用命名管道绑定从Delphi与WCF进行通信 [英] How can I communicate with WCF from Delphi using Named Pipes Binding

查看:199
本文介绍了如何使用命名管道绑定从Delphi与WCF进行通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如果是这样,那么如何?

我可以使用Delphi 2007与WCF服务通信使用netnamedpipebinding吗? =h2_lin>解决方案

我建议您使用.NET(和WCF!)为您的服务创建COM可见代理,然后像Delphi一样使用COM对象。 p>

为了在NetNamedPipesBinding端点上监听WCF服务的本机客户端,有几个原因是非常复杂的。有关详细信息,请参阅 http://blogs.charteris.com/blogs/chrisdi


Can I use Delphi 2007 to communicate with a WCF service using the netnamedpipebinding ?

If so, then how?

解决方案

I suggest that you create a COM-visible proxy for your service using .NET (and WCF!), then consume it from Delphi as you would any COM object.

There are several reasons why implementing a native client for a WCF service listening on a NetNamedPipesBinding endpoint is extremely complex. See http://blogs.charteris.com/blogs/chrisdi for more details.

这篇关于如何使用命名管道绑定从Delphi与WCF进行通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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