I am using ServiceMix 4.4.2 full version  and following is the blueprint xml
file (With the class names etc masked off.

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
           
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0";
           
xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0";
           xmlns:amq="http://activemq.org/config/1.0";
           xmlns:jaxws="http://cxf.apache.org/blueprint/jaxws";
           xmlns:policy="http://cxf.apache.org/policy";
           xmlns:cxf="http://camel.apache.org/schema/blueprint/cxf";
           xmlns:cxfcore="http://cxf.apache.org/blueprint/core";
           xsi:schemaLocation="
                http://www.osgi.org/xmlns/blueprint/v1.0.0
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
                http://cxf.apache.org/blueprint/jaxws
http://cxf.apache.org/schemas/blueprint/jaxws.xsd
                http://cxf.apache.org/blueprint/core
http://cxf.apache.org/schemas/blueprint/core.xsd
                http://camel.apache.org/schema/blueprint/cxf
http://camel.apache.org/schema/blueprint/cxf/cxf.xsd";>
<cxf:cxfEndpoint id="routerEndpoint" address="/webservice/services/Service"
serviceClass="Name of Service Class">
        <cxf:properties>
        <entry key="dataFormat" value="PAYLOAD"/>
        <entry key="serviceName" value="Name of Service"/>
        <entry key="portName" value="Port Name"/>
        <entry key="binding" value="Binding information"/>
        </cxf:properties>
</cxf:cxfEndpoint>
<camelContext xmlns="http://camel.apache.org/schema/blueprint"; trace="true">
        <route id="route1">
                   <from 
uri="file:\\groupd\interfaces-Dev$\inv\in\xml\tmp\soap"/> 
                        
                   <to uri="cxf:bean:routerEndpoint?dataFormat=PAYLOAD"/>
                   <to uri="activemq:queue:queue.inboundSoapRequest"/>
        </route>
        <route id="route2">
                   <from   uri="activemq:queue:queue.inboundSoapRequest"/>
                   
                    <to uri="routerEndpoint"/>
        </route>
        <route id="myroute">
                   <from uri="routerEndpoint"/>
                   <to 
uri="file:\\\\group\interfaces-Dev$\inv\in\xml\tmp1\soap\tmp.txt"/>
                   
        </route>
</camelContext>
</blueprint>

I am new to ServiceMix and hence please bear with me.

Regards,
Ravi





--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Service-Mix-as-a-webservice-consumer-and-the-bugs-tp5715358p5715359.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to