Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

BizTalk 2010 Recipes : Orchestrations - Exposing an Orchestration as a Service

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
4/16/2011 4:06:43 PM

1. Problem

You would like to expose an orchestration process as a service to be called from an outside application.

2. Solution

Using BizTalk, an orchestration can be exposed as a service via the BizTalk WCF Service Publishing Wizard. Using this tool, the effort to expose an orchestration as a service is considerably simplified. To expose an orchestration as a service, take the following steps:

  1. Open the BizTalk WCF Services Publishing Wizard by selecting Start→Programs→BizTalk 2010 =>

    BizTalk WCF Services Publishing Wizard.

  2. On the Welcome page, click the Next button.

  3. On the WCF Service Type page, click the Service Endpoint radio button.

  4. Set the Adapter name to WCF-BasicHttp (see Figure 1).

    Figure 1. Setting the port as public
  5. On the next page, you will have the option of publishing a schema or an orchestration as a WCF service. Select the orchestration option.

  6. On the BizTalk Assembly page, browse to the DLL that contains the orchestration you are publishing.

  7. On the Orchestration and Ports screen, ensure that the ports you want to expose are selected.

  8. On the WCF Service Properties page, set the namespace to a descriptive value.

  9. On the WCF Service Location, browse to the web directory where this will be published (see Figure 2).

Figure 2. Setting the Web Directory

3. How It Works

Exposing orchestrations as services allows you to reuse orchestration processes by creating BizTalk configurations to support the passing of a service call to a BizTalk orchestration. This way, you can take advantage of core BizTalk capabilities such as error handling, document tracking, and integration into downstream BizTalk via the publish/subscribe architecture. In addition, you can extend outside your BizTalk environment, to enable a service-oriented approach, composite application paradigms, and so on.

The WCF Services Publishing Wizard interrogates the BizTalk orchestration and receive ports and creates a service application to support the calling of the target BizTalk orchestration. This is achieved by creating a service (SVC) that calls a C# .NET code behind that implements the mechanism of publishing the message instance to the BizTalk MessageBox.

Just as BizTalk orchestrations can be exposed as services, so too can XSD schemas. XSD schema services are also generated using the WCF Services Publishing Wizard, where one or more XSD schemas are selected and corresponding services are generated. The service handles sending the message directly to the BizTalk MessageBox, offering a way to implement publish/subscribe without the need to create a BizTalk orchestration.

Other -----------------
- BizTalk 2010 Recipes : Orchestrations - Calling Web Services
- BizTalk 2010 Recipes : Orchestrations - Creating Role Links
- Administering an Exchange Server 2010 Environment : Performing Common Tasks (part 4) - Managing Disconnected Mailboxes & Moving Mailboxes
- Administering an Exchange Server 2010 Environment : Performing Common Tasks (part 3) - Managing Distribution Groups & Creating Mail Contacts
- Administering an Exchange Server 2010 Environment : Performing Common Tasks (part 2) - Understanding Distribution Groups
- Administering an Exchange Server 2010 Environment : Performing Common Tasks (part 1) - Creating User Mailboxes
- SharePoint 2010 : Customizing and Managing Libraries and Lists to Meet Business Requirements - Creating Lists and Libraries
- SharePoint 2010 : Customizing and Managing Libraries and Lists to Meet Business Requirements - Planning the List and Library Ecosystem
- Windows Server 2008 R2 : Using Windows Media Services for Real-Time Live Broadcasts
- Windows Server 2008 R2 : Installing Windows Media Services
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server