Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.
Holger Staudacher edited this page May 20, 2014 · 9 revisions

I'm receiving a 404 when accessing the my services

  • Check that you have started the com.eclipsesource.jaxrs.publisher bundle.

I'm using the EclipseLink MOXy/Gson @Provider but serialization does not work

  • Check that the responsible provider bundle e.g. com.eclipsesource.jaxrs.provider.moxy is active.

I would like to execute a local build, how?

You have two options:

How can I change the /services root path?

By default the publisher registers the services using the context path /services. This means an OSGi service that is annotated with @Path( "/foo" ) will be available using the path /services/foo. This context path is configurable using the OSGi configuration admin. You can configure the service using the service.pid com.eclipsesource.jaxrs.connector and the property root to define a custom path.

How do I get the status code from failed requests?

The JAX-RS consumer throws a RequestException when the server returns a 4xx or 5xx status. The RequestException has methods to get information about the failed request.

Clone this wiki locally