Browse DevX
Sign up for e-mail newsletters from DevX


Orchestrate Web Services with BizTalk Server 2002 : Page 3

BizTalk Server supports the defining and changing of business processes through BizTalk Orchestration, which enables messaging and the integration of application components. Randy Holloway explains how to use BizTalk Orchestration and Web services integration.




Building the Right Environment to Support AI, Machine Learning and Deep Learning

After the Web service proxy component is in place, you can configure the application service within the BizTalk Orchestration Designer. To do so, select the COM component option from the implementation toolbar in the BizTalk Orchestration designer, and drag and drop it onto the XLANG schedule drawing. That initiates the COM Component Binding Wizard and takes you through the steps required to create a port associated with the implementation component you've selected. You'll need to select a name for the port and select the XLANG Scheduler Engine settings for this port. These settings determine whether the XLANG Scheduler Engine will control the activation and execution of your component.

  The COM Component Binding Wizard
Figure 2 | Click here to get a close-up view of the COM component binding wizard.

Next you select a COM component and a class to implement, along with the methods to invoke for the class (see Figure 2). Advanced port configuration options include security configuration, transaction support, and state management. These options let you tailor the application service to support the process scenario at hand, including the requirements for handling unexpected errors, transactional behaviors, and implementing specific security requirements for the integrated systems environment.

  The Method Communication Wizard
Figure 3 | Click here to get a close-up view of the Method communication wizard.

To complete the XLANG schedule drawing you must map the messages associated with the actions in the business process to the available ports in your process orchestration. To do this, use the connector tool in the Orchestration designer to associate an action with a specific port. Making a connection initiates the Method Communication Wizard. First, you must select whether the XLANG schedule instance will automatically initiate the method call, or if the instance should wait for the method call to be initiated. This is an important step, because to invoke a process orchestration from an external application using input parameters (such as the customer ID in the scenario previously outlined) you must configure the XLANG schedule to wait for the synchronous method call to be initiated. The final step is to select the method to be used in mapping the action step in the business process to the port for message processing (see Figure 3).

  Compiled XLANG Schedule File
Figure 4 | Click here to get a close-up view of a compiled XLANG schedule file.

After completing the mapping for each action in the process orchestration, you can compile the XLANG schedule drawing file (.skv) into an XLANG schedule file (.skx). To compile the schedule, select the Make option from the File menu in the BizTalk Orchestration Designer. The XLANG schedule file contains an XML representation of the port bindings to the implementation components and messaging specifications for the exposed methods. Figure 4 shows a view of the compiled XLANG schedule file.

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date