如何从C ++调用C#Sharp服务? [英] How to call C# sharp service from C++?

查看:56
本文介绍了如何从C ++调用C#Sharp服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用C SHARP编写的Web服务,我想通过我在Visual Studio中执行的C ++/VC ++代码调用该Web服务.
我没有找到执行此操作的任何点对点指令.
您能告诉我该怎么做吗,我将非常感谢您.

谁能告诉我如何将HTTP Post请求发送到服务?

I had an Web Service written in C SHARP,i want to call the Web Service through my C++/VC++ code that i do in visual studio.
I didn''t find any point to point instruction to do this.
Can you please tell me how to do this i will be very thank full to you.

Can anyone tell me how to send the HTTP Post request to the service?

推荐答案



我没有太多主意,但我为此找到了一些联系.这可能对您有帮助.


从MFC(非托管)中调用webService(托管C#Web服务)使用Cookie容器保留会话. [ http://social.msdn.microsoft.com/Forums/zh/vcgeneral/thread/aa43419d-c82c-4f7f-a914-193b5036fdcc [ http://chanmingman.wordpress.com/2007/01/23 /calling-c-web-services-using-cclr/ [
Hi,

I have not much idea but i found some link for that. It might be helpful to you.


Calling webService (managed C# webservice) from MFC(unmanaged) Application by Retaining the Session using Cookies Container.[^]
http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/aa43419d-c82c-4f7f-a914-193b5036fdcc[^]
http://chanmingman.wordpress.com/2007/01/23/calling-c-web-services-using-cclr/[^]

Thanks,
Viprat


这篇关于如何从C ++调用C#Sharp服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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