# Listening external event and triggering webservice

**URL:** <https://forum.cloverdx.com/t/listening-external-event-and-triggering-webservice/1421>\
**Category:** CloverDX Platform\
**Created:** [June 10, 2014, 12:00am UTC](https://forum.cloverdx.com/t/listening-external-event-and-triggering-webservice/1421 "2014-06-10T00:00:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeepbharmoria](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@sandeepbharmoria](https://forum.cloverdx.com/u/sandeepbharmoria)\
**Post date:** [June 10, 2014, 12:00am UTC](https://forum.cloverdx.com/t/listening-external-event-and-triggering-webservice/1421/1 "2014-06-10T00:00:00Z")

</div>

Hi all,

Firstly, I would like to introduce my self as a fresher in the clover ETL, so really excuse me as might be my question appear dumb to some of you…🙂  
I am working on a clover ETL based project having following components

1. A web application
2. An Oracle database
3. Clover ETL

My question is as:-

Whenever a button is clicked on a web GUI, Oracle database table is updated in back-end and results are displayed on Web GUI. I want to listen to event using clover server/etl on web GUI (like click of button) or if updated is made available on web-service, i should be able to feed that data to other database.

What I did till Now:-

I created a job scheduler which checks the database every one minute and data is synched and fed to other database.  
But my team want to use an event based (like button click) rather than a scheduling alternative.

Need your suggestion how to achieve the event based listening in clover etl (may be web service listener) or any other approach.

I tried to explain my question with best of mine knowledge, still it might be confusing, please let me know…

Thanks in advance!!!

Regards  
Sandeep

---

<div class="post-metadata">

**Author:** ![David\_Hlidek](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@David\_Hlidek](https://forum.cloverdx.com/u/David_Hlidek)\
**Post date:** [June 10, 2014, 6:48pm UTC](https://forum.cloverdx.com/t/listening-external-event-and-triggering-webservice/1421/2 "2014-06-10T18:48:06Z")

</div>

Hi Sandeep,

I would recommend to invoke CloverETL Server graph/jobflow using HTTP (possibly Ajax based on click event) and:  
\* [http://doc.cloveretl.com/documentation/ … p-api.html](http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.server.docs/docs/simple-http-api.html)  
\* [http://doc.cloveretl.com/documentation/ … rvice.html](http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.server.docs/docs/launch-service.html)  
\* [http://doc.cloveretl.com/documentation/ … ap-ws.html](http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.server.docs/docs/soap-ws.html)

If you like JMS there is also alternative:  
\* [http://doc.cloveretl.com/documentation/ … eners.html](http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.server.docs/docs/jms-msg-listeners.html)

All of them would suite your needs.

I hope this helps.

---

<div class="post-metadata">

**Author:** ![sandeepbharmoria](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@sandeepbharmoria](https://forum.cloverdx.com/u/sandeepbharmoria)\
**Post date:** [June 11, 2014, 9:48am UTC](https://forum.cloverdx.com/t/listening-external-event-and-triggering-webservice/1421/3 "2014-06-11T09:48:44Z")

</div>

Thanks Dear,

You have shown me direction, now I can walk on to create a solution…

Regards  
sandeep

---

<div class="post-metadata">

**Author:** ![sandeepbharmoria](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@sandeepbharmoria](https://forum.cloverdx.com/u/sandeepbharmoria)\
**Post date:** [June 24, 2014, 12:53pm UTC](https://forum.cloverdx.com/t/listening-external-event-and-triggering-webservice/1421/4 "2014-06-24T12:53:19Z")

</div>

Hi,

I need to turn off global security while using http API, can some one suggest as I want to send the request using a click button/hyperlink and don’t want to see the basic authentication for user.

Regards

Sandeep

---

<div class="post-metadata">

**Author:** ![David\_Hlidek](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@David\_Hlidek](https://forum.cloverdx.com/u/David_Hlidek)\
**Post date:** [June 26, 2014, 9:56am UTC](https://forum.cloverdx.com/t/listening-external-event-and-triggering-webservice/1421/5 "2014-06-26T09:56:16Z")

</div>

Hi Sandeep,

Please take a look on “security.basic\_authentication.features\_list” setting of Server [http://server-demo-ec2.cloveretl.com/cl … rties.html](http://server-demo-ec2.cloveretl.com/clover/docs/list-of-properties.html)

Probably better possibility than exposing Server’s interface without any password protection would be to build proxy service outside Server which would handle this kind of request and proxied them to Server with credentials.

I hope this helps.
