14 August, 2013

ESB Itinerary Deployment

Deploying itineraries to servers is currently one of those tasks I do just infrequently enough to forget the name of the tool to do it! When you don't want to - or can't - deploy straight to the itinerary DB from Visual Studio, you can use the ESBImportUtil in C:\Program Files\Microsoft BizTalk ESB Toolkit 2.0\Bin First up, in Visual Studio, set the "Model Exporter" property on the itinerary to "XML Itinerary Exporter". Then right click on the itinerary and choose "Export Model". This will create an XML itinerary file - VS usually opens the file and shows you the path where it is saved. You can then copy that file to C:\Program Files\Microsoft BizTalk ESB Toolkit 2.0\Bin on the server or computer you need to deploy the itinerary to. In a command window, browse to that location. You can then use the esbimportutil.exe tool to deploy it - for example: esbimportutil.exe /f:itinerary_file.xml /c:deployed /o Syntax for usage: /?: Help /f: Itinerary XML File Path /c: published | deployed /n: default itinerary name (seems to only work for itineraries exported in default mode) /v: default itinerary version /o: overwrite existing