To sum up what we said on IRC, before going deep into details (sorry) here are some general suggestions regarding classloading in AS7 and WS:
- take a look at http://community.jboss.org/wiki/JBossWS-AS7FAQ ; [to other readers: while some entries there might seem trivial, pretty much everything in there can help to avoid going crazy with classloading issue]
- consider setting dependencies on org.jboss.ws.jaxws-client or org.jboss.ws.cxf.jbossws-cxf-client to get all the ws stuff
- remember the "services" option when setting dependencies; as a rule of thumb, if the jars in the module you're setting a dependency to do contain stuff in META-INF/services (and/or export modules dependencies for which the same applies), you need that option unless you really know what you're doing and want to control the ServiceLoader behaviour in a custom way