web services data control operations control with web service method return node

About Oracle ADF Data Controls for Web Services

If you use web services as your business service technology, model information will be exposed to the view and controller layers through ADF data control interfaces implemented by thin, Oracle-provided adapter classes.

These data controls will be exposed on the Data Control Palette, as shown in the following figure.

Data Control Palette for web service

1 Web Service Data Control

The MyWebService1DataControl is the data control node. It is created by right-clicking on the web service container MyWebService1 in the navigator, and choosing Create Data Control.

2 Operations

Under the Operations node you can find the available web methods for the web service.

3 Data Control Associated with Web Service Method

The returnAllPersons() node is the data control associated with the web service.

4 return Node

This node is the return from the method on the web service.

Web Services That Return Arrays

When a web service returns a bean class that contains an array, it is important that the array node be the one used to provide the return values in the application, as shown in the following figure.

Data controls for web service which returns an array

The following files are created:


About Oracle ADF Data Controls
Developing Oracle ADF Business Components

Working with Web Services in the Model Project

Using Web Services in Applications

 

Copyright © 1997, 2004, Oracle. All rights reserved.