创建Web服务时出错 [英] error at webservice creation

查看:118
本文介绍了创建Web服务时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已经创建了一个Web服务.可以在我的localhost:xxxx上正常运行,但是不能在另一个系统上运行(我已经给IP提供了端口号,例如192.xxx.x.xx:1206).

我想使用该Web服务,所以我必须使用该URL并提供给浏览器.显示味精是111连接被拒绝

请帮帮我.

在此先感谢您.

Hi All,

i have created a web service. that is running fine on my localhost:xxxx .but not running on another system (i have given IP with port no like 192.xxx.x.xx:1206).

i want to use that web service so i have using that url and given to the browser. displaying msg is 111 connection refused

Please help me.

Thanks in Advance.

推荐答案

您可能已经硬编码了Web服务的URL(在代理或源代码中).
确保不是这种情况.
You might have hardcoded the URL to the webservice (in your proxy or source code).
Make sure this is not the case.


希望 [ ^ ]可以帮助您解决问题.
Hope this[^] might help you to solve your problem.


Abhinav是正确的.

这些文章将帮助您动态创建Web参考URL.

如何使您的Web参考代理URL动态化 [如何在多个Web应用程序项目之间共享动态URL [动态设置Web服务引用 [ ^ ]
Abhinav is right.

These article will help you to make the web reference URLs dynamically.

How to make your Web Reference proxy URL dynamic[^]

How to share dynamic URLs across multiple Web Application Projects[^]

Setting Web Service References Dynamically[^]


这篇关于创建Web服务时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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