How to Call a Virtualized Service from a Process

A virtualized service is a web service provided by an application that is hosted in the BPM runtime. (For information on calling a web service that is not hosted in the BPM runtime, see the tutorial How to Call an External Web Service from a Process.)

The application being called to provide the service can itself be another BPM process that is exposing one or more service operations, or can be an SOA application. In this tutorial, the service provider is a BPM process.

This tutorial example is a simple request and response service. The consumer project requests data—in this simple example, a forename and a surname—from the user and passes it to the service provider. The provider processes that data (in this case, concatenates the two data strings into a name) and returns it to the consumer process.

You should work through each section in turn to complete the tutorial.

A business process (acting as a service consumer) can invoke services provided by other BPM processes or SOA applications (service providers).

An abstract WSDL document that defines the service is provided by the service provider.

Prerequisites

You should be familiar with the basics of designing, implementing and deploying process-based applications using TIBCO Business Studio. If you are not familiar with these things, you should run through the following tutorials before attempting this one:

  • Create, Deploy and Run Your First BPM Application
  • How to Create Business Data
  • How to Call an External Web Service from a Process