An Oracle JDeveloper How To Document
Written by Susan Duncan
March , 2004
Create the Data Control Layer
Use Web Service Data Control in a Struts Page Flow
Use Web Service Data Control in a JSP
Pass Parameter to Web Service Data Control
Conclusion and where to get more information
This How to describes the steps to use a web service in the Application Development Framework (ADF). The example uses two web services methods: one returns a JavaBean and the other takes a parameter that is passed from a previous page.
The data control layer exposes the web service to clients. The ADF framework creates the data bindings for you, so the only thing you need to do in this step is to create the data control.
Click the Greet link and check the correct name has been passed as a parameter to /greeting and displayed correctly
|listing.jsp does not return the rows||the web service is not running|
|greeting.jsp does not show the name||you have not correctly passd the parameter to greeting.do. See Pass Parameter|
This How To shows how easy it is you use a web service in ADF. ADF hides the complexity and underlying implementation from the developer and a web service can be used like any other component (Java class, EJB etc.) that is exposed as a Data Control.
|OTN Web Services Technology Centre|