如何从我的系统中使用远程服务器中托管的Web服务? [英] How Do I Consume Webservice Hosted In Remote Server From My System?

查看:91
本文介绍了如何从我的系统中使用远程服务器中托管的Web服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在远程系统中安装的IIS服务器上托管了我的webservice。我在本地系统中创建了asp.net Web应用程序客户端。任何人都可以告诉我如何从我的系统中使用这个Web服务吗?

解决方案

添加对该服务的Web引用并在您的应用程序中使用它。如果这是WCF服务,请使用服务参考。


请参考此链接...



http://www.csharptutorial.in/2012/01/ cnet-how-to-consume-web-service-in-cnet.html#.UxV_ouIuc6U [ ^ ]



< a href =http://www.c-sharpcorner.com/UploadFile/718fc8/creating-and-comsuming-web-service/> http://www.c-sharpcorner.com/UploadFile/718fc8/creating- and-comsuming-web-service / [ ^ ]





http://www.aspsnippets.com/文章/ Make-AJAX-Call-to-ASP.Net-Server-Side-Web-service-method-using-jQuery.aspx [ ^ ]

I have hosted my webservice on IIS server installed in remote system. I have created asp.net web application client in my local system. Can anyone please tell me how to consume this webservice from my system?

解决方案

Add a web reference to the said service and use it in your application. If this is a WCF service, use Service Reference.


please refer this links...

http://www.csharptutorial.in/2012/01/cnet-how-to-consume-web-service-in-cnet.html#.UxV_ouIuc6U[^]

http://www.c-sharpcorner.com/UploadFile/718fc8/creating-and-comsuming-web-service/[^]


http://www.aspsnippets.com/Articles/Make-AJAX-Call-to-ASP.Net-Server-Side-Web-service-method-using-jQuery.aspx[^]


这篇关于如何从我的系统中使用远程服务器中托管的Web服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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