]
Dmitrii Tikhomirov updated WFLY-6048:
-------------------------------------
Git Pull Request: (was:
jboss-webservices.xml descriptor doesn't override @WebContext
annotation
------------------------------------------------------------------------
Key: WFLY-6048
URL:
https://issues.jboss.org/browse/WFLY-6048
Project: WildFly
Issue Type: Bug
Components: Web Services
Affects Versions: 9.0.2.Final
Environment: ubuntu 14.04, Java 7
Reporter: Wojciech Oczkowski
Assignee: Dmitrii Tikhomirov
Priority: Minor
Attachments: ws-xml-override.zip
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)