如果webservice已经是c,如何在.net应用程序中调用Web服务 [英] How to Call web service in .net application if webservice is already c

查看:59
本文介绍了如果webservice已经是c,如何在.net应用程序中调用Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果web服务已经是c

How to Call web service in .net application if webservice is already c

推荐答案

如何在.net应用程序中调用Web服务

为此你需要谷歌搜索你会找到你的解决方案。



但是这里有一个很好的例子,你甚至可以从那个教程中学习

关注这个URL

http:// www.csharptutorial.in/2012/01/cnet-how-to-consume-web-service-in-cnet.html#.Usvh6bT186I [ ^ ]
Hi
For this you need to just googling and you will find your solutions.

But here is good example that you can even learn from that tutorial
Follow this URL
http://www.csharptutorial.in/2012/01/cnet-how-to-consume-web-service-in-cnet.html#.Usvh6bT186I[^]



单击添加Web引用并输入Webservice的URL。然后给出web服务的名称。这将是您的Web服务引用的类的名称。



您可以使用该类名访问Webservice的方法。
on the solution explorer click on add web reference and enter the url of the Webservice. then give name of the webservice. this wil be the name of the class for your web service ref.

you can access the methods of Webservice using that class name.


使用asp.net调用webservice [ ^ ]



http:// www.techrepublic.com/article/consume-a-web-service-in-a-net-app/ [ ^ ]
Calling webservice using asp.net[^]

http://www.techrepublic.com/article/consume-a-web-service-in-a-net-app/[^]


这篇关于如果webservice已经是c,如何在.net应用程序中调用Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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