May be you also need to add a cxf.extension file to your application
jar/bundle which would contain the line

META-INF/cxf/cxf-extension-interact.xml

cheers, Sergey

On Fri, Nov 5, 2010 at 5:59 PM, firasarabo <[email protected]> wrote:

>
> not sure why my post didn't show the xml files so I am posting them again
> here
>
> 1- cxf-extension-interact.xml
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <beans xmlns="http://www.springframework.org/schema/beans";
>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>       xmlns:foo="http://cxf.apache.org/configuration/foo";
>       xsi:schemaLocation="
>       http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans.xsd";>
>
>
>    <!-- ===================================================================
> -->
>    <!-- CXF Linkage
> -->
>    <!-- ===================================================================
> -->
>
>    <bean
>
> id="com.space.something.mybinding.cxf.transport.interact.InteractTransportFactory"
>
>
> class="com.space.something.mybinding.cxf.transport.interact.InteractTransportFactory"
>          lazy-init="true">
>
>        <property name="bus" ref="cxf"/>
>        <property name="transportIds">
>            <list>
>
> <value>http://space.com/something/transports/iinteract</value>
>            </list>
>        </property>
>    </bean>
>
>  </beans>
>
>
> 2- service-spring-context.xml
>
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>       xmlns="http://www.springframework.org/schema/beans";
>       xmlns:aop="http://www.springframework.org/schema/aop";
>       xmlns:tx="http://www.springframework.org/schema/tx";
>       xmlns:context="http://www.springframework.org/schema/context";
>       xmlns:cxf="http://cxf.apache.org/core";
>       xmlns:jaxws="http://cxf.apache.org/jaxws";
>       xmlns:jaxrs="http://cxf.apache.org/jaxrs";
>       xmlns:simple="http://cxf.apache.org/simple";
>       xmlns:soap="http://cxf.apache.org/bindings/soap";
>
>       xsi:schemaLocation="http://www.springframework.org/schema/beans
>       http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
>       http://www.springframework.org/schema/context
> http://www.springframework.org/schema/context/spring-context-2.5.xsd
>       http://cxf.apache.org/transports/http/configuration
> http://cxf.apache.org/schemas/configuration/http-conf.xsd
>       http://cxf.apache.org/bindings/soap
> http://cxf.apache.org/schemas/configuration/soap.xsd
>       http://cxf.apache.org/simple
> http://cxf.apache.org/schemas/simple.xsd
>       http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd";
>       default-autowire="byName">
>
>    <import resource="classpath:META-INF/cxf/cxf.xml" />
>    <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
>    <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
>
>    <import resource="classpath:META-INF/cxf/cxf-extension-interact.xml" />
>
>
>    <jaxws:endpoint
>        id="myServiceInteract"
>
>
> implementor="com.space.myservice.calculator.servicesimpl.CalculatorServiceImpl"
>        address="interact://something/myService"
>        transportId="http://space.com/something/transports/interact";>
>    </jaxws:endpoint>
>
> </beans>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/org-apache-cxf-BusException-No-DestinationFactory-was-found-tp3252224p3252233.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>

Reply via email to