[jboss-jira] [JBoss JIRA] Commented: (JBAS-8403) <service-ref> element specified in jboss-web.xml is ignored for annotation driven servlets

Remy Maucherat (JIRA) jira-events at lists.jboss.org
Mon Sep 13 10:29:12 EDT 2010


    [ https://jira.jboss.org/browse/JBAS-8403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12550549#action_12550549 ] 

Remy Maucherat commented on JBAS-8403:
--------------------------------------

Your WS metadata should be in attachment key "annotated."+WebMetaData.class.getName()+":classes". I suppose it's there since the web service works. However, either the overriding (done in MergedJBossWebMetaDataDeployer) does not work, or the web service is created from metadata somewhere else. BTW, JBoss Web is doing nothing at all in this stuff, but the problem could be in AS server module, or metadata, or maybe the web service is created from some other metadata somewhere else.

> <service-ref>  element specified in jboss-web.xml is ignored for annotation driven servlets
> -------------------------------------------------------------------------------------------
>
>                 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: Remy Maucherat
>            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

        


More information about the jboss-jira mailing list