Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 21377 invoked from network); 12 Mar 2009 21:19:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Mar 2009 21:19:16 -0000 Received: (qmail 17512 invoked by uid 500); 12 Mar 2009 21:19:10 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 17469 invoked by uid 500); 12 Mar 2009 21:19:10 -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 17458 invoked by uid 99); 12 Mar 2009 21:19:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2009 14:19:10 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bimargulies@gmail.com designates 209.85.198.241 as permitted sender) Received: from [209.85.198.241] (HELO rv-out-0708.google.com) (209.85.198.241) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2009 21:19:01 +0000 Received: by rv-out-0708.google.com with SMTP id f25so1238031rvb.22 for ; Thu, 12 Mar 2009 14:18:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=7b534cngjvtEaFOUe1mL5GsFLZ+IADUFITSGLj+auOA=; b=Et5aeVQteUhjE/ykOwVBtMJrt8SBlxP8tD8PWGMfiLxtyFVP+0xu5jv9V1QhX4geBQ YS3b77e6ETxenA/LJaOFdjshcJ+xMEx1Pmo/bX8eR/IOhvpU2f2LlCTCXbr4NUbMiOQf pTqysYHj4JWv2HasR6Zvii5Q3cGcbQNnr4Rq8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Fbrl8s9aSJcLIXOBR3+vZE1I9mGz8fePt+IKdACAEaGfC3I+tOm9Rx9LS/wO8iR8o7 xHVsZEY7NTDlrFEbM42jA09vq6eaKASCXa8yibPfGEMrBJ52D3+J//UGLoEz5k9+7ZQi oK7BRfDiAcJnb1fLEb258SREEzeVDeXc48Z5c= MIME-Version: 1.0 Received: by 10.140.136.5 with SMTP id j5mr147144rvd.39.1236892719413; Thu, 12 Mar 2009 14:18:39 -0700 (PDT) In-Reply-To: <000c01c9a33d$db6d5d80$92481880$@com> References: <000c01c9a33d$db6d5d80$92481880$@com> Date: Thu, 12 Mar 2009 17:18:39 -0400 Message-ID: <61b5d9410903121418h7bd71b1cgd4c9da2156604098@mail.gmail.com> Subject: Re: XFire migration - old client doesn't send named parameters From: Benson Margulies To: users@cxf.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org What data binding are you using? What version of CXF? On Thu, Mar 12, 2009 at 2:10 PM, Kevin Priebe wrot= e: > Hi, I have ported all of our XFire services/clients to CXF and only have = 1 > outstanding issue that is preventing any old XFire clients from working w= ith > the new CXF service. =C2=A0Our old XFire clients seem to send non-named > parameters (in0, in1) like so: > > > > xmlns:ns1=3D"http://service.realtyserver.com">testValue 1:ping> > > > > Whereas the WSDL has the 'in0' parameter named as 'board'. =C2=A0This cau= ses the > parameter to be NULL when received. =C2=A0The new CXF client correctly se= nds like > so: > > > > xmlns:ns1=3D"http://service.realtyserver.com/">testValue ing> > > > > The missing slash was also a problem, but that has been resolved since if= I > manually change the XFire request in0 -> board, and resend the request it > works. =C2=A0So I just need to figure out the parameter problem. > > > > I would really like to make this backwards compatible for the old XFire > clients at least for a few months while we make the transition. =C2=A0Is = there > any workaround for this? > > > > I am using XFire 1.2.6 (was using simple frontend and aegis) and CXF 2.1.= 4 > (with jaxws and aegis). =C2=A0All using tomcat with spring server config. > > > > I have tried the simple frontend and now am trying the jaxws frontend wit= h > annotated web services to name the parameters using @WebParam since the > simple frontend was causing the CXF client to send parameters as arg0, ar= g1 > etc. =C2=A0Here are the relevant files: > > > > @WebService > > public interface IAuthService { > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0public boolean pin= g(@WebParam(name=3D"board") String board); > > } > > > > @WebService(endpointInterface=3D"com.realtyserver.service.IAuthService", > serviceName=3D"AuthService") > > public class AuthService implements IAuthService { > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0public boolean pin= g(String board) { > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return true; > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0} > > } > > > > cxf.xml > > -------- > > > > class=3D"org.apache.cxf.aegis.databinding.AegisDatabinding" > scope=3D"prototype"/> > > > > > > class=3D"org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean" > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0scope=3D"prototype"> > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ref=3D"aegisBean"/> > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 class=3D"org.apache.cxf.jaxws.support.JaxWsServiceConfiguration"/> > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 class=3D"org.apache.cxf.aegis.databinding.XFireCompatibilityServiceConfig= urati > on"/> > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 class=3D"org.apache.cxf.service.factory.DefaultServiceConfiguration"/> > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > > > > > > > > > > implementor=3D"#AuthServiceImpl"> > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 /> > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > > > > > > Thanks for any help. > > Kevin > > > >