HomeIndex > FAQ > Web Services questions > What is the endpoint address of my Web Service?

Servlet-based JAX-WS Web Services

For servlet-based JAX-WS Web Services the default endpoint address is:

/<context-root>/<servlet-url-mapping>

Where, the <content-root> is the context root set for the web application and the <servlet-url-mapping> is the <servlet-mapping> entry in the web.xml file defined for the Web Service.
If there is no web.xml file, <servlet-url-mapping> value is based on the @WebService.serviceName annotation attribute of the Web Service.

The endpoint address of the servlet-based JAX-WS Web Service is also logged during service deployment. You can find it by searching the geronimo.log file for "Configuring JAX-WS Web Service" string.

EJB-based JAX-WS Web Services

For EJB-based JAX-WS Web Services the default endpoint address is:

/@WebService.serviceName/@WebService.name

Where, the @WebService.serviceName and @WebService.name are annotation attributes of the Web Service.

The endpoint address of the EJB-based JAX-WS Web Service is also logged during service deployment. You can find it by searching the geronimo.log file for "Configuring EJB JAX-WS Web Service" string.