如何使用 C++ 与 asmx 服务对话

发布于 2024-08-12 02:20:31 字数 122 浏览 2 评论 0原文

我有一个现有的 asmx Web 服务,我需要从本机 C++ 实现访问(不,它不能是 c# )。我的选择是什么(这里是 Visual Studio 用户)来尽快完成此操作(任何与 add aweb 引用等效的东西都会很可爱) 谢谢

I have an existing asmx Web Service I need to acces from a native C++ implementation ( no it cant be c# ). What are my choices ( Visual Studio User here ) to do this as fast as possible ( anything that does the add aweb reference equivalent would be lovely )
Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

jJeQQOZ5 2024-08-19 02:20:31

我用于此类事情的一个很棒的工具是 gsoap

One great tool I used for this kind of thing is gsoap.

二智少女猫性小仙女 2024-08-19 02:20:31

对于使用本机 C++ 执行 Web 服务,您可能需要查看第三方工具。可能有一些 Microsoft 的东西可用,但在 Soap Toolkit 之后,我再也不想打扰 MS 提供的本机代码库了。

gSoap 是 C++ 的第三方 Web 服务库,在大多数情况下可以免费使用。如果确实需要商业许可的话,我相信大约是100美元左右,而且只有开发者需要支付一次。我在 Windows 和 Linux 上都大量使用过它,而且它的质量始终如一。我在 WS-Security 插件中遇到了一次错误,向维护者提交了修复程序,他在一两天内接受了它。

学习它的学习时间大约是一两天。

For native C++ to do web services, you'll probably need to look at third party tools. There may be some Microsoft things available, but after Soap Toolkit I never wanted to bother with MS provided native code libraries again.

gSoap is a third party web service library for C++, and is free to use in most cases. If you do need the commercial license, I believe it is around $100, and only the developer needs to pay it one time. I've used it fairly heavily on both Windows and Linux, and it has always been consistently high quality. I encountered a bug once in the WS-Security plugin, submitted a fix to the maintainer, and he accepted it within a day or two.

The ramp-up time is roughly a day or two to learn it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文