Got my scenario working! :) But I would appreciate it if someone could tell
me if there's a better/cleaner way of doing things...
<?xml version="1.0" encoding="UTF-8"?>
<blueprint
xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cxf="http://camel.apache.org/schema/blueprint/cxf"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
http://camel.apache.org/schema/blueprint/cxf
http://camel.apache.org/schema/blueprint/cxf/camel-cxf.xsd">
<cxf:cxfEndpoint id="wspoc"
address="http://localhost:8181/webservices/ws-poc-1"
endpointName="s:WsPocPort"
serviceName="s:WsPocService"
wsdlURL="repository/wsdl/ws-poc-1.1.wsdl"
xmlns:s="http://my.company/ws-poc/1">
<cxf:properties>
<entry key="dataFormat" value="PAYLOAD"/>
</cxf:properties>
</cxf:cxfEndpoint>
<cxf:cxfEndpoint id="dataservice"
address="http://some.server/services/dataservice.SOAP11Endpoint/"
endpointName="s:SOAP11Endpoint"
serviceName="s:DataService"
wsdlURL="http://some.server/services/dataservice?wsdl"
xmlns:s="urn:my.company/dataservice">
<cxf:properties>
<entry key="dataFormat" value="PAYLOAD"/>
</cxf:properties>
</cxf:cxfEndpoint>
<camelContext xmlns="http://camel.apache.org/schema/blueprint">
<route>
<from uri="wspoc"/>
<to uri="xslt:file:repository/xslt/create_request.xsl"/>
<setHeader headerName="operationName">
<simple>retrieve</simple>
</setHeader>
<setHeader headerName="operationNamespace">
<simple>urn:my.company/dataservice</simple>
</setHeader>
<to uri="dataservice"/>
<to uri="xslt:file:repository/xslt/create_response.xsl"/>
</route>
</camelContext>
</blueprint>
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Stuck-with-Webservice-scenario-using-Servicemix-tp5576408p5576630.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.