douyun1546 2016-02-10 16:08
浏览 260

从Go应用程序消费WCF服务

Is it even possible more or less natively consume WCF service from Go application?

I can imagine it should be possible to execute SOAP calls in Go, but WCF is a bit more than that only, for example authorization will probably be a problem also...

Have anyone at least approached this area, or maybe someone can give useful me advice in this "wheel reinvention task"?

Thank you in advance for all your input, ideas and suggestions.

  • 写回答

2条回答 默认 最新

  • douqihua6212 2017-02-10 13:59
    关注

    I think you should expose a RESTful Service. I myself have the problem with exposing a WCF Service too many clients using PHP, Go, Ruby and all kind of languages. We never ever got it right, to automatically generate a proxy.

    The maybe simplest way is to use WCF, like described in this example: https://www.codeproject.com/Articles/105273/Create-RESTful-WCF-Service-API-Step- By-Step-Guide

    But I recommend to switch to ASP.NET Core (Migration is not that hard) or if you have the budget I would consider https://servicestack.net/

    评论

报告相同问题?

悬赏问题

  • ¥15 多址通信方式的抗噪声性能和系统容量对比
  • ¥15 winform的chart曲线生成时有凸起
  • ¥15 msix packaging tool打包问题
  • ¥15 finalshell节点的搭建代码和那个端口代码教程
  • ¥15 Centos / PETSc / PETGEM
  • ¥15 centos7.9 IPv6端口telnet和端口监控问题
  • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作
  • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录
  • ¥20 海浪数据 南海地区海况数据,波浪数据
  • ¥20 软件测试决策法疑问求解答