在 Qt 中使用网络服务
我正在浏览与 Qt 中的 Webservice 相关的各种文章,但不幸的是没有得到我正在寻找的内容。我正在使用带有 SOAP 的 .Net Web 服务,并且想要解析该服务。浏览了各种相关文章,但我面临的基本问题是获取 Soap 库?从哪里下载?以及如何整合?这真的对我有用吗?
谢谢。
I was surfing through various article related to Webservice in Qt , but unfortunatly didn't got what i was looking for. I am using .Net webservice with SOAP, and want to parse this service. Gone through various related article, but the basic problem that i am facing is to get the Soap libraries? Where to download from? And how to integrate? And this will really work for me?
Thank You.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您最好的选择可能是将 gSOAP 集成到您的 Qt 应用程序中。 (确保许可条款适合您。)
良好的运行-如何进行集成的详细信息是 GSoap:用于 Qt 应用程序的 SAOP 和 XML Web 服务(包括示例 .zip 文件)。这不需要 Qt 的特定版本(因为 gSOAP 本质上完成了所有工作),所以任何现代的都应该做。
Your best bet is probably integrating gSOAP into your Qt application. (Make sure it's Licensing terms are ok for you.)
A good run-down of how to do the integration is GSoap: SAOP and XML Web services for Qt apps (includes a sample .zip file). That doesn't require a specific version of Qt (since gSOAP is doing all the work essentially), so anything modern-ish should do.
尽管这是一个很晚的建议,Apache Axis 是一个免费/开源软件 SOAP看起来适合您需求的堆栈。
Although it's a very late suggestion, Apache Axis is a free/open source software SOAP stack that appears to fit your needs.