Friday 29 November 2013

Creating ADF Data Control for Web Services


This blog we will see how to create ADF data controls for web service.

The following steps need to follow for creating ADF data control for a web service.

Step-1:- Create a Fusion Web Application (ADF)
   

Step-2:- Right click on the project and select “New”. Select “Web service” in the left side tab then selects “Web Service Data Control (SOAP/REST)” then click “OK”.

Step-3:- Now you can give the “Name” and “URL” of the data control. (URL contains the wsdl of the service).

Step-4:- Click on “Next”. Then it will display all operations of the service. Now you need to select the operation for which you want to create data control.


Step-5:- Now click on “Next” then it will display all the selected operations. Now you can give the XSD URL and XSL URL for the selected operations.
Note:-  If the XSD URL and XSL URL exist then give else leave it blank.


Step-6:- Now click “Next”. Now it will display the Endpoint Authentication screen. Here you can give the user name and password (if exist) for the data control port.

Step-7:- Now click”Next” then click “Finish”. Now all the existing data control will create.

Now you can use the data controls in your UI screen.

You can download the code:Download
 
Thanks...

No comments:

Post a Comment