geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (GERONIMO-3002) Error processing @WebServiceRefs annotation
Date Thu, 22 Mar 2007 22:17:32 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-3002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jarek Gawor resolved GERONIMO-3002.
-----------------------------------

    Resolution: Fixed

Patch comitted, thanks! Committed revision 521497.



> Error processing @WebServiceRefs annotation
> -------------------------------------------
>
>                 Key: GERONIMO-3002
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3002
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: Jarek Gawor
>         Assigned To: Tim McConnell
>         Attachments: GERONIMO-3002.patch
>
>
> I'm getting the following exception when @WebServiceRefs(..) annotation is specified
at class level:
> Caused by: java.lang.IllegalArgumentException: You must supply exactly one of Me
> thod, Field
>         at org.apache.geronimo.j2ee.deployment.annotation.AnnotationHelper.getIn
> jectionJavaType(AnnotationHelper.java:46)
>         at org.apache.geronimo.j2ee.deployment.annotation.WebServiceRefAnnotatio
> nHelper.addWebServiceRef(WebServiceRefAnnotationHelper.java:249)
>         at org.apache.geronimo.j2ee.deployment.annotation.WebServiceRefAnnotatio
> nHelper.processWebServiceRefs(WebServiceRefAnnotationHelper.java:159)
>         at org.apache.geronimo.j2ee.deployment.annotation.WebServiceRefAnnotatio
> nHelper.processAnnotations(WebServiceRefAnnotationHelper.java:85)
> My understanding is that for the *s annotations the deployment descriptor is updated
however the values are not injected at runtime. Therefore, the injectionTarget element in
xml should not be generated for such annotations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message