Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2780F10152 for ; Wed, 21 Jan 2015 07:30:21 +0000 (UTC) Received: (qmail 70125 invoked by uid 500); 21 Jan 2015 07:30:20 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 70076 invoked by uid 500); 21 Jan 2015 07:30:20 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 70050 invoked by uid 99); 21 Jan 2015 07:30:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2015 07:30:20 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of maloosatyam@gmail.com does not designate 162.253.133.43 as permitted sender) Received: from [162.253.133.43] (HELO mwork.nabble.com) (162.253.133.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2015 07:30:14 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 38B2E1133431 for ; Tue, 20 Jan 2015 23:29:55 -0800 (PST) Date: Wed, 21 Jan 2015 00:29:54 -0700 (MST) From: Satyam Maloo To: users@camel.apache.org Message-ID: <1421825394336-5761977.post@n5.nabble.com> Subject: Choosing between Mapping Options MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org We have a camel project requirement where 5 SOAP based CXF services needs to interact with each other. Among these 2 camel projects are consumer and 3 cxf providers. The integration framework used is JBoss Fuse ESB. At the Integration layer we have created a common canonical format xsd. Now we need to do transformations from consumer data format to the common canonical data format and form common data format to provider data format and vice versa. We have the below options available for data mapping: 1. Creating POJO classes from wsdl and common xsd using wsdl2java plugin on wsdl and then in the routes write java converters/mapping (something like targetStructure.set(incomingStructure.get())) 2. Use xslt/xquery for transformation Which is a better option? Java mapping or XLST mapping? Consider that we are using CXF framwork to push data to target system and writing integration flows using Spring DSL Kindly suggest with advantages over the other. Thanks in advance. Satyam ----- Satyam -- View this message in context: http://camel.465427.n5.nabble.com/Choosing-between-Mapping-Options-tp5761977.html Sent from the Camel - Users mailing list archive at Nabble.com.