RE: Configuring a JAX-RS ExceptionMapper

2012-12-18 Thread David Donn
That worked. Thanks so much Raymond! -Original Message- From: Raymond Feng [mailto:enjoyj...@gmail.com] Sent: Tuesday, 18 December 2012 6:05 PM To: user@tuscany.apache.org Cc: Subject: Re: Configuring a JAX-RS ExceptionMapper You can add a file named as META-INF/wink-application to the

Re: Configuring a JAX-RS ExceptionMapper

2012-12-17 Thread Raymond Feng
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" wrote: > Hi, > > I have a service with a REST binding. How do I configure a JAX-RS > ExceptionMapper

Configuring a JAX-RS ExceptionMapper

2012-12-17 Thread David Donn
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