Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3865

Add ability to consume jboss-webservices.xml located in META-INF of EAR archive

    XMLWordPrintable

    Details

      Description

      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#ApacheCXFintegration-WorkQueueconfiguration
      <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)

        Attachments

          Activity

            People

            Assignee:
            asoldano Alessio Soldano
            Reporter:
            rsvoboda Rostislav Svoboda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: