Return-Path: Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: (qmail 22203 invoked from network); 15 Nov 2009 03:58:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Nov 2009 03:58:49 -0000 Received: (qmail 50267 invoked by uid 500); 15 Nov 2009 03:58:49 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 50146 invoked by uid 500); 15 Nov 2009 03:58:47 -0000 Mailing-List: contact commits-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 commits@cxf.apache.org Received: (qmail 50137 invoked by uid 99); 15 Nov 2009 03:58:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Nov 2009 03:58:47 +0000 X-ASF-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Nov 2009 03:58:44 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 580E223888FD; Sun, 15 Nov 2009 03:58:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r836319 - in /cxf/branches/2.1.x-fixes: ./ tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java Date: Sun, 15 Nov 2009 03:58:24 -0000 To: commits@cxf.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091115035824.580E223888FD@eris.apache.org> Author: dkulp Date: Sun Nov 15 03:58:23 2009 New Revision: 836319 URL: http://svn.apache.org/viewvc?rev=836319&view=rev Log: Merged revisions 836097 via svnmerge from https://svn.apache.org/repos/asf/cxf/branches/2.2.x-fixes ................ r836097 | dkulp | 2009-11-13 21:26:08 -0500 (Fri, 13 Nov 2009) | 9 lines Merged revisions 836092 via svnmerge from https://svn.apache.org/repos/asf/cxf/trunk ........ r836092 | dkulp | 2009-11-13 21:22:44 -0500 (Fri, 13 Nov 2009) | 1 line Another tck regression ........ ................ Modified: cxf/branches/2.1.x-fixes/ (props changed) cxf/branches/2.1.x-fixes/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java Propchange: cxf/branches/2.1.x-fixes/ ------------------------------------------------------------------------------ Binary property 'svnmerge-integrated' - no diff available. Modified: cxf/branches/2.1.x-fixes/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java URL: http://svn.apache.org/viewvc/cxf/branches/2.1.x-fixes/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java?rev=836319&r1=836318&r2=836319&view=diff ============================================================================== --- cxf/branches/2.1.x-fixes/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java (original) +++ cxf/branches/2.1.x-fixes/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java Sun Nov 15 03:58:23 2009 @@ -295,7 +295,25 @@ } continue; } else if (isSamePart(inpart, outpart)) { - addParameter(method, getParameterFromPart(method, outpart, JavaType.Style.INOUT)); + boolean found = false; + for (JavaParameter p : method.getParameters()) { + if (p.getQName().equals(ProcessorUtil.getElementName(outpart))) { + p.setHolder(true); + p.setHolderName(javax.xml.ws.Holder.class.getName()); + String holderClass = p.getClassName(); + if (JAXBUtils.holderClass(holderClass) != null) { + holderClass = JAXBUtils.holderClass(holderClass).getName(); + } + p.setClassName(holderClass); + p.getAnnotations().clear(); + p.setStyle(JavaType.Style.INOUT); + p.annotate(new WebParamAnnotator()); + found = true; + } + } + if (!found) { + addParameter(method, getParameterFromPart(method, outpart, JavaType.Style.INOUT)); + } continue; } else if (!isSamePart(inpart, outpart)) { if (oob) {