Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6048

jboss-webservices.xml descriptor doesn't override @WebContext annotation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 10.1.0.Final
    • 9.0.2.Final
    • Web Services
    • None
    • ubuntu 14.04, Java 7

      It seems that annotation WebConfig takes precedence over jboss-webservices.xml descriptor values. It doesn't seem right as you cannot override annotation values for test purposes for example.

      Problematic code seems to be:
      org.jboss.as.webservices.metadata.AbstractMetaDataBuilderEJB:159
      (should prefer JBossPortComponentMetaData over EJBEndpoint)

      and

      org.jboss.ws.common.deployment.EndpointAddressDeploymentAspect:177
      (should prefer EJBSecurityMetaData over annotation value)

              dtikhomi@redhat.com Dmitrii Tikhomirov
              oczek_jira Wojciech Oczkowski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: