Step 5: Test Local Deployment

Parent Previous Next

You should now have the HelloWorld solution from C:\BTDF\Walkthrough1 open in Visual Studio and successfully built, with a fully configured port bindings XML file.  The next step is to deploy the application and verify the success of a fully automated deployment.


Step 1: Deploy the fully-configured application

Now that your Deployment Framework for BizTalk project is fully configured, you are ready to test a completely automated deployment.  The application should now deploy and start successfully.


1a. On the Visual Studio main menu bar, open Tools > Deployment Framework for BizTalk and choose the "Deploy BizTalk Solution" command.


1b. Watch the deployment script execute by opening the Visual Studio Output window.


1c. The build should succeed with the message:


Build succeeded.


"C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj" (Deploy target) (1) ->

(DeploySchemas target) ->

 EXEC : warning : If any of the assemblies were previously loaded by a Host Instance, it may be necessary to restart the Host Instance for changes to take effect. [C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj]


   1 Warning(s)

   0 Error(s)


1d. Disregard the warning because the deployment process already restarted the host instances.


Step 2: Test the application

Try sending a PO XML file through the application by dropping a file into the In folder.  We should see an invoice XML appear in the Out folder.


2a. Copy the file C:\BTDF\Walkthrough1\HelloWorld\SamplePOInput.xml into C:\BTDF\Walkthrough1\In.


2b. Verify that a new XML file named {SomeGUID}.xml appears in C:\BTDF\Walkthrough1\Out.


2c. If the input file did not disappear or the output file did not appear, then follow standard BizTalk debugging practices to solve the problem before continuing.  Check the Windows Application Event Log first.


Congratulations!  You've successfully created and configured your first Deployment Framework for BizTalk project!


Created with the Personal Edition of HelpNDoc: Easily create Help documents