Last updated on OCTOBER 04, 2016
Applies to:Oracle Workflow Cartridge - Version 12.0 to 12.0.6 [Release 12]
Information in this document applies to any platform.
Checked for relevance on 28-JUL-2012
***Checked for relevance on 24-Jan-2014***
As per Oracle Workflow Developer's guide for R12 , apart from standard default rule function named WF_RULE.Default_Rule which performs basic subscription processing , Oracle Workflow also provides additional standard rule functions that you can use for advanced processing, testing, debugging, or other purposes. "oracle.apps.fnd.wf.bes.WebServiceInvokerSubscription" is one of them which Invokes a business process execution language (BPEL) process or other Web service using the Simple Object Access Protocol (SOAP).
To invoke a BPEL process, identify the triggering business event, and define the BPEL process to accept the event data payload. Then identify the Web Services Description Language (WSDL) description URL and other Web service properties for the BPEL process, and define a subscription to your event with those properties set as the subscription parameters. When the event occurs, the Business Event System executes the subscription and invokes the BPEL process.
To invoke any other Web service, identify the triggering business event, identify the WSDL description URL and other properties for the Web service, and define a subscription to the event with those properties set as the subscription parameters. When the event occurs, the Business Event System executes the subscription and invokes the Web service.
The oracle.apps.fnd.wf.bes.WebServiceInvokerSubscription Java class is a standard rule function that implements the SubscriptionInterface Java interface. This rule function sends the event data to the Web service when the subscription is executed. This class can also be extended to add custom processing if needed.
The following are the parameters which the rule function accepts in order to invoke the web service:
- SERVICE_WSDL_URL - The URL where the Web Services Description Language
(WSDL) description for the Web service is located. If the Web service is a BPEL process, you can specify the path of the WSDL description on the BPEL server.
- SERVICE_NAME - The name of the Web service.
- SERVICE_PORTTYPE - The port type, or set of abstract operations, that includes the operation to invoke.
- SERVICE_OPERATION - The operation to invoke.
- SERVICE_PORT - A single communication endpoint defined by a combination of a network address and a binding. The binding specifies concrete protocol and data format specifications for the operations and messages defined by the port type.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms