JBoss Community

Re: JAX-WS @SchemaValidation not being performed on Tomcat 7.0.23 (while on Glassfish it is)

created by Erik Pelgrim in JBoss Web Services - View the full discussion

After two days of trying I finally got it to work on Tomcat.

Apperantly Tomcat does not support JAXWS-RI by default, which was needed, so I had to switch my JAXWS libraries by JAXWS-RI libraries.

Then on Tomcat I had to add the "endorsed" directory to the Tomcat home directory and place jaxws-api.jar (from JAXWS-RI) in there otherwise it conflicted with Tomcats own classes.

 

Hopefully someone else will find this useful in the future!

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community