As long as you are using the

<bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl">

form, you will get that error with any recent version of CXF (>=2.4.x).    
CXFBusImpl is an internal class and should never be referenced directly like 
that.   You MUST use the <cxf:bus> form at this point or many things will 
not properly load.


Dan



On Tuesday, April 03, 2012 10:09:37 PM prashant wrote:
> Hi,
> 
> Actually It didn't help me. The issue was I require cxf configuration file
> on classpath and it was missing.
> Now there is no previous bean creation error even though I have following
> in y cxf config file
> 
> <cxf:bus>
>     <cxf:features>
>       <cxf:logging/>
>     </cxf:features>
>   </cxf:bus>
> and
> <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl">
> 
>     <property name="outInterceptors">
>       <list>
>         <ref bean="mapAggregator"/>
>         <ref bean="mapCodec"/>
>       </list>
>     </property>
>     <property name="outFaultInterceptors">
>       <list>
>         <ref bean="mapAggregator"/>
>         <ref bean="mapCodec"/>
>       </list>
>     </property>
>   </bean>
> 
> I tried to merge bean CXFBusImpl in cxf:bus but it didn't work, so I have
> kept it as it is.
> 
> Now there is new issue
> 
> 
> [2012-04-04 07:00:42,824] DEBUG org.apache.cxf.phase.PhaseInterceptorChain
> Adding interceptor
> org.apache.cxf.binding.soap.interceptor.SoapPreProtocolOutInterceptor@1299
> f7e to phase post-logical
> [2012-04-04 07:00:42,824] DEBUG org.apache.cxf.phase.PhaseInterceptorChain
> Adding interceptor
> org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor@1a631cc to
> phase write
> [2012-04-04 07:00:42,876] ERROR aanleverserviceClientLogger Exception
> occured while processing request :
> javax.xml.ws.soap.SOAPFaultException: Could not find conduit initiator for
> transport http://schemas.xmlsoap.org/soap/http
>         at
> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146)
> If you have any idea on this issue please reply
> 
> Thanks
> 
> 
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Error-loading-bean-definitions-tp5093853p
> 5616925.html Sent from the cxf-user mailing list archive at Nabble.com.
-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to