cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-946) AOP with WS Endpoint
Date Fri, 31 Aug 2007 13:46:30 GMT

     [ https://issues.apache.org/jira/browse/CXF-946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp updated CXF-946:
----------------------------

    Fix Version/s: 2.0.2

> AOP with WS Endpoint
> --------------------
>
>                 Key: CXF-946
>                 URL: https://issues.apache.org/jira/browse/CXF-946
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0.1
>         Environment: O/S - Windows XP, Tomcat Web Server 6.x, Eclipse IDE
> Java EE container - Spring 2.0.5, SOAP Toolkit Apache CXF 2.0.1
>            Reporter: Gurpreet Singh Ahluwalia
>             Fix For: 2.0.2
>
>
> When using AOP with JAX-WS Endpoint, the following exception occurs on server startup.
The configuration is:
> <bean id="airServiceProxy" class="com.service.ServiceInterceptor">				
> 		</bean>	
> 			
> 		<aop:config>
> 			<aop:aspect id="servicecontextaware" ref="airServiceProxy">
> 				<aop:pointcut id="airServiceOperationForProxy" expression="execution(* com.webservice.AirWebService.*(..))"/>
> 				
> 				<aop:around pointcut-ref="airServiceOperationForProxy" method="doServiceInvocation"/>
> 			</aop:aspect>
> 		</aop:config> 
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'airWebService': Invocation of init method failed; nested exception is org.apache.cxf.service.factory.ServiceConstructionException:
Could not find definition for service $Proxy14Service.
> Caused by: 
> org.apache.cxf.service.factory.ServiceConstructionException: Could not find definition
for service $Proxy14Service.
> 	at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:114)
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:205)
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:262)
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:143)
> 	at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:89)
> 	at org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractEndpointFactory.java:81)
> 	at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:108)
> 	at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:129)
> 	at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:285)
> 	at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:226)
> 	at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:178)
> 	at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:338)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1214)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1179)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1145)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
> 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
> 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:279)
> 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:360)
> 	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:241)
> 	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
> 	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
> 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
> 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
> 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
> 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
> 	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
> 	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
> 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
> 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
> 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
> 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
> 	at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
> 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
> 	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> 	at org.apache.catalina.core.StandardService.start(StandardService.java:448)
> 	at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
> 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message