Thursday, January 8, 2009

• Automating the BizTalk WCF Service Publishing Wizard

When you have the Schemas/Orchestration published as WCF Service, specifically during the development updating the metadata using the WCF Service publishing Wizard is a pain and time-consuming task. Once the Service names and request-response of the service operations are stable, you can use the Command line version of the BizTalk WCF Service publishing. The command line tool can be downloaded from http://go.microsoft.com/fwlink/?LinkId=101820.

Syntax:

BtsWcfServicePublishing PathName
[-AdapterName:value][-EnableMetadata][-ReceiveLocation][-Anonymous]
[-ApplicationName:value][-MetadataOnly][-MetadataReceiveLocationName:value]
[-MergePorts][-TargetNamespace:value][-Location:value][-Overwrite]


Sample:
BtsWcfServicePublishing.exe OrderServicePublishing.xml -MetadataOnly -MetadataReceiveLocationName:Contoso.Request.wcf.NetNamedPipe -TargetNamespace:"http://biztalk.contoso.com/Services/Order" -Location:"http://localhost/BizTalkWcfService" -Overwrite -Anonymous


The XML for the WCF service publishing can be pulled either from the WCF Service Summary screen of the publishing wizard or the metadata location something like C:\Inetpub\wwwroot\BizTalkWcfService\App_Data\Temp\WcfServiceDescription.xml where you published the service:




For instance, the contents of the generated file WcfServiceDescription.XML by the WCF service publishing wizard is below:

Thursday, December 25, 2008

ESB 2.0 CTP - Installing samples

Recently I installed ESB 2.0 CTP (from the codeplex site) and extracted the sample files. The install scripts of the various samples are powershell scripts and when you execute them you may get the error:

File Itinerary_install.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see “get-help about_signing” for more details. At line:1 char:2


To enable the execution of the scripts if it is your local development machine, you can open the PowerShell command window and type in the following command:

Set-ExecutionPolicy Unrestricted

Friday, October 3, 2008

BizTalk Server 2006 Certification

I finally earned my first Microsoft certification (MCTS) in BizTalk Server 2006 few days back. Questions were from all the areas primarily Rules Engine, BAM, Deployment.

Monday, April 28, 2008

New Features in Visual Studio 2008 Team system

I have been looking around on what actually is new in Visual studio 2008 Team system. I did come across couple of links which lists all the features.
Check out the following two links Bharry's blog and MSDN Page. One of the good feature that I liked is the ability to compare two folders.

Tuesday, November 6, 2007

Visual Studio 2005 Tip


Bugged by the automatic scrolling of the currently opened item in the Visual Studio 2005 Solution Explorer ? Here is what you will have to do to turn it off.
  • Open Visual Studio 2005 > Tools > Options

  • Click on the "Project and solutions" in the left pane. You would see an option "Track Active Item in solution Explorer". Uncheck this option if it is checked.




Monday, November 5, 2007

.Net, BizTalk Server World

Folks, Welcome to the Blog on Microsoft .Net . Feel free to post any .Net, XML, CSS, XSL, BizTalk Server 2006 content/questions.