[jbossws-issues] [JBoss JIRA] (JBWS-3641) cxf InInterceptors annotation not firing

David Lin (JIRA) jira-events at lists.jboss.org
Wed May 22 01:14:06 EDT 2013


David Lin created JBWS-3641:
-------------------------------

             Summary: cxf InInterceptors annotation not firing
                 Key: JBWS-3641
                 URL: https://issues.jboss.org/browse/JBWS-3641
             Project: JBoss Web Services
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: jbossws-cxf
         Environment: jboss 7.1.1
jdk 1.6
            Reporter: David Lin


Implement the web service using the jax-ws with cxf InInterceptor as following
@WebService(serviceName = "HelloService", 
portName = "HelloServicePort", 
name = "HelloService", 
endpointInterface = "simple.service.HelloService", 
targetNamespace = "urn:common:hello")
@InInterceptors(interceptors="org.apache.cxf.interceptor.LoggingInIntercepto")
public class HelloServiceImpl implements HelloService {
	@WebMethod
	public String sayHello() {
		return "Hello World";
	}
}

The META-INF/MANIFEST.MF is as following
Manifest-Version: 1.0
Dependencies: org.jboss.ws.cxf.jbossws-cxf-client services export

The web service is working fine but the interceptor is not firing. Tested in jboss 7.1.1 Final and 7.1.0 Final.

The jbossws-cxf module does no have the test case for the interceptor annotation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossws-issues mailing list