Thanks

I am able to call external webservice.

Now i want to call different webservice based on different operation .I have
modified the route as below ..but not working :(

<camelContext xmlns="http://camel.apache.org/schema/spring";>

                <route>
                        
                        <from uri="cxf:bean:reportIncident?dataFormat=Message" 
/>
                                <choice>
                                <when>
                                        
<simple>${in.header.operationName}=="GetSupportTopics"</simple>
                                        <to
                        
uri="http://stage-esb01.myCom.net:8092/Service/CommunicationWs/?throwExceptionOnFailure=false";
/>
                                </when>
                                 <otherwise>
                                <to
                        
uri="http://stage-esb01.myCom.net:8092/Service/MemberWs/?throwExceptionOnFailure=false";
/>
                                </otherwise>
                        </choice>
                        
                        <to uri="bean:enrichBean" />
                        <to uri="log:input" />

                        <to uri="log:output" />
                </route>
        </camelContext>

--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-example-cxf-proxy-need-help-tp4667517p4668643.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to