1. How to Invoke a Web Service using ADF.
There are many ways to invoke the Web service in ADF. One of the best and controllable way is Proxy way. Follow the steps below to do so.
Steps to Invoke Web Service:
1. you should have admin rights in your PC
2. Install JDeveloper 11.1.1.5.0 ( you can download it from Oracle Site)
3. Create a Generic / Model Application
4. Create a Generic/Model Project under the application.
5. Right click on the project, NEW -> Web Service (
under All technologies , Business Components) -> Web Service Proxy.
6. Follow the Wizard
( it copies the WSDL into your local) and Finish.
7. Open the Client file "
XYZSoapHttpQSPortClient.java"
8. Right client on client file and Run. it will invoke the Web service.
<TBD> For the following, come back blog later....
1. How to Create a Data control from a Web service (WSDL)
2. How to make the WebService Data control as a re-usable Service in ADF.
3. How to invoke the Webservice DataControl in your Viewcontroller Layer
4. How to test and dubug
5. How to modify the WebService Datacontrol when the WSDL has been changed,
6. What is the advantage and dis-advantrage of using the WebService Datacontrol.
7.
How to create Data Controll for Secured webservice
8. How to create Java client proxy from Webservice WSDL in ADF?
9. How to Adjust the Endpoint for a Web Service Data Control ( when moving test env to prod)
References:
Oracle Blog:
https://blogs.oracle.com/middleware/entry/calling_web_services_using_adf_11g
Oracle Doc;
http://docs.oracle.com/cd/E16162_01/web.1112/e16182/web_services.htm
http://www.oracle.com/technetwork/developer-tools/jdev/overview/index-100269.html
http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/ps1/webservices/ws.html
Vedios:
http://www.youtube.com/watch?v=XF18vXxYkxM