Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 56F12200B3B for ; Mon, 11 Jul 2016 21:01:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5588A160A78; Mon, 11 Jul 2016 19:01:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9C3C8160A5E for ; Mon, 11 Jul 2016 21:01:58 +0200 (CEST) Received: (qmail 85143 invoked by uid 500); 11 Jul 2016 19:01:57 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 85122 invoked by uid 99); 11 Jul 2016 19:01:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2016 19:01:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id CD6FB1A10B6 for ; Mon, 11 Jul 2016 19:01:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.492 X-Spam-Level: X-Spam-Status: No, score=0.492 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id P03yrmYbYR6k for ; Mon, 11 Jul 2016 19:01:55 +0000 (UTC) Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id E735C5F242 for ; Mon, 11 Jul 2016 19:01:47 +0000 (UTC) Received: by mail-lf0-f54.google.com with SMTP id f6so80371194lfg.0 for ; Mon, 11 Jul 2016 12:01:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=vQxV0NpMfNIRdBYr+B/zUdxLAG8Qjdifr0oyWgHL33M=; b=0XrzcP41lZci9XzjvCbDVcyoDte9GjwJPBN+MQngPT6V7Xi/+7XFoM3KSCjlCRZcfT Y8efZiFx2OkZqqamkjVQd9xpClxjQKMYPJc7itjzXOAQgkZfmNDLlFtUVL5kxMc87HXz yl2X7EZqq/SpItGbj5zDNK31Hgt2IQ0Lp9bltLv1uo9c+2x5j+wxAwH422WRBBwmqai4 EK4MoeMFvxFTAb3l4nXh0jGfN+aF6p4jQ4xILZFDHW9teSii0++MKDQZrxjp5eFG4LpI 5BDOK+McuIU5ZUMhKdelDkKwqStXpfNn5FvEHRCrpUOj0VWix4YDvi4quQdME6TLTL0/ 0Mew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=vQxV0NpMfNIRdBYr+B/zUdxLAG8Qjdifr0oyWgHL33M=; b=YBC+t8G3LG0JrHi9OOHtYBXk8WU2GafiSH36kJqFrLdUGN0sbmI+KSA48Q0ZMvzUgi neuU7hxFzoMFe6Qv74EX1JKOLa0Z2gDqWqDvKn+S0lo48/imCy4BiWHS/QXJTWSVdfzG ZDzQ37R/46IvVTtzdLLnNIg5n6iEOC0Bk6X0RwVUmzHo33xGGIsopCseGU/Pc1vGJT7l WnARXao3Yt+amdb8/o73cMeo4deBJPpUom8xsOBjXbIclgC3qaQP/D2yBNbQI16mNXoY RPOsfNAAMLoDRaa/MOmkTd++95WrC1RZ59NrIO9PxFbc2qwZ7NjjpMDmsllRnjWS4rIb b1ZQ== X-Gm-Message-State: ALyK8tJzmFuN7h31RhwTFxT8QoIsBCm5MuArsgLMf/+AubMdSBCR6etpBLBYyaeOhyhm3Q== X-Received: by 10.25.16.162 with SMTP id 34mr3739565lfq.127.1468263692025; Mon, 11 Jul 2016 12:01:32 -0700 (PDT) Received: from [10.39.0.31] (nat-141-pool-1-ip-6.cosmostv.by. [87.252.225.96]) by smtp.googlemail.com with ESMTPSA id h36sm2499950ljh.23.2016.07.11.12.01.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2016 12:01:31 -0700 (PDT) Subject: Re: arrayKeys and serializeAsArray support To: users@cxf.apache.org References: <1468260179061-5770305.post@n5.nabble.com> From: Sergey Beryozkin Message-ID: <5783ECFE.3050706@gmail.com> Date: Mon, 11 Jul 2016 22:01:18 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <1468260179061-5770305.post@n5.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit archived-at: Mon, 11 Jul 2016 19:01:59 -0000 Hi On 11/07/16 21:02, M.Ismail wrote: > Hi, > > I am using camel 2.13 and CXF 2.7.7 and I am using the workaround > serializeAsArray and arrayKeys to solve the single item array issue. > However, the webservice specs that I call have changed and I can this > workaround isn't applicable anymore. What are my options now? Why it is not applicable any longer ? > > 1- Can I use the Jackson provider if it doesn't have this single item array > issue? Sure, try it if you'd like > 2- Should I use a custom mapper for the exception case that prevented me to > use arrayKeys? If so can you please, provide a sample? > In general you can register an exception mapper for any exception that will escape without this mapper Cheers, Sergey > Regards, > Ismail > > > > -- > View this message in context: http://cxf.547215.n5.nabble.com/arrayKeys-and-serializeAsArray-support-tp5770305.html > Sent from the cxf-user mailing list archive at Nabble.com. >