The figure shows how values in the configuration file for the Web Services Assembly tool are used to populate elements in the application.xml
file.
The configuration file contains these lines:
<web-service> <!-- display-name populates the display-name element in application.xml --> <display-name>Employee Benefit Manager Web Service</display-name> <destination-path>build/empbft-ws.ear</destination-path> <temporary-directory>.</temporary-directory> <!-- context populates the context-root element in application.xml --> <context>/employeebenefitmanager</context> <stateless-session-ejb-service> <!-- path populates the ejb element in application.xml --> <path>build/empbft/empbft-ejb.jar</path> <uri>/Service</uri> <ejb-name>EmployeeBenefitManager</ejb-name> </stateless-session-ejb-service> </web-service>
The application.xml
file generated by the Web Services Assembly tool contains these lines:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE application ... > <application> <!-- value for display-name taken from display-name in the config file --> <display-name>Employee Benefit Manager Web Service</display-name> <description>Oracle Web Service empbft-ws.ear</description> <module> <web> <web-uri>empbft-ws_web.war</web-uri> <!-- value for context-root taken from context element in the config file --> <context-root>/employeebenefitmanager</context-root> </web> </module> <module> <!-- value for ejb taken from path element in the config file --> <ejb>empbft-ejb.jar</ejb> </module> </application>