Alessio Soldano [
http://community.jboss.org/people/asoldano] created the discussion
"Re: Problem with faults and classloaders in AS7"
To view the discussion, visit:
http://community.jboss.org/message/608323#608323
--------------------------------------------------------------
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/docs/DOC-16722
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
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/608323#608323]
Start a new discussion in JBoss Web Services Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]