Exception handling JAX-WS 2.1.4 on Tomcat causes HTTP 500 on client
I have a service which throws a checked exception. However when I deploy this service on Tomcat (6.x) with JAX-WS 2.1.4 I get an HTTP 500 on the client side. When the same service is deployed using the JDK's Endpoint.publish the exception is handled correctly.
I had a look through the specification which has some suggestions on this issue and mentions the 500 error, however I have not been able to find a example which demonstrates how I can correct this behaviour.
public class ServiceProvider
public synchronized Result fetch(...INPUT...) throws LicenseException
public class LicenseException extends Exception
/** Creates a new instance of LicenseException */
public LicenseException(String message)
public String getFaultInfo()