tuscany-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raymond Feng <enjoyj...@gmail.com>
Subject Re: Configuring a JAX-RS ExceptionMapper
Date Tue, 18 Dec 2012 07:04:41 GMT
You can add a file named as META-INF/wink-application to the class path. The content will be
the class name of your provider class.

Sent from my iPad

On Dec 17, 2012, at 10:39 PM, "David Donn" <david.donn@pacnet.com> wrote:

> Hi,
> 
> I have a service with a REST binding. How do I configure a JAX-RS
> ExceptionMapper? I have added the @Provider annotation but that doesn't
> appear to be enough.
> 
> I am using Tuscany 2.0 Beta 3 running in Tomcat using
> TuscanyServletFilter.
> 
> Any assistance would be much appreciated.
> 
> Regards,
> David Donn

Mime
View raw message