Time for action – creating a message type variable
Let's now create the BookStoreWithLowestQuantity variable:
We should open the Create Variable dialog window by clicking on the big + icon in the Variables dialog window or by selecting Create Variable from the context menu in the Structure window.
We should enter the BookStoreWithLowestQuantity variable name and select a message type. Then, we use the magnifier glass icon to select BookstoreABPELResponseMessage from Message Types/Project WSDL Files/BookstoreABPEL.wsdl:
After clicking on OK, we should see the following window:
What just happened?
We have successfully created a new variable. Looking into the source code reveals the following code:
With this, we have concluded our discussion on variable declarations. In the next section, we will become familiar with assignments.