Update WCF service reference

Home Page Forums BizTalk 2004 – BizTalk 2010 Update WCF service reference

Viewing 1 reply thread
  • Author
    Posts
    • #24656

      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

    • #24657

      I have found no good way myself yet.  In the past, I have deleted all of the previously generated items and ran the “Consume WCF Service” option. 

      This led me to keep all of my artifacts that were generated by the wizard (schemas, odx, etc) in a sepearate folder in my schemas project.  I also avoided doing any customizations of the ODX except for making the odx and the port/multi-part messages it contains public so they could be used in my Orchs project.

      -Ben

      • #24661

        Thanks for the reply Ben

        I’ve been forced to same conclusion
        myself  🙁

        – good tip about the separate folder for the generated
        artifacts !

         

        Is it any better in BTS 2009 or 2010 ?

        • #25570

          We face similar problems as well with regenerating WCF service artifacts. We have used the same separate folder technique using text comparision tools to manually merge changes.

          Other strange behaviour we have noticed is the generator changing the order of elements in the XSDs and missing out includes when dealing with data contracts that implement generics.

          This is not a very elegant solution and introduces all sorts of issues, I too was hoping someone had a better way. This issue is definately still in 2009, not sure about 2010.

          Regards, Nikolai Blackie

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.