Chapter 2. Calling Services from BPEL

This chapter contains the following recipes:

  • Implementing web services with Axis2
  • Implementing web services with JAX-WS
  • Invoking RESTful web services
  • Invoking synchronous web services
  • Invoking asynchronous web services
  • Dynamic selection of a web service endpoint
  • Invoking web services in a sequence
  • Invoking web services in parallel
  • Handling the faults thrown from web services
  • Throwing the faults from BPEL


Web services have evolved into a matured technology over the past few years. A web service, as the W3C consortium defines it, is a software system designed to support interoperable machine-to-machine interaction over a network. Large enterprises are seeking ways to make IT more agile to support their business ...

Get BPEL and Java Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.