I committed some changes yesterday that I hoped would produce a better error 
message.  I just committed a few more changes as well.    Any chance you could 
try with the latest 2.7.0-SNAPSHOT code from trunk and post a new stack trace?

Dan



On Sep 6, 2012, at 3:23 AM, Fabio Martelli <[email protected]> wrote:

> 
> Il giorno 05/set/2012, alle ore 19.54, Glen Mazza ha scritto:
> 
>> I'm not sure how useful the proxyFactory alone would be, our 
>> java-first-spring-support sample that uses similar configuration: 
>> http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/src/main/resources/client-beans.xml?revision=1209152&view=markup
>>  also provides configuration for the client ("<bean id="client"...).
> Hi Glen,
> first of all thank you for your reply.
> 
> Unfortunately the problem persists.
> I configured my application, more or less, like the example provided by you 
> (spring 3.0.6-RELEASE and cxf 2.7.0-SNAPSHOT) but the exception is always the 
> same.
> Any idea? Can I try to do something more?
> 
> Best regards,
> F.
> 
>> Glen
>> 
>> On 09/05/2012 08:32 AM, Fabio Martelli wrote:
>>> Hi All,
>>> upgrading CXF version from 2.4.8 to 2.6.X I have the following exception.
>>> 
>>> 14:01:52.641 [main] DEBUG o.a.c.r.DefaultResourceManager - resolving 
>>> resource <org.apache.cxf.ws.policy.PolicyEngineImpl/bus> type <interface 
>>> org.apache.cxf.Bus>
>>> 14:01:52.642 [main] DEBUG o.a.c.r.DefaultResourceManager - resolving 
>>> resource <null> type <interface org.apache.cxf.Bus>
>>> 14:01:52.642 [main] DEBUG o.a.c.c.injection.ResourceInjector - failed to 
>>> resolve resource org.apache.cxf.ws.policy.PolicyEngineImpl/bus
>>> 14:01:52.651 [main] ERROR o.c.b.soap.WebServiceConnection - Unknown 
>>> exception
>>> org.apache.cxf.bus.extension.ExtensionException: null
>>>     at org.apache.cxf.bus.extension.Extension.load(Extension.java:222) 
>>> ~[cxf-rt-core-2.6.0.jar:2.6.0]
>>>     at 
>>> org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:199)
>>>  ~[cxf-rt-core-2.6.0.jar:2.6.0]
>>>     at 
>>> org.apache.cxf.bus.extension.ExtensionManagerImpl.initialize(ExtensionManagerImpl.java:118)
>>>  ~[cxf-rt-core-2.6.0.jar:2.6.0]
>>>     at 
>>> org.apache.cxf.bus.extension.ExtensionManagerBus.doInitializeInternal(ExtensionManagerBus.java:147)
>>>  ~[cxf-rt-core-2.6.0.jar:2.6.0]
>>>     at org.apache.cxf.bus.CXFBusImpl.initialize(CXFBusImpl.java:191) 
>>> ~[cxf-rt-core-2.6.0.jar:2.6.0]
>>>     at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:43) 
>>> ~[cxf-rt-core-2.6.0.jar:2.6.0]
>>>     at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:36) 
>>> ~[cxf-rt-core-2.6.0.jar:2.6.0]
>>>     at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:32) 
>>> ~[cxf-rt-core-2.6.0.jar:2.6.0]
>>>     at 
>>> org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:119)
>>>  ~[cxf-rt-core-2.6.0.jar:2.6.0]
>>>     at 
>>> org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:95)
>>>  ~[cxf-rt-core-2.6.0.jar:2.6.0]
>>>     at 
>>> org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:69)
>>>  ~[cxf-rt-core-2.6.0.jar:2.6.0]
>>>     at 
>>> org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:58)
>>>  ~[cxf-rt-core-2.6.0.jar:2.6.0]
>>> .......
>>> 
>>> Can someone help me to solve the problem?
>>> 
>>> The application is a simple SOAP client spring based. Following my 
>>> application context.
>>> 
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <beans xmlns="http://www.springframework.org/schema/beans";
>>>       xmlns:jaxws="http://cxf.apache.org/jaxws";
>>>       xmlns:context="http://www.springframework.org/schema/context";
>>>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>>       xmlns:oxm="http://www.springframework.org/schema/oxm";
>>>       xsi:schemaLocation="
>>>        http://www.springframework.org/schema/beans
>>>        http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>>>        http://cxf.apache.org/jaxws
>>>        http://cxf.apache.org/schemas/jaxws.xsd
>>>        http://www.springframework.org/schema/context
>>>        http://www.springframework.org/schema/context/spring-context.xsd";>
>>>             <bean id="proxyFactory" 
>>> class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
>>>    <property name="serviceClass" 
>>> value="org.connid.bundles.soap.provisioning.interfaces.Provisioning"/>
>>>    <property name="address" value=""/>
>>>  </bean>
>>> 
>>> </beans>
>>> 
>>> Am I missing something?
>>> 
>>> Thank you in advance.
>>> 
>>> Best regards,
>>> F.
>>> 
>> 
> 

-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to