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
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