Commit 02a3fb20 authored by Tiemo Bang's avatar Tiemo Bang

Update README.md

parent 664cc1ad
Thinks to consider: ##Thinks to consider:
1) For me, imports in the wsdl (and bpel) file are black magic 1. For me, imports in the wsdl (and bpel) file are black magic
2) 46.101.159.46.wsdl is obtained from the BPM Labs website 2. 46.101.159.46.wsdl is obtained from the BPM Labs website
3) In 46.101.159.46.wsdl the definition of "InventoryCallbackService" 3. In 46.101.159.46.wsdl the definition of "InventoryCallbackService"
was modified. was modified.
As it is an port of the "local" service, the address was set to As it is an port of the "local" service, the address was set to
"http://localhost:8080/ode/processes/InventoryCallbackService". "http://localhost:8080/ode/processes/InventoryCallbackService".
It is similar to the service definitions in the other bpel file It is similar to the service definitions in the other bpel file
and has to be compatible with requiremets of ode ("...ode/processes/..."). and has to be compatible with requiremets of ode ("...ode/processes/...").
4) I've recycled the "storeOrderDetailInput" message as input for this process. 4. I've recycled the "storeOrderDetailInput" message as input for this process.
It already contains all required information. It already contains all required information.
5) "checkAvaAsyn" is the most critical part of the process: 5. "checkAvaAsyn" is the most critical part of the process:
5.1) XslTransformation is required to transform the list of products 1. XslTransformation is required to transform the list of products
from "products/product/productId" to from "products/product/productId" to
"checkAvailabiltyAsync/productId". "bpel:doXslTransform" "checkAvailabiltyAsync/productId". "bpel:doXslTransform"
and ProductId.xsl do the transformation. and ProductId.xsl do the transformation.
5.2) !!! I decided to write the "orderId" into 2. **!!! I decided to write the "orderId" into
"checkAvailablityAsync/customerId" as it is suppoed to be a unique "checkAvailablityAsync/customerId"** as it is suppoed to be a unique
idenifier for correlation and "customerId" is not unique if the same idenifier for correlation and "customerId" is not unique if the same
customer orders twice. customer orders twice.
5.3) "checkAvailablityAsync/callbackUrl" is set as the URL to the 3. "checkAvailablityAsync/callbackUrl" is set as the URL to the
"InventoryCallbackService" from outside of the Docker container. "InventoryCallbackService" from outside of the Docker container.
!!! At each start up, the respective port binding for 8080 has to **!!! At each start up, the respective port binding for 8080 has to
updated. updated.**
5.4) Correlation is required in "checkAvaAsyn" and "onFinish" 4. Correlation is required in "checkAvaAsyn" and "onFinish"
6) The if statement employs a xpath expression counting products in a stat 6. The if statement employs a xpath expression counting products in a stat
not equal to "available" not equal to "available"
7) Further insight here: 7. Further insight [here](http://infocenter.activevos.com/infocenter/ActiveVOS/v92/index.jsp?topic=/com.activee.bpep.doc/html/UG16-6-1.html)
http://infocenter.activevos.com/infocenter/ActiveVOS/v92/index.jsp?topic=/com.activee.bpep.doc/html/UG16-6-1.html \ No newline at end of file
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment