Hi,

Please elaborate the problems you encountered.

Freeman
On 2012-3-19, at 下午4:37, nvaneijck wrote:

I'm evaluating several integration solutions to see if they suite my needs.
I'm trying to implement the following scenario but I'm having a lot of
difficulty getting it implemented with servicemix.

Any help on getting this scenario working is greatly appreciated!!

1. Expose a route as a SOAP webservice with a pre-defined WSDL. I'm using
CXF with PAYLOAD setting to be able to manipulate the "raw" XML.
2. Transform the incoming XML request, using XSLT, to a XML request for
another webservice.
3. Callout to the other webservice
4. Transform the returning XML response, using XSLT, to a XML response
according to my own WSDL.
5. Returning the webservice response

So far, my blueprint route looks like this:

<?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>

   <camelContext xmlns="http://camel.apache.org/schema/blueprint";>
     <route>
        <from uri="wspoc"/>
       <to uri="xslt:file:repository/xslt/create_request.xsl"/>
       <to
uri="cxf://http://dataserver/services/SOAP11Endpoint/?dataFormat=PAYLOAD "/>
       <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-tp5576408p5576408.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to