Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Need opinion on calling web service from trigger.

user8749651Oct 7 2010 — edited Jul 11 2011
I was wondering what's the best way to call a web service from a trigger.

I was thinking of creating a procedure that would call the web service and check the returning result of the call. then creating a trigger on a table which would use dbms_scheduler.create_job to create a job that would call the procedure.

currently the trigger calls the web service directly, but to now to update 1 row it days 1-2 seconds because i have to wait for the web service to return.

Is there anything wrong with creating a job every time the trigger is fired? is what i plan to do going to cause any problems?

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 8 2011
Added on Oct 7 2010
5 comments
4,543 views