Real-Time Decision Server Integration Points are available through a Zero Client approach. Integration Points on a deployed Inline Service are exposed through a Web services definition.
The ability to invoke and asynchronously invoke a deployed Integration Point is exposed as a Web service by Real-Time Decision Server. The definition of these operations are available in a WSDL file, located at:
The WSDL file defines all complex types and operations available.
Some slight structural changes were introduced in Oracle Real-Time Decisions Version 2.2 to bring the Decision Service up to the WS-I Basic level of compliance. The previous version of the WSDL file is named:
Although implementors should develop new clients using the new WSDL, the server still understands the protocol defined by
DecisionServiceLegacy.wsdl, and existing clients should experience no loss of functionality.
The instructions in this chapter detail how to use Sun's NetBeans IDE to create a Java WSDL Web service client using the RTD DecisionService WSDL file. The code content for the Web service project Main class is also provided.
This chapter contains the following topics:
You must perform the following tasks first before you can work with the Web Service Client:
Download the NetBeans IDE (Java Bundle) from
Install and start the NetBeans IDE.
In Netbeans IDE, to create a new NetBeans Java application project, perform the following steps:
In the top menu, select File, then New Project.
In the New Project dialog:
Under Categories, select Java
Under Projects, select Java Application, then click Next
Name the Project, and click Finish.
Installing the JAX-RPC Web Service Plug-in
In the top menu, select Tools, then Plugins, then Available Plugins.
In the Plugins dialog, click the Available Plugins tab.
Check the Web Services plug-in check-box and click Install. Install the plug-in.
Creating an Oracle RTD Web Service Client
In the Projects explorer, right-click your project and select New, then Web Service Client...
In the New Web Service Client dialog, select the Local File radio button.
Click the Browse... button next to Local File:
Locate the file
DecisionService.wsdl in the Oracle Real-Time Decisions installation.
C:\OracleBI\RTD\client\Client Examples\Web Service Client Example\DecisionService.wsdl
For Client Style, select JAX-WS Style.
For Package, select your project package.
To add the provided Java code and to test the client, perform the following steps:
In the Projects explorer, create the package oracle.rtd.test.
Create classes Main and SecurityHandler under this package with the class contents in this example, as in the files Main.java and SecurityHandler.java in
RTD_HOME\client\Client Examples\Web Service Client Example.
You may delete the system generated Main class.
Right-click DecisionService under Web Service References, then click Configure Handlers...
In the Configure Message Handlers window, click Add, add the class oracle.rtd.test.SecurityHandler as handler, then click OK.
Select Run, then Run Main Project from the top menu.
View the output in the Output tab at the bottom of the IDE.