[
https://jira.jboss.org/browse/JBAS-8403?page=com.atlassian.jira.plugin.sy...
]
Richard Opalka updated JBAS-8403:
---------------------------------
Attachment: working-jaxws-jbws3123.ear
Attaching the same test, but this one uses web.xml instead of annotations.
That's the only difference. As you can see, this usecase works as expected
when accessing
http://localhost:8080/jaxws-jbws3123-web/ServletTest
i.e. jboss-web.xml overrides takes effect over annotated fields.
Thus problem seems to be only with Servlet 3.0 compliant servlets (using annotations
instead of web.xml DD)
<service-ref> element specified in jboss-web.xml is ignored
------------------------------------------------------------
Key: JBAS-8403
URL:
https://jira.jboss.org/browse/JBAS-8403
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Web (Tomcat) service
Reporter: Richard Opalka
Assignee: Emanuel Muckenhuber
Priority: Blocker
Fix For: 6.0.0.CR1
Attachments: jaxws-jbws3123.ear, working-jaxws-jbws3123.ear
I have Servlet 3 spec. compliant servlet that injects Web Service references.
I provide jboss-web.xml to override some runtime data (wsdl-location namely).
However this jboss-web.xml provided file seems ignored.
I was debugging this problem and I found that
org.jboss.web.deployers.WarAnnotationMetaDataDeployer
creates JBossWebMetaData that are later used for Web Service References injection.
What I'm missing is some "merge" code that will override
WarAnnotationMetaDataDeployer
provided JBossWebMetaData with JBossWebMetaData specified in jboss-web.xml
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira