Configurable base address in WADL
Make the base address configurable according to the public hostname that clients use to access the server instance. Typically, if the server is reached via a reverse-proxy, the wadl base adress is by default something like http://localhost:8080 which does not make sense for external clients.
Use CXF feature to fix it: http://cxf.apache.org/docs/jaxrs-services-description.html#JAXRSServicesDescription-Changingthebaseaddress