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

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.

主站蜘蛛池模板: 阜新| 天镇县| 苍山县| 高尔夫| 万州区| 博兴县| 油尖旺区| 齐齐哈尔市| 马尔康县| 新邵县| 涡阳县| 德昌县| 稷山县| 中宁县| 吉隆县| 大田县| 淮阳县| 天峨县| 和林格尔县| 天峨县| 普格县| 拜城县| 全南县| 集安市| 抚松县| 镇巴县| 惠安县| 孟津县| 宿州市| 依兰县| 离岛区| 监利县| 法库县| 托克逊县| 绥滨县| 江津市| 海晏县| 龙南县| 乌鲁木齐市| 长武县| 长垣县|