views:

19

answers:

0

I am trying to deploy a Web Service in JBoss 5 AS, without using the JBossWS which is the Red Hat's implementation of jsr-224. Thus, I am deploying my services in a .war file that already contains the JAX-WS Reference Implementation.

When I try to deploy the service without shipping the JAX-WS RI in my .war, it just deploys without issues just by mapping my services in the web.xml file. However, if I ship the JAX-WS RI .jar in my .war, the server does not deploy the service, and if I try to invoke it, I get a:

Class is not a Servlet

error. How can I deploy a service in JBoss without relying on the JBoss' implementation of jsr-224 but using my own implementation?