On Oct 28, 2009, at 9:09 PM, FSauer_at_dsthealthsolutions.com wrote:
>
> I added the following but that does not seem to have an effect.
> I used the same technique prior to using the Spring integration and
> it worked fine.
>
> <init-param>
> <param-
> name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
> <param-
> value>com.dsths.rest.core.AcceptHeaderNormalizer</param-value>
> </init-param>
>
Jersey version?
Anything in the server logs to indicate an issue instantiating
AcceptHeaderNormalizer?
Did you change AcceptHeaderNormalizer to be a Spring component?
I modified the spring-annoations sample to add logging:
<init-param>
<param-
name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
<param-
value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
</init-param>
<init-param>
<param-
name>com.sun.jersey.spi.container.ContainerResponseFilters</param-name>
<param-
value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
</init-param>
and it worked fine, with requests and responses being logged.
Paul.