Professional Documents
Culture Documents
ACL
E
SUP
POR
T
SER
VIC
ES
Prepared by:
Author:
Creation Date: Thursday, November 05, 2009
Last Updated: Tuesday, June 15, 2010
Definition:
This is an example of how to obtain information from an external source using a published web
service using ISG in EBS.
Method:
The web service will be invoked (launched) from a workflow process. Oracle Workflow is a
mature product with a large number of experienced Developers. This allows ISG to be easily
understood if it is presented in the context of being integrated into a workflow process. The
Service Invocation Framework (SIF) is an enhancement to the Business Event System (BES)
with the introduction of seeded web service subscriptions and additional User Interfaces (UI) for
specifying the location of the Web Service Definition Language (WSDL) that has been
deployed by companies that for others to subscribe and use.
Proxy Setup:
In order to point to an external URL containing a WSDL, you need to be able to connect
through Oracle’s proxy. Update the autoconfig Applications Tier $CONTEXT_FILE with the
proxyhost and proxyport.
· Login to E-Business as a user assigned the System Administrator responsibility and navigate:
System Administrator > Oracle Applications Manager > AutoConfig
s_proxyhost= <HOST>
s_proxyport= <PORT>
· Run autoconfig:
sh $ADMIN_SCRIPTS_HOME/adautocfg.sh
sh $ADMIN_SCRIPTS_HOME/adstpall.sh
sh $ADMIN_SCRIPTS_HOME/adstrtal.sh
The Business Event System menu UI has been enhanced to enable a web service to be defined
and invoked from the UI. A seeded Invoke Web Service Action Type has been created for a
Local Java Subscription that will invoke the web service. A new WFERROR Process
Subscription DEFAULT_EVENT_ERROR2 has been created and must be added to the event
defined to invoke the web service.
The Local Java Subscription with the seeded Invoke Web Service Action Type will include the
following parameters to invoke the web service:
SIF Demo:
This demonstration will show how to a workflow can be used to invoke a web service and
retrieve information from an external Internet site. This is a demo created by Vijay Workflow
Development Product Manager.
Create Local Java Subscription to use seeded Invoke Web Service Action Type.
Cancel
',...) 0 3 O 0
Load WSDL Select Service Select Service Port Select Operation Subscription Documentation
Select a WSDL Source
Cancel Step 1 of 5
Next
Enter the URL of the WSDL to consume in the Business Event Subscription
* Indicates required field
* WSDL URL http://www.ignyte.com/webservices/name=<.whatsshowing.webservice/movie
Example: http://supplier.company.corn:8888/webservicm/supprierservicemsdl
NOTE: The following are all contained in the WSDL and can be obtained by using the WSDL
URL in a web browser to see the definition.
C l i c k N e x t t o a d d t h e W S D L S e r v i c e N a m e .
Cp. e Ez
Consume WSDL in Event Subscription - Windows Internet Explorer
http://<HOST>:<PORT>/0A_HTMLIOA.jsp?page=loraclelapd
< WI >
Load WSDL Select Service Select Service Port Select Operation Subscription
Select Service Port
) v C http://<HOST>:<PORT>,10A_HTMLJOA.jsp?page=ioraclejap ,-,
Developer Business Status me Notifications Administration Diac nostics Home Logout Preferences Hel.
I>
_ Local intranet
1
Click Next to add oracle.apps.fnd.wf.bes.WebServiceInvokerSubscription Java Rule Function
and the Optional Callback Parameters so the result of the web service invocation will be returned
back.
I Business Events: Events > Business Events : Events > Subscriptions >
lig Local intranet ft 100% •
The SIF invocation demo now contains 2 subscriptions.
H o m e De v e l o p e r S tu d i o Bu si ne ss Ev e
Events ! Subscriptions Agents Systems
Business Events E.ent Subscription Launch Workflow > Update Event Subscriptiors >
Subscriptions: Event: oracle.apps.vvf.movie.invoke ____________________________________________________
An event subscription is a registration indicating that a particular event is significant to a particular system. An event subscription specifies the processing to
perform whet the triggering event occurs.
Create Subscription
Return to Events
Home Developer Studio Business Events Status Monitor Notifications Administration Diagnostics Home Logout Preferences Help About
this Page
C r e a t e W F B E S _ C A L L B A C K _ E V E N T o r a c l e . a p p s . w f . m o v i e . r e c e i v e r e c e i v e e v e n t .
W o r k f l o w A d m i n i s t r a t o r W e b A p p l i c a t i o n s > D e v e l o p e r S t u d i o
Search
workflow Type
11P The "Run" icon is disabled if the workflow type has no runnable processes.
Workflow Type Internal name Description run
(No workflow types found)
Home Developer Studio Business Events Status Monitor Notifications Administration Home Logout Preferences Help Diagnostics
About this Page Privacy Statement Copyright (0)2008. Orade. All rights resented
Launch Parameters Example:
Current Status
±
III 01r
_I D
Start Set SOAP Invoke Web Rec ore Service Web Service End
Message Service Invoked
1
Notification Details - Windows Internet Explorer 0
Information
This edification dues riot require a resporae.
Web Service Invoked
OK Reassign Request information
To name=<NAME>
Sent 1b-JIM-20W 1/:42:11/
ID 4600842
Colonial Pmmerade 6 - Tnuchsta• Cinemas
4672 East Colonial Dive Orlando, FL
PG Ake in Wonderland 1 hr v 9 mins PG-13 Clash of the Titans 1 hr EO mins PG Diary or a Wimpy Kd 1 Fr 33 m ns PG Furry Vengeance ' hr 32 mins R Hot Tub Tiff., Machine 1 hr
mins R Kick-Ass 1 hr mins R MacGruber ' hr 23 mins PG-13 The Back-up Pal 1 hr 38 mins PG-13 The Bounty HLn:er 1 ir 46 mins PG —he Last Sonq 1 hr 47 mins PG-13 Tie Losers 1
hr 4) mins PG 13 Tyler Parry's Why Dd I Got Marriod Too 2 hrs 01 m n P'cmicrc Odando
32W East Colonial Uwe. Orlando, I-L
PG-13 Iron Man 2 2 hrs OG mins PG _etters to Juliet 1 hr 4!: mins PG-13 .rirce of Persia: The Ea-ids of Time 1 hr 55 mins PG-13 Robin I lood 2 .irs 20 mins R Sex anc the City 2 2 hrs 27
mins DG Shre< Forever Afle• 1 hr 33 rrirs PG Shrek Forever Ater 3D 1 h• 33 mils Plaza Cinema CafD
155 South Orange Meow. Orlando, FL
PG 13 Date Night 1 hr 28 mins a Go: Hill to :he Grcc< 1 hr L9 mins PG 13 Iron Man 2 2 hrs CS mi. PG 13 Killers 1 hr 40 mins PG Marmaduke hr 27 mins PG 13 Prince of Persia: The
Sands of I me 1 F r 55 m ns PG-13 Robin Hood 2 hrs 2U nuns H Sex and the City Z 2 hrs 2/ mins Shrek Forever After 1 hr 33 mins R Splice 1 hr 44 mins PG-13 the A-lean 1
hr 51
mins .G The Karate <id 2 hrs 20 mins Regal Waterford Lakes 20
541 North Alafaya Trail Orlando, FL
R Get Him to the G•eek 1 ir 49 mins PG-13 Iron Man 2 2 hrs 05 rrirs FG-'3 Kit ws 1 Fr 40 rn ns .G Letters to Juliet 1 hr 45 mins PG Marmaduke ' hr 27 mins PG-13 Rine of Persia: The
Sands of Tmo 1 Fr 55 m n3 PG 13 Robin Hood 2 hrs 20 mi. R Sex and the City 2 2 hrs 27 mins PG Shrek Forcvcr Aftcr 1 hr 33 min PG Shrk Forever Aftar 3D 1 Fr 33 in noPG Sh•ck
Forever After. An WAX 3J Expenence 1 Fr 34 niis R SDI ce 1 hr L4 mins PG-13 he A-learn 1 hr 5/ mins PG I he Karate Kid 2 hrs 23 mins Alorra Cirema Grill
2155 Al01713 Avenue, VVinter Pa*, rL
PG Sleek Forever After 1 hr 33 mins PG The Karate Kid 9 Frs 70 mils Regal Winter Park Vi lege 70
510 hicalh Orlando Aveuce, Wider Park, FL
PG-13 Crazy Like a Fox 1 h• 38 mils R Get Him to the S•siek 1 ir 49 mins PG-13 Iron Man 2 2 hrs 05 mins PG-13 Killers 1 hr .10 mins DG Letters to Juliet 1 hr 45 mins PG Marmaduke '
hr 27 mins PG-13 Friice of Persia: The Sands of Time 1 hr 55 mins PG-13 Robin -locd 2 hrs 20 mins R Sex and the City 2 2 hrs 27 rrirs FG Srrek Forever Ater 1 Fr 33 mins PG Sirek
Forever After 3D 1 Fr 33 m n3 II Sp ice 1 hr 4, mins ,C-13 The A-Team 1 Fr 57 in n3 PO The Karate Kid 2 hrs 20 mins Enzian Theatre
MOO %nth Nan& Avanna Maitland, F!
R The Secie. in Their Eyes (El serae.0 de SJS UjUS) 2 his 35 mins Ciiienterk al Festival Bay
5150 ,nterrational Drive, Cdando, FL
R Get Him to the week 1 ir 49 mins PG Hotel for Does 1 hr 40 mins .G-13 Iron Man 2 2 hrs 05 mils PG-13 Killers 1 M40 mins PG Marnaduke 1 hr 27 mins PG-13 Prnce of Persia: The
Sands of T me 1 Fr SS m n3 PO-13 Robin Hood 2 hrs 20 mins R Sex and the City 2 2 hrs 27 mins PC Shrek Forever .After 1 hr 33 mins PC Shrek Forever After 3D 1 Fr 33 m na R Sp ice 1 hr
44 mins PG-13 TF A A-Team 1 hr 57 mins PG The Karate Kid 9 hm 90 mins Sniithohase 7 - Truchstar Cinemas vl
Completion of the process after the callback response is received.
References:
· This document of the SIF component of ISG is based on the sample demo written by
Vijay and is published in his blog entry:
http://blogs.oracle.com/ebusinesssuiteintegration/2009/07/invoking_web_service_from_orac_1.html
· Note 736404.1 How To Troubleshoot Service Invocation Framework(SIF) In
12.1.1 Integrated SOA Gateway