Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 20301 invoked from network); 1 Dec 2006 22:03:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2006 22:03:21 -0000 Received: (qmail 92883 invoked by uid 500); 1 Dec 2006 22:03:20 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 92870 invoked by uid 500); 1 Dec 2006 22:03:20 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 92858 invoked by uid 99); 1 Dec 2006 22:03:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Dec 2006 14:03:20 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: unknown spf1 (herse.apache.org: encountered unrecognized mechanism during SPF processing of domain of ravik@savvion.com) Received: from [206.40.33.116] (HELO mailrelay1.savvion.com) (206.40.33.116) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 01 Dec 2006 14:03:08 -0800 Received: from mailrelay1.savvion.com (unknown [127.0.0.1]) by mailrelay1.savvion.com (Symantec Mail Security) with ESMTP id ECDBF3049E for ; Fri, 1 Dec 2006 09:03:16 -0800 (PST) X-AuditID: ce282165-a4474bb0000009cb-95-45706054f060 Received: from mail.savvion.com (mail.savvion.com [10.1.6.6]) by mailrelay1.savvion.com (Symantec Mail Security) with SMTP id DD30530486 for ; Fri, 1 Dec 2006 09:03:16 -0800 (PST) Received: from [127.0.0.1] (chennai.savvion.com [10.1.5.229]) by mail.savvion.com (Postfix) with ESMTP id 1CFA02FC009 for ; Fri, 1 Dec 2006 16:49:05 -0500 (EST) Message-ID: <4570A840.2020901@savvion.com> Date: Fri, 01 Dec 2006 14:10:08 -0800 From: Ravi Krishnamurthy User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Re: Axis 14 vs axis 1.2.1 arrays References: <45707DB4.9090305@savvion.com> <4570A4C5.7050707@omnilinksystems.com> In-Reply-To: <4570A4C5.7050707@omnilinksystems.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org Thanks Brier. I will try it out. Regards, Ravi Frederick N. Brier wrote: > I saw wrapArrays attribute/parameter that can be passed to either the > Ant task or the WSDL2Java utility. I would guess that it would cause > Axis 1.4 to generate the same stubs as the 1.2.1. > > Fred > > Ravi Krishnamurthy wrote: >> Hello: >> I was looking at the stubs generated for Axis 1.2.1 and Axis 1.4 that >> contains arrays. The complex type mappings is different as below: >> >> // in 1.4 >> qName = new >> javax.xml.namespace.QName("urn:com.virsa.cc.xsys.webservices.dto", >> "ArrayOfCriticalRoleDTO"); >> cachedSerQNames.add(qName); >> cls = >> dto.webservices.xsys.cc.virsa.com.CriticalRoleDTO[].class; >> cachedSerClasses.add(cls); >> qName = new >> javax.xml.namespace.QName("urn:com.virsa.cc.xsys.webservices.dto", >> "CriticalRoleDTO"); >> qName2 = new >> javax.xml.namespace.QName("urn:com.virsa.cc.xsys.webservices.dto", >> "CriticalRoleDTO"); >> cachedSerFactories.add(new >> org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); >> cachedDeserFactories.add(new >> org.apache.axis.encoding.ser.ArrayDeserializerFactory()); >> >> >> // in 1.2.1 >> >> qName = new >> javax.xml.namespace.QName("urn:com.virsa.cc.xsys.webservices.dto", >> "ArrayOfCriticalRoleDTO"); >> cachedSerQNames.add(qName); >> cls = dto.riskAnalysis.ArrayOfCriticalRoleDTO.class; >> cachedSerClasses.add(cls); >> cachedSerFactories.add(beansf); >> cachedDeserFactories.add(beandf); >> >> >> Will there be any problem during migration of applications that is >> already running in axis1.2.1 to axis1.4 without generating the stubs >> with axis 1.4 again. >> >> Thanks for your time, >> Ravi >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org >> For additional commands, e-mail: axis-user-help@ws.apache.org >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org