Skip to content

Tutorials

Walk-through the tutorials to learn how to use Verastream Process Designer. The Process Design Studio documentation has a complete set of WSDLs and sample processes so you can master importing, building, and deploying business processes.

The tutorials are presented in order so that information you learn in the first few tutorials can be leveraged in subsequent ones.

  • Tutorial 1: Hello World!

    Build, deploy, and test a simple synchronous BPEL Hello World process.

  • Tutorial 2: Receiving, Modifying, and Returning Data

    Learn how a BPEL process receives an input, manipulates the data, and returns it. You will also use the XPath Expression Editor for the first time.

  • Tutorial 3: Changing the Process Input Type from a Single String to a Complex Type

    Change the process input type from a single string to a complex type that takes an unlimited number of strings. The process returns a single, concatenated, space-delimited string.

  • Tutorial 4: Temporary Variables, Arithmetic, and Review

    Create a new BPEL project to accept one or more numbers as inputs. The process outputs the sum, average and product of all numbers input, as well as the sum of every other number input.

  • Tutorial 5: Importing a Service

    Import an external service and use schema from it as the input type in your project. The project sends a Lastname, State, and MiddleInitial to a Web service, which responds with all matching records and outputs a count of records returned. You will test the service as both a SOAP web service and as a REST service. You will also expose the project as a RESTful service.

  • Tutorial 6: Combining Multiple Services

    Combine results from more than one service. This exercise takes an account number as input, then uses that number to get data from two different services.

  • Tutorial 7: Fault Handling

    Use fault handling to add a Catch All to the project. A Catch All is used to detect and respond to any issue. In this tutorial you will also add a Catch for a user defined fault, which detects invalid account numbers.

  • Tutorial 8: Variable Length Recordsets

    Learn how to build a recordset with data that can vary in size. How do you create a recordset when you don't know how many records the set will contain? Use a variable recordset to create a process similar to the one you created in tutorial 5.

  • Tutorial 9: Sending Email Messages

    Learn how to send email notifications and updates from a BPEL process.

Importing services for the tutorials

The tutorials use Web services that are installed with the product. If you are walking through the tutorials on a different computer than the one containing the sample services, you can import the services, make some simple modifications, and continue running the tutorials.

  1. In a text editor, open service-ctx.xml at \Micro Focus\Verastream\ProcessServer\services\samples\META-INF\service-ctx.xml.
  2. Replace ‘localhost’ with your computer's network name in this section of the file:

    <bean class="org.springframework.remoting.jaxws.SimpleJaxWsServiceExporter"> <property name="baseAddress" value="http://localhost:9999/"/></bean>

    The modified section, using a computer name of MyComputer, should look like this:

    <bean class="org.springframework.remoting.jaxws.SimpleJaxWsServiceExporter"><property name="baseAddress" value="http://MyComputer:9999/"/></bean>

  3. Replace ‘localhost’ with your computer name whenever you were referring to a sample service. For example:

    This... Becomes this....
    http://localhost:9999/CICSAcctsDemoService?wsdl http://MyComputer:9999/CICSAcctsDemoService?wsdl

More information