Return-Path: X-Original-To: apmail-cxf-users-archive@www.apache.org Delivered-To: apmail-cxf-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2FC7E11209 for ; Fri, 18 Jul 2014 14:29:28 +0000 (UTC) Received: (qmail 5613 invoked by uid 500); 18 Jul 2014 14:29:27 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 5541 invoked by uid 500); 18 Jul 2014 14:29:27 -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 5530 invoked by uid 99); 18 Jul 2014 14:29:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2014 14:29:27 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [64.85.173.253] (HELO server.dankulp.com) (64.85.173.253) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2014 14:29:25 +0000 Received: by server.dankulp.com (Postfix, from userid 5000) id 849E8184628; Fri, 18 Jul 2014 10:29:00 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter-users@cxf.apache.org.E7rtALawqG Received: from macbook.dankulp.com (c-50-176-22-10.hsd1.ma.comcast.net [50.176.22.10]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTPSA id 1CBAC1803D2 for ; Fri, 18 Jul 2014 10:28:57 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: CXF do not generate operation parameters From: Daniel Kulp In-Reply-To: Date: Fri, 18 Jul 2014 10:27:40 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <5170A371-3D6C-459C-AC92-C2D0B4147822@apache.org> References: <8D0CE44A-ECE4-4124-B233-EA9E1CC92192@apache.org> To: users@cxf.apache.org X-Mailer: Apple Mail (2.1878.6) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.7 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham version=3.3.2 On Jul 18, 2014, at 10:12 AM, Thomas Manson = wrote: > Thanks Daniel for the bug fix and feedback ! >=20 > So it should be included in the following version right ? (2.7.13 and = 3.0.2) Yep. But with 3.0.1 being voted on now, it will likely be a little = while. Dan >=20 > Regards, > Thomas. >=20 >=20 > On Fri, Jul 18, 2014 at 3:59 PM, Daniel Kulp wrote: >=20 >>=20 >> This is due to: >>=20 >> https://issues.apache.org/jira/browse/CXF-5888 >>=20 >> which I fixed yesterday. Too late for 2.7.12/3.0.1 though. >>=20 >> Dan >>=20 >>=20 >>=20 >> On Jul 18, 2014, at 9:24 AM, Thomas Manson = >> wrote: >>=20 >>> Note : >>>=20 >>> Seems like a CXF issue, Work around provided by Daniel Kulp that did >> solve >>> the issue is to add a parameter : (bareMethods) >>>=20 >>>=20 >>> >>> ${basedir}/src/main/resources/de.wsdl >>>=20 >>> >>> -xjc-Xts >>> -autoNameResolution >>> -bareMethods=3DexecuteQuery >>> >>> >>>=20 >>> Thomas. >>>=20 >>>=20 >>> On Fri, Jul 11, 2014 at 4:37 PM, Thomas Manson < >> dev.mansonthomas@gmail.com> >>> wrote: >>>=20 >>>> Hi CXF ! >>>>=20 >>>>=20 >>>> I'm using CXF 2.7.0 to generate the client for the attached WSDL >> (de.zip) >>>> with the following options : >>>>=20 >>>> >>>> ${basedir}/src/main/resources/de.wsdl >>>> >>>> -xjc-Xts >>>> -autoNameResolution >>>> >>>> >>>>=20 >>>> The generated client is missing argument on one operation, while if = I >> use >>>> SOAPUI or another priopriatery tool, I can see the arguments. >>>>=20 >>>>=20 >>>>=20 >>>> For example, with SOAPUI 4.5.2 : >>>> > http://schemas.xmlsoap.org/soap/envelope/" >>>> xmlns:res=3D"http://resourcequery.api.de.n2.tibco.com"> >>>> >>>> >>>> >>>> resource(name=3D'tibco-admin') >>>> >>>> >>>> >>>>=20 >>>>=20 >>>> CXF generated client the following : >>>>=20 >>>> public interface ResourceQueryService { /** >>>>=20 >>>> * Execute a Resource Query Language (RQL) query to find a set of >>>> resources that match specific criteria. >>>>=20 >>>> */ >>>>=20 >>>> @WebResult(name =3D "resource", targetNamespace =3D "") >>>>=20 >>>> @RequestWrapper(localName =3D "executeQuery", targetNamespace =3D = " >>>> http://resourcequery.api.de.n2.tibco.com", className =3D >>>> "com.tibco.n2.common.organisation.api.XmlExecuteQuery") >>>>=20 >>>> @WebMethod(action =3D "executeQuery") >>>>=20 >>>> @ResponseWrapper(localName =3D "executeQueryResponse", = targetNamespace >>>> =3D "http://resourcequery.api.de.n2.tibco.com", className =3D >>>> "com.tibco.n2.de.api.resourcequery.ExecuteQueryResponse") >>>>=20 >>>> public >>>> java.util.List >>>> executeQuery() throws InvalidQueryFault, SecurityFault, >>>> InvalidOrgModelVersionFault, NoSuchNamedEntityFault, >>>> InvalidServiceRequestFault, InternalServiceFault; >>>>=20 >>>> } >>>>=20 >>>> where you can see that the executeQuery() has no argument. >>>>=20 >>>> Any idea what's going wrong ? >>>>=20 >>>> I would rather not touch the WSLD, so I wonder if there's some = options >>>> available on CXF that would allow the parameters to be generated. >>>>=20 >>>> What's weird is that there's other method signature quite more = complexe >>>> that are generated successfully. >>>>=20 >>>>=20 >>>> I'll try to generated the client with the latest version of CXF, = but >> last >>>> time I tried, It failed... (expected another thread for me on this >> subject >>>> then ;)) >>>>=20 >>>>=20 >>>> Thanks for your help, >>>>=20 >>>> Thomas. >>>>=20 >>=20 >> -- >> Daniel Kulp >> dkulp@apache.org - http://dankulp.com/blog >> Talend Community Coder - http://coders.talend.com >>=20 >>=20 --=20 Daniel Kulp dkulp@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com