Next ADF Training
Join Demo Session
Toggle Bar
  • Home
    Home This is where you can find all the blog posts throughout the site.
  • Categories
    Categories Displays a list of categories from this blog.
  • Tags
    Tags Displays a list of tags that have been used in the blog.
  • Bloggers
    Bloggers Search for your favorite blogger from this site.
  • Team Blogs
    Team Blogs Find your favorite team blogs here.
  • Archives
    Archives Contains a list of blog posts that were created previously.
  • Login
    Login Login form

How to build webservices with Oracle ADF Part 1

Posted by on in ADF Webservices
  • Font size: Larger Smaller
  • Hits: 3222
  • 0 Comments
  • Subscribe to this entry
  • Print
  • Report this post

b2ap3_thumbnail_2013-03-07_21-52-33.png

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

ed4tl4ts

wpjm1vpk

mpeol0zy

2veqnsue

 

Step 2: Create a DepartmentsEO and  DepartmentsVO by connecting to the oracle XE database through the hr/hr schema.

h0kyvbys

dbqeak1i

dpppzjea

3nxnqsz1

eeyccuh2

dzq3il2g

Step 3: Now we can expose the webservice methods using the service interface of AM.

r1t1g4me

5ol5ieou

dkof2vmm

apvpx2xa

rzy5f5cg

qibis3cj

Step 4: Lets test the webservice from the jdeveloper itself.Select the CholaServiceImpl.java under the service interface in navigator and run it.

gu231gvd

mvg4r5u1

5la5bxjq

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

username: adftraining

password: adftraining

Then in the versioning navigator open the connection and checkout the project to check it locally.

© Creative Commons Attribution Assurance 3.0 License.
0
  • No comments found

Login