Skip to main content

Relative endpoint address

The CXFServlet uses a relative address for the endpoint rather than a full http address. For example, given an implementation class called GreeterImpl with endpoints greeter and greeterRest, the relative endpoint addresses would be configured as:

<jaxws:endpoint id="greeter"

<jaxrs:server id="greeterRest"

The cumulative result of these changes is that the endpoint address for the servlet will be: http://{server}:8040/services/Greeter1 and http://{server}:8040/services/GreeterRest

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!