Did even more reading and came with another approach; but now getting the
following error:

Bundle testwebservice2queue/1.0.0 is waiting for namespace handlers
[http://camel.apache.org/schema/cxf,
http://www.springframework.org/schema/beans]

Blueprint is now:

<blueprint
        xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd";>


        <reference id="myJms" interface="javax.jms.ConnectionFactory"
filter="(osgi.jndi.service.name=jms/broker1)" />


        <camelContext xmlns="http://camel.apache.org/schema/blueprint";>
                <route>
                        <from
uri="cxf:bean:MyTestEndpoint?serviceClass=PAYLOAD&amp;wsdlLocation=wsdl/my_test_1.1.wsdl"
/>
                        <log message="Got SOAP message" />
                        <to
uri="activemq:my.test.queue?connectionFactory=myJms&amp;jmsMessageType=Text"/>
                </route>
        </camelContext>

        <beans xmlns="http://www.springframework.org/schema/beans";
                xmlns:cxf="http://camel.apache.org/schema/cxf";
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                xsi:schemaLocation="
                        http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
                        http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd
                        http://camel.apache.org/schema/cxf
http://camel.apache.org/schema/cxf/camel-cxf.xsd";>

                <cxf:cxfEndpoint id="MyTestEndpoint"
wsdlURL="wsdl/my_test_1.1.wsdl" />
        </beans>
</blueprint>



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Setting-up-a-SOAP-webservice-using-camel-blueprint-tp5723899p5723908.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to