[jboss-jira] [JBoss JIRA] Created: (JBAS-5680) AnnotationMetaDataDeployer fails in finding classes with annotation on methods only
Alessio Soldano (JIRA)
jira-events at lists.jboss.org
Wed Jun 25 14:51:10 EDT 2008
AnnotationMetaDataDeployer fails in finding classes with annotation on methods only
-----------------------------------------------------------------------------------
Key: JBAS-5680
URL: http://jira.jboss.com/jira/browse/JBAS-5680
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Alessio Soldano
Fix For: JBossAS-5.0.0.CR1
I'm looking at this TCK failure http://hudson.qa.jboss.com/hudson/view/TCK5/job/tck5-webservices12/201/testReport/unknownTestSuite.0/packageTests/com.sun.ts.tests.webservices12.ejb.annotations.WSEjbPortMethodInjectionTest/
It seems the deploy process doesn't find that the Client class has the @WebServiceRef annotation on a setter method. Since the class is not recognised as an annotated one, the webserviceref bind fails.
public class Client extends EETest {
// The webserver defaults (overidden by harness properties)
private static final String PROTOCOL = "http";
private static final String HOSTNAME = "localhost";
private static final int PORTNUM = 8000;
// The webserver host and port property names (harness properties)
private static final String WEBSERVERHOSTPROP = "webServerHost";
private static final String WEBSERVERPORTPROP = "webServerPort";
private Properties props = null;
private String hostname = HOSTNAME;
private int portnum = PORTNUM;
@WebServiceRef(name="service/wsejbportmethodinjectiontest", value=HelloService.class)
static void setPort(Hello s) {
port = s;
}
static Hello port = null;
...
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list