ESB Toolkit Tip #4: Use the Itinerary Test Client and the out of the box On-Ramps to test your Itinerary

How to create an itinerary is well documented but what is the best way to test your itinerary? In a production environment you normally have an On-Ramp that gets the itinerary from the Itinerary Store database so you first have to create a Receive Port with a Receive Location and you also have to configure the Pipeline with the Itinerary name or Business Rule Policy. It’s no rocket science but if you just want to test the itinerary you don’t want to do all those steps. Luckily you don’t have to because the ESB Toolkit comes with four types of Web-Based Itinerary On-Ramps. These On-Ramps were created at the installation of the ESB Toolkit and are designed to receive any XML message. Note that these On-Ramps are ideal for testing but are less suited for a production environment because the message is described with an anyType Type in the WSDL and most of the clients require a typed message.

Web-Based Itinerary On-Ramps in ESB Toolkit:

    One-way ASMX
    One-way WCF
    Request/Response ASMX
    Request/Response WCF

The ASMX on-ramps expect the ESB itinerary content in the SOAP header. You have two kind of WCF on-ramps. One that expects a reference to the ESB itinerary in the SOAP header and the Generic WCF on-ramp that expects only the request message. In a production environment you only want to sent the message but for testing it’s more convenient to also send the itinerary with the message because in that case you don’t have to configure the Pipeline in the Receive Location and you don’t have to deploy the itinerary to the Itinerary Store database.

The ESB Toolkit also comes with a Itinerary Test Client tool to test itineraries. It’s provided as a sample so to use it you first have to uncompress the ESBSource.zip file from the installation folder into the C:\Projects\Microsoft.Practices.ESB folder. In “..\Source\Samples\Itinerary\Source\ESB.Itinerary.Test” is the tool located.

 

Exporting an Itinerary as XML for Testing

Exporting the itinerary as XML enables you to test the itinerary using the Itinerary Test Client.
In the Itinerary Model properties window:

  1. Set the Model Export property to XML Itinerary Exporter
  2. Set the Itinerary XML File property to the location and name of your choice
  3. Right-click the designer surface, and then click Export Model

 

 

 

 

 

 

 

 

 

Testing an Itinerary Using the Itinerary Test Client

To test an itinerary using the Itinerary Test Client:

  1. Unselect the Web service options to select the ASMX web service.
  2. Click the Load Itinerary button to provide the itinerary that you have saved to a .XML file.
  3. Click the Load Message button to select a test message.
  4. Click the Submit Request button to submit the test message.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Note that when you send a message to an On-Ramp, you get the following message box. This only means that the message is successfully sent and not that it’s successfully processed by BizTalk!

 

 

 

 

 

Have fun with testing!

Tomasso Groenendijk

BizTalk Server 2013 Developer Image in the Azure Virtual Machine Gallery

Stephen W. Thomas has just told me that Microsoft has released the BizTalk 2013 Developer Image in the Azure Virtual Machine Gallery for MSDN subscribers, at first I could not see it, but it only show for MSDN connected subscriptions, so if you have any non MSDN subscriptions, you must un-check them and they create a new virtual machine and you will see the developer image

Now to go off and create one to see if it has everything I expect to be in it.

More …

BizTalk Server 2013 R2 RTM

Microsoft announced today the Release to Manufacturing (RTM) of BizTalk Server 2013 R2, with and expected General Availability (GA) in June.

From the Microsoft Announcement:

For over a decade, Microsoft customers and partners have deployed thousands of mission-critical integration solutions using BizTalk. Microsoft’s latest integration platform, including BizTalk Server 2013 R2, delivers improvements in performance, reliability, and functionality. Prepare to upgrade to this latest version on premises. http://Microsoft.com/BizTalk.

Please see, What’s New in BizTalk Server 2013 and 2013 R2: http://msdn.microsoft.com/en-us/library/jj248703(v=bts.80).aspx for more information.

Today @ TechEd 2014 in Houston we have 3 sessions to communicate the announcement of BizTalk Server 2013 R2 RTM, and to reinforce the strength of our comprehensive On-Premises and Cloud Integration Platform capabilities.

DEV-B364 How to Architect and Implement Hybrid Integration Solutions with Microsoft BizTalk Server and Microsoft Azure BizTalk Services, Thursday, May 15 10:15 AM – 11:30 AM Room: 381A

DEV-B307-R Announcing Hybrid Connections: Building Amazing Hybrid Web Sites and Mobile Apps in Minutes (repeated from May 12 at 1 pm), Thursday, May 15 1:00 PM – 2:15 PM Room: Hilton L2 Ballroom C

DEV-B377 Integration in the Cloud: Deep Dive into the Architecture of BizTalk Services, Thursday, May 15 2:45 PM – 4:00 PM Room: 352D

More …

BizTalk 2013 Development Edition on Image Gallery for MSDN Users

BizTalk 2013 Development Edition on Image Gallery for MSDN Users

Great news for people working on Virtual Machines with BizTalk 2013 on Microsoft Azure.

BizTalk Server 2013 Development Edition is now available as a pre-built image you can select inside the Image Gallery.

I believe this image is only available to uses how have Azure through MSDN.  I tried to access it through another Azure account I had and was not able to see the image. 

I will be testing out the Image over the weekend to see how it looks.

Enjoy.

News from Azure cloud

News from Azure cloud

This morning we released a massive amount of enhancements to Microsoft Azure. Today’s new capabilities and announcements include: Virtual Machines:Integrated Security Extensions including Built-in Anti-Virus Support and Support for Capturing VM images in the portal Networking:ExpressRoute General Availability, Multiple Site-to-Site VPNs, VNET-to-VNET Secure Connectivity, Reserved IPs, Internal Load Balancing Storage: General Availability of Import/Export service […]
Blog Post by: Jeremy Ronk

BizTalk360 version 7.2 Performance Improvements

In this article, I’ll take you through the different performance improvements that have gone into BizTalk360 Version 7.2. One of the key factors behind the success of any web application is the performance. Your application can have the best, out-of-the-box features that your users desire. But what’s the point when it fails to serve a […]

The post BizTalk360 version 7.2 Performance Improvements appeared first on BizTalk360 Blog.

Blog Post by: Sriram Hariharan

More BizTalk articles on the TechNet Wiki

About two and a half years ago I wrote a post on the TechNet Wiki blog about the BizTalk Server activity on the TechNet Wiki. Back then we (the TechNet Wiki) had about 40 articles on BizTalk Server. Summarized and accessible through the BizTalk Server resources on the TechNet Wiki article that I reckon by now everyone has bookmarked in their browser.

Going forward the TechNet Wiki has seen a