Thursday, January 03, 2008

Reuse BizTalk WCF service publishing wizard settings

In BizTalk 2006 R2, there is a new WCF Service Publishing Wizard. It becomes quite painful if you want to update the published service to run the wizard over and over again. The settings from the wizard are saved in the output App_Data\Temp folder with a name of WcfServiceDescription.xml. You can reuse some of the settings if you launch the wizard from the command line and pass in the configuraiton file as a parameter.

BtsWcfServicePublishingWizard -WcfServiceDescription=C:\Inetpub\wwwroot\BizTalkWcfService\App_Data\Temp\WcfServiceDescription.xml



Saved me some time during development, however, it doesn't seem to remember the namespace specified.

1 comment:

Anonymous said...

You might want to try this "complementary" tool from MS.

As MS says "This tool is complementary to the BizTalk WCF Service Publishing Wizard, which is part of BizTalk Server 2006 R2. It is used for publishing services with WCF isolated adapters (WCF-WsHttp, WCF-BasicHttp, and WCF-CustomIsolated) and for publishing metadata for existing WCF receive locations."

It is available from here "http://www.microsoft.com/downloads/details.aspx?familyid=C6420B29-10D9-4EB2-8032-DE1273819D2C&displaylang=en"