Update WCF service reference

一世执手 提交于 2019-12-07 10:12:58

问题


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?

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


回答1:


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

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.



来源:https://stackoverflow.com/questions/2781790/update-wcf-service-reference

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!