如何动态更改Web服务链接?
由于我们在本地工作,因此我们的服务链接是: http://localhost:8012/webservice.asmx
当我们在我们的服务上部署Web服务,我们必须删除本地Web服务,然后再次添加Web服务链接,例如: http://test.com/webservice.asmx。
删除Web服务引用并重新添加并不方便。有什么优雅的解决方案吗?
As we are working locally so our service link is: http://localhost:8012/webservice.asmx
When we deploy the webservice on our service, we have to remove the local web service and then add the web service link again for example: http://test.com/webservice.asmx.
It is not convenient to remove the web service reference and add it again. Is there any elegant solution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)