Asp.net添加Web引用一个我无法从我的调试环境访问的服务。 [英] Asp.net add web reference a service which i cant access from my debug environment.

查看:59
本文介绍了Asp.net添加Web引用一个我无法从我的调试环境访问的服务。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我有问题。我已经获得了一个asmx服务的URL,我必须使用我的应用程序。我可以从我将部署我的应用程序的服务器访问该服务,但不能从我的调试环境中访问。有没有办法添加服务参考?



提前谢谢

Hello all,

I have a problem. I have been given a url of a asmx service,which methods i have to use with my application.I can access the service from the server where i will deploy my app,but not from my debugging environment. Is there any way to add it service reference?

Thanks in advance

推荐答案

你最好再创建另一个使用引用的应用程序并将其安装在您正在使用的机器中。

因此,使用引用创建服务设置并安装它在服务(services.msc)下的系统中运行
稍后在您的开发环境中使用您的机器配置设置来引用该服务。

但是这很长,而不是我建议您在调试环境中引用该服务,这是最简单的一个
You better create another application using the reference and install it in the machine you are working.
So, Create a service setup using the reference and install it which runs in your system under the services(services.msc)
later refer that service using your machine configuration settings in your developing environment.
But it is long way instead of that i suggest you to refer the service in your debugging environment itself, which is easiest one


这篇关于Asp.net添加Web引用一个我无法从我的调试环境访问的服务。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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