In previous exercises, we used static partner links that are defined at the design time, but in a <forEach>
activity where the repetitive execution logic is implemented within a <scope>
activity. In order to invoke different service endpoints, we need to dynamically change the endpoint data stored in the partner link. In this step, we create a new local variable that can hold partner link data. Then at each iteration, we modify the endpoint data stored in that local variable. Then, we assign the values in that local variable to the local partner link in order to modify the endpoint data of the local partner link within a different <assign>
activity named Initialize_Partner_Reference
.
WS-BPEL 2.0 Beginner's Guide
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
Free Chapter
Hello BPEL
Service Invocation
Variables, Data Manipulation, and Expressions
Conditions and Loops
Interaction Patterns in BPEL
Fault Handling and Signaling
Working with Scopes
Dynamic Parallel Invocations
Human Tasks
Events and Event Handlers
Compensations
Pop Quiz Answers
Index
Customer Reviews