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 BC9621193E for ; Tue, 22 Jul 2014 08:17:39 +0000 (UTC) Received: (qmail 47776 invoked by uid 500); 22 Jul 2014 08:17:39 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 47737 invoked by uid 500); 22 Jul 2014 08:17:39 -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 47646 invoked by uid 99); 22 Jul 2014 08:17:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2014 08:17:39 +0000 Date: Tue, 22 Jul 2014 08:17:39 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CXF-5694) Parameters from WADL in alphabetic order 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-5694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Beryozkin resolved CXF-5694. ----------------------------------- Resolution: Cannot Reproduce Hi, thanks for letting me know that you can not reproduce it, lets resolve it for now and please re-open if the issue comes back and becomes reproducible Cheers, Sergey > Parameters from WADL in alphabetic order > ---------------------------------------- > > Key: CXF-5694 > URL: https://issues.apache.org/jira/browse/CXF-5694 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 2.7.10 > Environment: linux (fedora 20) and windows 7, java 7 u51 > Reporter: clint dovholuk > Assignee: Sergey Beryozkin > Priority: Minor > > We have a wadl that we export from cxf 2.7.10 and we turn around and consume the wadl we produce to provide a client jar (which also uses cxf 2.7.10) > The snippet of wadl we have is here: > > > > > > > > > > > > However this generates client code where the "id" and "aId" are out of order like this: > @DELETE > @Produces({"application/xml", "application/json" }) > @Path("/id/{id}/a/id/{aId}") > SomeClassToReturn remove(@PathParam("aId") String aId, @PathParam("id") String id); > For kicks we renamed "aId" to "zId" and low and behold we now get (notice the parameter zId at the end now): > SomeClassToReturn remove(@PathParam("id") String id, @PathParam("zId") String zId); > I also found this nabble post as well (though this is for wsdl vs wadl) http://cxf.547215.n5.nabble.com/Ordering-of-wsdl-method-parameters-changed-for-java-first-services-td5736502.html it seems to be indicating the same issue but I didn't see it come to conclusion and I couldn't find any more threads. > I have filed this bug per Sergey's request -- This message was sent by Atlassian JIRA (v6.2#6252)