Book Image

WS-BPEL 2.0 Beginner's Guide

Book Image

WS-BPEL 2.0 Beginner's Guide

Overview of this book

Table of Contents (19 chapters)
WS-BPEL 2.0 Beginner's Guide
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – initializing a dynamic partner link


Carry out the following steps:

  1. Create a new local variable named partnerlink_reference. The schema of this variable is an element called service-ref, which is defined in Service Reference Schema for WS-BPEL 2.0 (http://docs.oasis-open.org/wsbpel/2.0/serviceref). This element is used as an envelope to wrap the endpoint reference of a partner link. Here, we use WS-Addressing schema (http://schemas.xmlsoap.org/ws/2004/08/addressing) to represent an endpoint reference, as shown in the following screenshot:

    Note

    In the sample repository, these schema files (ws_addressing.xsd and ws-bpel_serviceref.xsd) have been already included within the project directory.

  2. Drag-and-drop a new assign activity in between the <assign> activity named initialize_input_variable and the <invoke> activity named invoke_search_web_service. This assign activity is used to initialize the variable that holds the endpoint data and then that value is assigned to...