Accessing a service interface method from another application module
In the recipe Exposing a custom method as a web service in this chapter, we went through the steps required to service-enable an application module and expose a custom application module method as a web service. We will continue in this recipe by explaining how to invoke the custom application module method, exposed as a web service, from another application module.
Getting ready
This recipe will call the adjustCommission()
custom application module method that was exposed as a web service in the Exposing a custom method as a web service recipe in this chapter. It requires that the web service is deployed in WebLogic and that it is accessible.
The recipe also requires that both the SharedComponents
workspace and the HRComponents
workspace are deployed as ADF Library JARs and that are added to the workspace used by this specific recipe. Additionally, a database connection to the HR
schema is required.
How to do it…
1. Ensure...