Using Web Service Data Control in ADF

Tweet about this on TwitterShare on Facebook1Share on LinkedIn0Share on Google+0

If your ADF application needs to consume a web service, don’t worry!
It is a piece of cake when you use the Web Service Data Control.
In this post, you will learn how to do it.

Download the sample application: ADFWSDCApp.zip.

Create a new Web Service Data Control (SOAP/REST).

using-web-service-data-control-in-adf1

Name the Data Control as HRDataSource.
In the URL field, I specified the WSDL URL of the service that I created here: Expose Application Module as SOAP Web Service.

using-web-service-data-control-in-adf2

Select all operations and click Finish.

using-web-service-data-control-in-adf3

Drag the employeesView1 into the page and click OK.

using-web-service-data-control-in-adf4

Drag the createEmployees(Object) into the page as ADF Button and click OK.

using-web-service-data-control-in-adf5

Now, execute your application!

using-web-service-data-control-in-adf6

using-web-service-data-control-in-adf7

using-web-service-data-control-in-adf8

Tweet about this on TwitterShare on Facebook1Share on LinkedIn0Share on Google+0

Autor: Waslley Souza

Consultor Oracle com foco em tecnologias Oracle Fusion Middleware e SOA. Certificado Oracle WebCenter Portal, Oracle ADF e Java.

Deixe uma resposta

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *