Exposing Appmodule's VO as a webservice is pretty easy in Oracle ADF. It can be achieved very quickly
Here are the steps:
Here are the steps:
- Open the Appmodule and go to ServiceInterface link.
- Before creating the ServiceInterface you can also create your custom methods exposed to AM. These will be also converted to webservices.
- Now click on + icon in the ServiceInterface tab of AM.
- Custom methods exposed to AM will be displayed here as the Service
Custom methods. Expose these if you want to. - Now go to Service View Instances tab to expose your VOs to the webservices.
- Now you are ready to deploy this AM service interface to your server. Follow the deployment steps as follows:-
- Go to your model- >right click-> Deployment profiles->Business Components Service interface-> give a meaning full profile name.
- Now go to Application properties ->Deployment->Edit the ear-> Application Assembly->Model->Check only MiddleTier[Uncheck the common].
- Click Ok and deploy the ear to your server.
- Don't forget to add yourAppModuleNameService?wsdl after the model context-root
No comments:
Post a Comment