Oracle ADF has a cool feature for building SOAP based webservices using ADF Business Components.I will take you through series of blog entries to build a simple webservices with ADF BC, adding validation using lovs, adding security to the web services etc.
I will be using Oracle XE for the database access and will post the workspace at code.adfapps.com website for you to checkout directly from your jdeveloper.
Step 1: Create an Oracle ADF Fusion Application in Oracle JDeveloper
Step 2: Create a DepartmentsEO and DepartmentsVO by connecting to the oracle XE database through the hr/hr schema.
Step 3: Now we can expose the webservice methods using the service interface of AM.
Step 4: Lets test the webservice from the jdeveloper itself.Select the CholaServiceImpl.java under the service interface in navigator and run it.
That’s it..As simple as that…We created a full fledged webservice which can perform create,update,delete and find operations on an Oracle table through ADF BC.
Get this project directly to your jdeveloper.
Click on Connect to Subversion after clicking on the versioning menu in your jdev.
Repository url : https://code.adfapps.com/svn/adfwebservices
Then in the versioning navigator open the connection and checkout the project to check it locally.