Thursday, 4 January 2018

EDN - Event Delivery network -Publish Event using BPEL

Hi All,

This post is on how to create edl file and Publish event from BPEL.

Scenario: Have to create a product event, Whenever the details of the products and customer are entered an event should get created.

Steps:

1. Create xsd based on requirement

2. Create Bpel process interaction type 1 way expose it as as soap service

3. Create Event Definition File:



4. Add Element from our created xsd ; Process element

5. Now click on Ok. event def file gets created.

6. We have to edit our 1 way bpel process ( double click on bepl )

7. Add Invoke edit invoke as in step 8; Then add/edit transform activity as in step 9


8. Editing Invoke


9. Add transform, Edit Transform


10. Edit xsl mapper 


11. Composite Now looks like below: Now bpel is publiching our created event: 


12. Save all and deploy composite.

Event gets published in the entire domain, It can be subscribed anywhere, : ie from within the same composite or from different composite.

Keep Exploring EDN!

Cheers.. to the next..
Let's keep exploring SOA! :)

- Krithik G



No comments:

Post a Comment