Sorry for the re-post (I thought the other may have been too long), but I am
not having any luck resolving why our web service clients are throwing the
exceptions below. We have a war with 2 servlets; one is the CXFServlet. If
the CXFServlet (loads the Spring contents with WEB-INF/cxf/cxf.xml) is
loaded or used prior to the other servlet containing the client, the
exceptions below are thrown when making a web service client call.
cxf.configuration.spring.ConfigurerImpl Could not determine bean name for
instance of class org.apache.cxf.jaxws.JaxWsProxyFactoryBean.
cxf.configuration.spring.ConfigurerImpl Could not determine bean name for
instance of class org.apache.cxf.jaxws.JaxWsClientFactoryBean.
cxf.configuration.spring.ConfigurerImpl Could not find a definition for
bean with id
{http://company.com/applicationname/Infrastructure/DocumentService_v3_0}IdiDocumentSvcPort.jaxws-client.proxyFactory
- no injection will be performed.
cxf.configuration.spring.ConfigurerImpl Could not find a definition for
bean with id
{http://company.com/applicationname/Infrastructure/DocumentService_v3_0}IdiDocumentSvcImpl_v3Service
- no injection will be performed.
cxf.configuration.spring.ConfigurerImpl Could not find a definition for
bean with id
{http://company.com/applicationname/Infrastructure/DocumentService_v3_0}IdiDocumentSvcPort.endpoint
- no injection will be performed.
Below is the stacktrace:
Exception Details
Type: NoSuchBeanDefinitionException: No bean named
'{http://company.com/applicationname/Infrastructure/DocumentService_v3_0}IdiDocumentSvcPort.jaxws-client.proxyFactory'
is defined
Exception Class:
org.springframework.beans.factory.NoSuchBeanDefinitionException
Message: No bean named
'{http://company.com/applicationname/Infrastructure/DocumentService_v3_0}IdiDocumentSvcPort.jaxws-client.proxyFactory'
is defined
Agent: server1@server1:31544
API: Exception
Thread Name: http-apr-127.0.0.1-29500-exec-33 <84242373> <84242373>
Exception StackTrace
Method Class Line File Name
getBeanDefinition
org.springframework.beans.factory.support.DefaultListableBeanFactory 575
<unknown>
getMergedLocalBeanDefinition
org.springframework.beans.factory.support.AbstractBeanFactory 1111
<unknown>
getMergedBeanDefinition
org.springframework.beans.factory.support.AbstractBeanFactory 892
<unknown>
getMergedBeanDefinition
org.springframework.beans.factory.support.AbstractBeanFactory 889
<unknown>
configureBean org.apache.cxf.configuration.spring.ConfigurerImpl 175
<unknown>
configureBean org.apache.cxf.configuration.spring.ConfigurerImpl 135
<unknown>
configureObject org.apache.cxf.frontend.ClientProxyFactoryBean 105
<unknown>
create org.apache.cxf.frontend.ClientProxyFactoryBean 133 <unknown>
create org.apache.cxf.jaxws.JaxWsProxyFactoryBean 142 <unknown>
createPort org.apache.cxf.jaxws.ServiceImpl 493 <unknown>
getPort org.apache.cxf.jaxws.ServiceImpl 359 <unknown>
getPort org.apache.cxf.jaxws.ServiceImpl 350 <unknown>
getPort javax.xml.ws.Service 119 <unknown>
invoke sun.reflect.GeneratedMethodAccessor1978 - <unknown>
invoke sun.reflect.DelegatingMethodAccessorImpl 43 <unknown>
invoke java.lang.reflect.Method 497 <unknown>
getEndPoint com.company.applicationname.sc.scx.ws.ScWebServiceBindingHelper
176 <unknown>
--
View this message in context:
http://cxf.547215.n5.nabble.com/Could-not-find-a-definition-for-bean-with-id-jaxws-client-proxyFactory-no-injection-will-be-performed-tp5771110.html
Sent from the cxf-user mailing list archive at Nabble.com.