Introduction to Data Services

8-4 Oracle Fusion Middleware Developers Guide for Oracle Data Integrator ■ Name of the data source , as defined in your container. Depending on the Application server you are using, the data source might be local or global: – If your data source is global, you only need to enter the data source name in the Datasource name field. – If your data source is local, the data source name should be prefixed by java:compenv. Note that OC4J uses per default a global data source, Tomcat a local data source. Refer to the documentation of your application server for more information. ■ Name of data service : This name is used for the data services operating at the model level. You can also define a data service name for each datastore later.

4. Select a Service Knowledge Module SKM from the list, and set its options. See

the Oracle Fusion Middleware Connectivity and Knowledge Modules Guide for Oracle Data Integrator for more information about this KM and its options. Only SKMs imported into projects appear in this list.

5. Go to the Deployed Datastores tab.

6. Select every datastore that you wish to expose with a data service. For each of those, specify a Data Service Name and the name of the Published Entity.

7. From the File menu, click Save.

Although not required, you can also fine-tune the configuration of the generated data services at the datastore and column level. For example, you can specify the operations that will be permitted for each column. One important use of this is to lock a column against being written to via data services. To configure data services options at the datastore level:

1. In the Models tree in the Designer Navigator, select the datastore.

2. Double-click this datastore to edit it.

3. Select the Services tab.

4. Check Deploy as Data Service if you want the datastore to be deployed.

5. Enter the Data Service Name and the name of the Published Entity for the

datastore.

6. From the File menu, click Save.

To configure data service options at the column level:

1. In the Models tree in the Designer Navigator, select the column.

2. Double-click this column to edit it.

3. Select the Services tab.

4. Check the operation that you want to allow: SELECT, INSERT, DELETE. The

INSERT action includes the UPDATE action.

5. From the File menu, click Save.

8.3 Generating and Deploying Data Services

Once the model, data sources and container have been configured, it is possible to generate and deploy the data services.