在我的系统中,我有网络服务,但是如何调用其他系统的网络服务.我如何共享网络服务. [英] in my system i have webservice but how to invoke webservice other system . How can i shared webservice.

查看:98
本文介绍了在我的系统中,我有网络服务,但是如何调用其他系统的网络服务.我如何共享网络服务.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在系统中创建Web服务.
我被带到了新的Web App.在该应用程序中,我添加了服务参考.应用程序正在运行.但是相同的WEB APP我正在使用另一个系统,只需在该系统中添加Web服务即可.在该系统中,Web服务无法正常工作.请任何人向我建议使用Web服务的最佳方法是什么.

解决方案

您的Web服务应在某些服务器上运行,并且使用该服务的其他应用应可访问该服务器.因此,请将您的服务复制到该其他系统上,然后在该系统上运行该服务.


您的问题中没有足够的详细信息(关于代码).您另一台机器的应用程序中的webservice(引用的)URL是什么?本地主机?那就行不通了,应该是ipaddress/远程url.

你想要这样的东西吗? 在没有Web参考的情况下调用Web服务 [ ^ ]

I''m creating a webservice is in my system.
I am taken new Web App . in that app i add service reference . application is working. But same WEB APP i''m using another system and Just add the webservice in this system. In that system webservice is not working. Please anyone suggest to me what is the best way to use webservice.

解决方案

you web service should be running in some server and that server should accessible to other apps using it. so copy your service to that other system and run that one on that system.


There is not enough details(about code) in your question. What''s the URL of webservice(referenced) in your app of other machine? localhost? then it won''t work, it should be ipaddress/remote url.

You want something like this? Invoking a Web Service Without Web Reference[^]


这篇关于在我的系统中,我有网络服务,但是如何调用其他系统的网络服务.我如何共享网络服务.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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