如何消费从C ++应用程序提供.NET Web服务? [英] how to consume a .net webservice from a C++ application?

查看:206
本文介绍了如何消费从C ++应用程序提供.NET Web服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个C ++应用程序,检查有关在给定的网络打印机的信息。我需要存储在数据库信息,在其他的.NET Web应用程序中使用web服务。但是,我是新来的C ++,我不知道我怎么可以拨打电话到的webmethod在用c ++ web服务。有一个在C ++应用程序中没有添加Web引用选项。

I have a c++ application which checks the information about the printers in a given network. I need to store this information in database, using a webservice in another .net web application. But I m new to c++ and i have no idea how i can make a call to the webmethod in the webservice using c++. There is no add web reference option in the c++ application.

任何人可以建议我这一个很好的教程?
我的应用程序是一个Win32控制台应用程序。

can anybody suggest me a good tutorial for this? My application is a win32 console application.

谢谢,
Subrat

Thanks, Subrat

推荐答案

有是使用Visual Studio 2005名为MSDN文章的演练:访问的XML Web服务使用C ++和这应该是类似于使用Visual Studio 2008的C ++的CLR

There is an MSDN article using Visual Studio 2005 named Walkthrough: Accessing an XML Web Service Using C++ and the CLR that should be similar to using Visual Studio 2008 C++.

这篇关于如何消费从C ++应用程序提供.NET Web服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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