[
http://jira.jboss.com/jira/browse/JBWS-1686?page=all ]
Thomas Diesler updated JBWS-1686:
---------------------------------
Description:
XFire cannot handle @Provider endpoints
15:43:06,239 ERROR [[TestEndpoint]] Allocate exception for servlet TestEndpoint
org.codehaus.xfire.annotations.AnnotationException: Class
org.jboss.test.ws.jaxws.samples.httpbinding.ProviderBeanPayload does not have a WebService
annotation
at
org.codehaus.xfire.annotations.AnnotationServiceFactory.create(AnnotationServiceFactory.java:311)
at org.codehaus.xfire.spring.ServiceBean.afterPropertiesSet(ServiceBean.java:176)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
at
org.codehaus.xfire.spring.XFireConfigLoader.getXFireApplicationContext(XFireConfigLoader.java:107)
at
org.codehaus.xfire.spring.XFireConfigLoader.loadContext(XFireConfigLoader.java:41)
at
org.jboss.wsf.stack.xfire.XFireConfigurableServletExt.loadConfig(XFireConfigurableServletExt.java:125)
at
org.jboss.wsf.stack.xfire.XFireConfigurableServletExt.createXFire(XFireConfigurableServletExt.java:98)
at org.codehaus.xfire.transport.http.XFireServlet.init(XFireServlet.java:45)
at javax.servlet.GenericServlet.init(GenericServlet.java:185)
at
org.jboss.wsf.stack.xfire.XFireConfigurableServletExt.init(XFireConfigurableServletExt.java:72)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
was:
XFire does not give access to the standard JAXWS WebServiceContext in its Invoker
interface
import org.codehaus.xfire.MessageContext;
import org.codehaus.xfire.fault.XFireFault;
/**
* The invoker class allows you to control how your service class is invoked.
* For instance, you could supply an alternate instance which used a Factory to
* create your service instead of XFire instantiating it.
*
* @author <a href="mailto:dan@envoisolutions.com">Dan
Diephouse</a>
* @since Nov 16, 2004
*/
public interface Invoker
{
Object invoke( Method m, Object[] params, MessageContext context )
throws XFireFault;
}
Add support for @Provider
-------------------------
Key: JBWS-1686
URL:
http://jira.jboss.com/jira/browse/JBWS-1686
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: integration-xfire
Reporter: Thomas Diesler
Assigned To: Thomas Diesler
Fix For: jbossws-2.1.0
XFire cannot handle @Provider endpoints
15:43:06,239 ERROR [[TestEndpoint]] Allocate exception for servlet TestEndpoint
org.codehaus.xfire.annotations.AnnotationException: Class
org.jboss.test.ws.jaxws.samples.httpbinding.ProviderBeanPayload does not have a WebService
annotation
at
org.codehaus.xfire.annotations.AnnotationServiceFactory.create(AnnotationServiceFactory.java:311)
at
org.codehaus.xfire.spring.ServiceBean.afterPropertiesSet(ServiceBean.java:176)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
at
org.codehaus.xfire.spring.XFireConfigLoader.getXFireApplicationContext(XFireConfigLoader.java:107)
at
org.codehaus.xfire.spring.XFireConfigLoader.loadContext(XFireConfigLoader.java:41)
at
org.jboss.wsf.stack.xfire.XFireConfigurableServletExt.loadConfig(XFireConfigurableServletExt.java:125)
at
org.jboss.wsf.stack.xfire.XFireConfigurableServletExt.createXFire(XFireConfigurableServletExt.java:98)
at org.codehaus.xfire.transport.http.XFireServlet.init(XFireServlet.java:45)
at javax.servlet.GenericServlet.init(GenericServlet.java:185)
at
org.jboss.wsf.stack.xfire.XFireConfigurableServletExt.init(XFireConfigurableServletExt.java:72)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
--
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