[jboss-user] [JBoss Web Services] - Re: JAX-WS @SchemaValidation not being performed on Tomcat 7.0.23 (while on Glassfish it is)

Erik Pelgrim do-not-reply at jboss.com
Fri Jul 13 10:28:20 EDT 2012


Erik Pelgrim [https://community.jboss.org/people/pelgrim] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/748044#748044

--------------------------------------------------------------
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
[https://community.jboss.org/message/748044#748044]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120713/6961326d/attachment.html 


More information about the jboss-user mailing list