I have some problems deploying a JAX-WS webservice with Spring 3.0.6 on JBoss AS Final 7.1.1.
I have tried two first method from this tutorial: http://www.javacodegeeks.
I am also having problems deploying JAX-WS with similiar configuration. Indeed using the SpringBeanAutowiringSupport as described in Spring doc chapter "19.5.5 Exposing servlet-based web services using JAX-WS" doesn't work as expected.
See doc http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/remoting.html#remoting-web-services
But you are wrong here trying to use SimpleJaxWsServiceExporter. Chapter "19.5.6 Exporting standalone web services using JAX-WS" of spring doc.
This is making a conflict with web service that was was already registered by jboss.
For prove try following configuration with updated port number application context:
In final you will run with two services exposed
http://localhost:8080/war-root/MyService?wsdl
http://localhost:8081/MyService?wsdl
As for now I found two workarounds proposed by other people:
Both workarounds are working fine.