You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2007/03/22 23:17:32 UTC

[jira] Resolved: (GERONIMO-3002) Error processing @WebServiceRefs annotation

     [ 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.