Contained Within
Find More DocumentationFeatured Support Resources | Download this book in PDF (1146 KB)
WwebSpecifies the application’s web tier configuration. Superelementssun-application (sun-application.xml) SubelementsThe following table describes subelements for the web element. Table A–128 web Subelements
web-uriContains the web URI for the application. Must match the corresponding element in the application.xml file. Superelementsweb (sun-application.xml) Subelementsnone - contains data webservice-descriptionSpecifies a name and optional publish location for a web service. Superelementssun-web-app (sun-web.xml), enterprise-beans (sun-ejb-jar.xml) SubelementsThe following table describes subelements for the webservice-description element. Table A–129 webservice-description subelements
webservice-description-nameSpecifies a unique name for the web service within a web or EJB module. Superelementswebservice-description (sun-web.xml, sun-ejb-jar.xml) Subelementsnone - contains data webservice-endpointSpecifies information about a web service endpoint. Superelementsservlet (sun-web.xml), ejb (sun-ejb-jar.xml) SubelementsThe following table describes subelements for the webservice-endpoint element. Table A–130 webservice-endpoint subelements
wsdl-overrideSpecifies a valid URL pointing to a final WSDL document. If not specified, the WSDL document associated with the service-ref in the standard Java EE deployment descriptor is used. Superelementsservice-ref (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml) Subelementsnone - contains data Example// available via HTTP <wsdl-override>http://localhost:8000/myservice/myport?WSDL</wsdl-override> // in a file <wsdl-override>file:/home/user1/myfinalwsdl.wsdl</wsdl-override> wsdl-portSpecifies the WSDL port. Superelementsport-info (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml) SubelementsThe following table describes subelements for the wsdl-port element. Table A–131 wsdl-port subelements
wsdl-publish-locationSpecifies the URL of a directory to which a web service’s WSDL is published during deployment. Any required files are published to this directory, preserving their location relative to the module-specific WSDL directory (META-INF/wsdl or WEB-INF/wsdl). Superelementswebservice-description (sun-web.xml, sun-ejb-jar.xml) Subelementsnone - contains data ExampleSuppose you have an ejb.jar file whose webservices.xml file’s wsdl-file element contains the following reference: META-INF/wsdl/a/Foo.wsdl Suppose your sun-ejb-jar file contains the following element: <wsdl-publish-location>file:/home/user1/publish</wsdl-publish-location> The final WSDL is stored in /home/user1/publish/a/Foo.wsdl. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||