如何在托管在不同服务器上的其他.net项目中使用托管的asp.net Web服务 [英] How to consume hosted asp.net web service in Other .net project hosted in different server

查看:78
本文介绍了如何在托管在不同服务器上的其他.net项目中使用托管的asp.net Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网络服务托管在iis服务器上,我的.net应用程序托管在iis的其他服务器上,现在如何在我的.net应用程序中使用网络服务



b / b










< br $>




提前致谢

Divya

解决方案

< blockquote>您的项目必须包含服务引用。

或者这里的URL是唯一重要的。请参阅此链接 -

http://stackoverflow.com/问题/ 12378386 / webservice-method-to-call-a-url [ ^ ]

http://www.diogonunes.com/blog/calling-a-web-method-in-c-without-a-service-reference/ [ ^ ]



这可能也有帮助 -

http://www.aspsnippets.com/Articles/Call-Consume-Web- Service-ASMX-in-ASPNet-web-application-using-C-and-VBNet.aspx [ ^ ] br />


-KR


my web service is hosted in iis server and my .net application is hosted in other server in iis , now how to use web service in my .net application










Thanks in advance
Divya

解决方案

Your project must have the service reference in it.
Or here the URL is the only thing that matters. Refer this links-
http://stackoverflow.com/questions/12378386/webservice-method-to-call-a-url[^]
http://www.diogonunes.com/blog/calling-a-web-method-in-c-without-a-service-reference/[^]

This might help too-
http://www.aspsnippets.com/Articles/Call-Consume-Web-Service-ASMX-in-ASPNet-web-application-using-C-and-VBNet.aspx[^]

-KR


这篇关于如何在托管在不同服务器上的其他.net项目中使用托管的asp.net Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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