更新WCF服务参考 [英] Update WCF service reference

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

问题描述

在BizTalk 2006 R2中,有什么方法可以重新生成对使用添加生成的项目/使用WCF服务"选项创建的WCF服务的引用?

In BizTalk 2006 R2, is there some way to regenerate the reference to a WCF service that has been created using the "Add Generated Items / Consume WCF Service" option?

我尝试只是重新运行该向导,但是它会创建新的ODX,BindingInfo等文件,并破坏了解决方案,所以不是这样的:-(

I tried just re-running the wizard, but it creates new ODX, BindingInfo, etc. files, and breaks the solution, so that's not the way :-(

在网上搜索,但未找到任何有关如何更新参考的参考,只是从头开始创建就足够了

Searched the web, but not found any references to how to update the references, just plenty on creating from scratch

推荐答案

我同意Marvin,删除旧文件并生成新文件.

I agree with Marvin, delete the old files and generate new ones.

如果在重新生成之前保留了旧名称,则新创建的名称当然会带有其他名称,例如 yourname1.odx (如果您选择与以前相同的名称(您的名称),并以这种方式打破解决方案,因为类型名称将有所不同.

If you keep the old ones before you regenerate you will of course have other names on the newly created, like yourname1.odx if you choose the same name as before (yourname), and breaking the solution that way, since the type name will be different.

这篇关于更新WCF服务参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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