官术网_书友最值得收藏!

Time for action – review of existing variables

To view existing variables in BookWarehousingBPEL, we will do the following:

  1. We will open the BPEL process and click on the (x) icon:
  2. This will open a dialog, where we can see that we have six variables, all of them as MessageType:

What just happened?

We have seen that in the BookWarehousingBPEL process we already have six variables. All of them are MessageType. The inputVariable activity holds the message payload required for the process input. The outputVariable activity holds the response that the process will return. The BookstoreARequest activity holds the request message for the BookstoreA partner link, and the BookstoreAResponse activity holds the response message for the same partner link. The BookstoreBRequest and BookstoreBResponse activities hold the messages for the BookstoreB partner link, respectively.

Declaring XML type variables

We will first learn how to declare XML type variables. We will declare two new XML type variables in the BookWarehousingBPEL process. First, we will declare a BookstoreLocationWithLowestStockQuantity variable. This variable will be of the type string. We will use this variable to store the name of the bookstore that has the lowest stock quantity of the selected book.

Another simple type variable will be LowestQuantity, which will be of the type int. We will use this variable to store the lowest book quantity in any of the bookstores.

主站蜘蛛池模板: 安国市| 台山市| 金湖县| 武邑县| 特克斯县| 双江| 沙田区| 安龙县| 广东省| 沛县| 铁岭市| 德令哈市| 富顺县| 余江县| 乳源| 成武县| 玉屏| 英山县| 临桂县| 山西省| 聊城市| 贡嘎县| 苍南县| 民乐县| 汝阳县| 酉阳| 仁怀市| 邮箱| 乡宁县| 南昌县| 福海县| 鄂托克前旗| 永福县| 宜黄县| 上虞市| 新昌县| 葵青区| 师宗县| 延长县| 新源县| 海原县|