Applying mathematical calculations on data in the variables

JDeveloper provides the standard set of mathematical calculations that can be used in the BPEL processes. We will use the mathematical calculations on numerically defined variables.

Getting ready

This recipe continues the discussion of the BPEL process Manipulate1_1 from the Assigning numerical values to the variables recipe.

We extend the request and response message structure in Manipulate1_1.xsd. The request message is extended with the item and priceVAT elements as follows:

<element name = "process"> <complexType> <sequence> <element name = "input" type = "string"/> <element name = "item" type = "string"/> <element name = "priceVAT" type = "decimal"/> <element name = "child_no" type = ...

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.