Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E192D116DB for ; Mon, 14 Jul 2014 15:24:05 +0000 (UTC) Received: (qmail 41358 invoked by uid 500); 14 Jul 2014 15:24:05 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 41324 invoked by uid 500); 14 Jul 2014 15:24:05 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 41310 invoked by uid 99); 14 Jul 2014 15:24:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2014 15:24:05 +0000 Date: Mon, 14 Jul 2014 15:24:05 +0000 (UTC) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CXF-5777) Axis2 client's array not compatible with Apache CXF Aegis Databinding MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-5777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-5777. ------------------------------ Resolution: Not a Problem Fix Version/s: (was: 2.7.12) Invalid Assignee: Daniel Kulp This is not really a "problem". If compatibility with a previous service is important, you should take the old wsdl and use a wsdl2java on it to make sure you are using an object model that is compatible with the older service. Aegis was never intended to be compatible with Axis2. > Axis2 client's array not compatible with Apache CXF Aegis Databinding > --------------------------------------------------------------------- > > Key: CXF-5777 > URL: https://issues.apache.org/jira/browse/CXF-5777 > Project: CXF > Issue Type: Test > Components: Aegis Databinding > Affects Versions: 2.7.11 > Environment: OS: Any > Reporter: Puneet Gupta > Assignee: Daniel Kulp > Priority: Blocker > Labels: features > Fix For: Invalid > > > I am migrating service developed in Axis2 to Apache CXF. New service developed in apache cxf works but I am facing some problems to make it compatible with my older axis2 client. > I am trying to consume Apache CXF service with Aegis Data Binding through a Axis2 client. Aegis Data binding adds additional wrapper to arrays(ArrayOfCustomObject), if provided as a input parameter or required to be as output of service call. So there is difference in WSDL generated in case of Apache CXF and Axis2. > Problem Faced: If I am calling a service method which takes an array of custom class object as input parameter(lets say custom class have two properties), then at server side it creates two different custom class object(initializing properties to be null) even if the input array contains single custom class object. > What I think is that my service is not able to unmarshall the request in correct way. Is there any way through which we can configure service to except this array in correct way and additional wrapper i.e. ArrayOfCustomObject is not created in WSDL? > Any help solving this problem will be highly appreciated. > Regards, Puneet. -- This message was sent by Atlassian JIRA (v6.2#6252)