tuscany-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Donn" <david.d...@pacnet.com>
Subject RE: Configuring a JAX-RS ExceptionMapper
Date Tue, 18 Dec 2012 22:53:19 GMT
That worked. Thanks so much Raymond!

-----Original Message-----
From: Raymond Feng [mailto:enjoyjava@gmail.com] 
Sent: Tuesday, 18 December 2012 6:05 PM
To: user@tuscany.apache.org
Cc: <user@tuscany.apache.org>
Subject: Re: Configuring a JAX-RS ExceptionMapper

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