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