WSDL更新自动化,同时构建和相关文件,如Reference.cs文件自动更新 [英] WSDL updation automation while build and related files like Reference.cs files updation automatically

查看:128
本文介绍了WSDL更新自动化,同时构建和相关文件,如Reference.cs文件自动更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过提供相应wsdl文件的链接来使用webservice引用。我的解决方案中有大约14到15个项目,每个项目都有自己的webreferences.Now我需要将所有引用合并到一个项目中并将此引用添加到所有项目我的其他项目,以便在Web引用更改时更新一个项目时不会出现问题。
现在我需要找到以编程方式更新我的webreferences或使用任何其他方法的方法,以便在构建最新的wsdl文件时和reference.cs以及与Web引用相关的所有其他依赖文件都会自动更新。
是否有解决方法可以使我的工作更轻松。目前正在使用的脚本用于构建和部署。

解决方案

我不知道有什么简单的方法可以做到。通常,您不希望执行"更新Web引用"。自动。您只希望在决定需要最新WSDL和模式的结果时执行此操作。

您是否经常更新WSDL和模式,以至于您觉得需要考虑自动化方法?

I am using webservice references by giving a link of the corresponding wsdl file.I have around 14 to 15 projects in my solution each having its own webreferences.Now i need to consolidate all references into one project and add this reference to all my other projects so that i will not have problems updaing one project when the web references changes.
Now i need to find out methods to update my webreferences programatically or using any other approach so that when it is build the latest wsdl files and reference.cs and all other dependency file pertaining to the web references get updated automatically.
Is there a work around for this that will make my job easier.
nant scripts are being used currently for build and deploy.

解决方案

I don't know of any simple way to do tihs. In general, you don't want to do "Update Web Reference"  automatically. You only want to do it when you decide you want the result of the latest WSDL and schemas.

Are you really updating your WSDL and schemas so often that you feel the need to consider an automated method?


这篇关于WSDL更新自动化,同时构建和相关文件,如Reference.cs文件自动更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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