]
Alessio Soldano commented on JBWS-3865:
---------------------------------------
Documentation pending and coming before release.
Add ability to consume jboss-webservices.xml located in META-INF of
EAR archive
-------------------------------------------------------------------------------
Key: JBWS-3865
URL:
https://issues.jboss.org/browse/JBWS-3865
Project: JBoss Web Services
Issue Type: Feature Request
Components: jbossws-cxf
Reporter: Rostislav Svoboda
Assignee: Alessio Soldano
Fix For: jbossws-cxf-5.1.0.Final
Motivation from IRC chat:
<rsvoboda> asoldano, ping
<asoldano> rsvoboda, pong
<rsvoboda> asoldano, Hi Alessio, my colleague asked me if it's possible to add
jboss-webservices.xml into META-INF in ear ... to avoid duplication in WEB-INF for more
war archive ... I'm not sure we support this
<rsvoboda> asoldano, he is interested in
https://docs.jboss.org/author/display/JBWS/Apache+CXF+integration#ApacheC...
<asoldano> rsvoboda, mmh... I think that's not going to work atm, but he can
create a jira and we can evaluate feasibility
<rsvoboda> asoldano, ok, he did some experiments and properties defined in META-INF
weren't propagated ... and I wasn't sure we even support it :)
<asoldano> rsvoboda, when we added the jboss-webservices.xml we didn't even
think about ears ;)
I think reflecting jboss-webservices.xml located in META-INF of EAR archive is
"enterprise feature" we should consider.
There is open question what to do when warXY included in EAR contains
jboss-webservices.xml too...
- accept only properties defined in jboss-webservices.xml from META-INF of EAR archive
- accept only properties defined in jboss-webservices.xml from WEB-INF of warXY archive
- merge properties defined in jboss-webservices.xml from both location (sub-archive
jboss-webservices.xml overrides properties defined in EAR)