从Qt消费Web服务 [英] consuming web service from qt

查看:130
本文介绍了从Qt消费Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有.NET Web服务.我想从Qt客户端使用它.我知道如何在.net中使用Web服务,但这是我在Qt中第一个要从中使用.NET Web服务的应用程序,请通过一些逐步代码帮助我,以使用Web服务

Hi i have .NET webservice. i want to consume it from qt client. i know how to consume web service in .net but this is my first application in qt from which i want to consume .NET web service please help me out with some step by step code to consume web service

推荐答案

您最好的选择可能是将 gSOAP 集成到您的Qt应用程序中. (请确保您的许可条款适合您.)

GSoap:Qt应用程序的SAOP和XML Web服务 GSoap:适用于Qt应用程序的SAOP和XML Web服务 a>(包括示例.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.


这篇关于从Qt消费Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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