Hi all,

I have found a problem with the servicemix cxf stack and Spring AOP. The
issue is already resolved in the CXF project thanks to "implementorClass"
attribute ("The implementor class name, it is really useful when you specify
the implementor with the ref bean which is wrapped by using Spring AOP").
More details [1].

My configuration is (using Servicemix 3.2.2):

           <cxfbc:consumer wsdl="classpath:wsdl/my wsdl.wsdl"
                            targetService="tn:MyService"
                            targetInterface="tn:MyService"  />
            <cxfse:endpoint>
                <cxfse:pojo>
                  <bean class="bla.bla.MyServiceImpl" />
                </cxfse:pojo>
            </cxfse:endpoint>

MyServiceImpl contains the JAX-WS annotations correctly. Everything is ok if
MyServiceImpl is not proxied by Spring AOP. Although, if MyServiceImpl is
proxied i get this routing error:

"org.apache.cxf.interceptor.Fault: Could not find route for exchange"

To sum up, i imagine CXF SE is not able to get the service and inteface name
from the proxy.

Any suggestions or workarounds?

Thanks in advance.

BR,

Juanjo.

[1] http://cwiki.apache.org/CXF20DOC/jax-ws-configuration.html

Reply via email to