![]() ![]() ![]() ![]() ![]() ![]() |
AquaLogic Data Services Platform can be accessed from AquaLogic Service Bus. Thus an AquaLogic Service Bus client make full use of data services (Figure 8-1). This allows a more efficient and flexible approach to accessing data services than exposing them as web services via WebLogic Workshop and Java Web Services (JWS).
To make an AquaLogic Data Service Platform data service available to an AquaLogic Service Bus client, you need to do the following:
Your client is then able to access the data service as an AquaLogic Service Bus client.
The following section provides the details.
Note: | The following assumes that you are running AquaLogic Service Bus 2.5 under WebLogic Server 9.2 and AquaLogic Data Service Platform under WebLogic Server 8.1. |
Perform the following steps to access AquaLogic Data Services Platform from AquaLogic Service Bus:
For example, suppose that the MortgageBroker application sample in AquaLogic Service Bus needs access to a RTLApp data service that comes with AquaLogic Data Service Platform.
You then need to start the server for the AquaLogic Service Bus Mortgage Broker examples (on Windows you can do this by selecting:
Start All Programs
BEA Products
Examples
AquaLogic Service Bus
Start Examples Server
You also need to start the server for the RTL demo (on Window you can do this by selecting:
Start All Programs
BEA WebLogic Platform 8.1
BEA AquaLogic Data ServicesPlatform2.5
Examples
RTL Demo
Launch RTL Demo Server
You can obtain the WSDL for the Data Service in two different ways. Each is described below.
.ds
file) that you want to be available from AquaLogic Service Bus and select it.
For example, if you had navigated to the Customer.ds
file in the RTLApp, Customer.wsdl
will be generated.
Start All Programs
BEA WebLogic Platform 8.1
BEA AquaLogic Data Services Platform 2.5
Examples
RTL Demo
AquaLogic Data Services Console
You can also do this by typing http://localhost:7001/ldconsole
in your web browser.
ldplatform
, then your application underneath it. Data Services
and to the data service for your application.
For instance, if your application were the RTLApp example application, then you would navigate from ldplatform
to RTLApp
to Data Services
to RTLServices
.
If you were exporting a service from the RTLApp example, you might pick Customer
.
The WebLogic Server Console will appear in a new window. Click on Deployments under Your Deployed Resources.
dsp_transport.ear
, in WebLogic Server 8.1.
In Windows, this is located at:
<bea_home>\weblogic81\liquiddata\application\
dsp_transport.ear
and click Next.
dsp_transport
will appear under Deployments.
dsp_transport.ear
and select Servicing All Requests from the Start drop-down menu. This will complete activation.Note: | There will be either a Create or an Edit button in the Change Center, depending on whether you are creating a new session or editing an existing one. |
For more information, see Adding a WSDL in "Using the AquaLogic Service Bus Console."
Customer.wsdl
for the sample RTLApp, then you might want to name your business service CustomerBS. Enter an optional description of the service.
If you were running the sample application and had imported Customer.wsdl
as described above, you would select CustomerSoapBinding (Figure 8-4).
dsp
from the drop-down menu. Then enter the Endpoint URI. For Endpoint URI, enter:t3://<host:port>/<application_name>
.
If you were running the RTLApp as described above in the default setup, you would enter:
The business service should then appear under the table of Resources. If you were creating CustomerBS
, it will appear in the table.
For more information, see Adding a Business Service in "Using the AquaLogic Service Bus Console."
The procedure for creating the proxy service is similar to that for creating the business service.
CustomerBS
, as in the example, select CustomerBS. Click Submit, then click Next.For more information, see Adding a Proxy Service in "Using the AquaLogic Service Bus Console."
getCustomer
method. In Response Document, you should see a list of customers.For more information, see Test Console in "Using the AquaLogic Service Bus Console."
For more information, see the following:
http://download.oracle.com/docs/cd/E13226_01/workshop/docs81/index.html
http://download.oracle.com/docs/cd/E13171_01/alsb/docs25/consolehelp/index.html
http://download.oracle.com/docs/cd/E13167_01/aldsp/docs25/admin/ldconsole.html
![]() ![]() ![]() |