Alessio Soldano [
http://community.jboss.org/people/alessio.soldano%40jboss.com] replied to
the discussion
"jbossws-cxf and the spring libs in AS"
To view the discussion, visit:
http://community.jboss.org/message/549738#549738
--------------------------------------------------------------
Ales Justin wrote:
> Yes... the problem is that currently the deployment is recognized as a WS one after
the classloading phase (in real phase) as in most cases the only way of doing that is
finding jaxws annotations on the endpoint.
>
What about if you search for this Spring WS config file?
Unfortunately this would
not always work either, as that config file is optional. Basically you can deploy a simple
jaxws endpoint in jar having no descriptors at all. While of course spring would not be
needed in that case, the deployment unit classloader would not see the required cxf
classes from cxf jars (as those need to be in the isolated classloader together with the
spring jars because some classes in cxf jars references classes in spring jars).
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/549738#549738]
Start a new discussion in JBoss Microcontainer at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]