Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 63997 invoked from network); 13 Mar 2007 15:37:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2007 15:37:04 -0000 Received: (qmail 85096 invoked by uid 500); 13 Mar 2007 15:37:03 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 85072 invoked by uid 500); 13 Mar 2007 15:37:03 -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 85061 invoked by uid 99); 13 Mar 2007 15:37:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2007 08:37:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of pzfreo@gmail.com designates 64.233.182.184 as permitted sender) Received: from [64.233.182.184] (HELO nf-out-0910.google.com) (64.233.182.184) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2007 08:36:52 -0700 Received: by nf-out-0910.google.com with SMTP id o63so2368066nfa for ; Tue, 13 Mar 2007 08:36:30 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DD3rsQuDTyXbZ9y/WGJQItOmm46lORTzM3B//rs4c+OIUQ/Wkg8d9I55dpxscqEmhtaRNgCLZp7KoTKTS+KVcUeRurqvw0RAghshzzaBdZY2HVL6Hx/elTnNQAZQJRBWaHY9eCEnLC/AJXm6Mafc9/xfDmtmvlfzYNnbwQ72Umk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MGYD3/wvNGWgOEZohYvWXy7CJjoj4/bkzhhtHxsNhDclKgKoIGcCZ2UC1y17p1LgamTHGyspk56Rb6FQrMad7HEq7nWm2cRkLDJLydk9K+VVDO+zJhO9U60m1AW9oCKtuRuE4OdZ9oe5baGKpaoQfWFN1A6yOyPFj2vnW9EJErY= Received: by 10.78.176.20 with SMTP id y20mr384874hue.1173800185770; Tue, 13 Mar 2007 08:36:25 -0700 (PDT) Received: by 10.78.160.5 with HTTP; Tue, 13 Mar 2007 08:36:25 -0700 (PDT) Message-ID: <88f5d710703130836h78090209m247bb6d4d9efbad@mail.gmail.com> Date: Tue, 13 Mar 2007 15:36:25 +0000 From: "Paul Fremantle" To: axis-user@ws.apache.org Subject: Re: Can Java2WSDL keep the original parameter name? In-Reply-To: <000301c76581$e41338c0$4f8410ac@pro8100> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <88f5d710703130754n67f7c3e7xe5dd490b34e7408f@mail.gmail.com> <000301c76581$e41338c0$4f8410ac@pro8100> X-Virus-Checked: Checked by ClamAV on apache.org Sven I'm sorry I have no clue about ant!!!! I know if you do: javac -g:lines,vars,source it works. Paul On 3/13/07, Sven Schroebler wrote: > Hi Paul, > > the variable names are not in the class file. Looks like it's another > problem independent of Java2WSDL. I just wanted to make sure it has to > work... > > BTW: this is the ANT task I am using: > classpathref=3D"libs" encoding=3D"${javac.encoding}" debug=3D"true" > debuglevel=3D"lines,vars,source" classpath=3D"${build.business}"/> > > Thanks for your reply. > Sven > > -----Urspr=FCngliche Nachricht----- > Von: Paul Fremantle [mailto:pzfreo@gmail.com] > Gesendet: Dienstag, 13. M=E4rz 2007 15:54 > An: axis-user@ws.apache.org > Betreff: Re: Can Java2WSDL keep the original parameter name? > > Sven > > Yes it does work. Can you use a java decompiler to see if the names > are in the class file? > > Paul > > On 3/13/07, Sven Schroebler wrote: > > Hi all, > > > > does this also work for Axis2 Java2WSDL(latest nightly build)? I also w= ork > > with an ANT build file and added the debug=3D"true" and > > debuglevel=3D"lines,vars,source" to the javac-task, but I didn't have a= ny > > success. The variable names from the interface class are still not > included > > and the parameters in the WSDL-file appear as param0,param1... > > > > Best Regards, > > Sven > > > > -----Urspr=FCngliche Nachricht----- > > Von: WANG Chi [mailto:Chi.WANG@gemalto.com] > > Gesendet: Dienstag, 13. M=E4rz 2007 11:50 > > An: axis-user@ws.apache.org > > Betreff: RE: Can Java2WSDL keep the original parameter name? > > > > Hi Paul, > > > > Thank you very much. Your solution is very good but I meet a problem. I > add > > debug=3D"on" and debuglevel=3D"lines,vars,source" to the ANT build file= , but > it > > turns out that if a parameter is in an abstract method, then the names > > information will not exist, and if the parameter is in a concrete metho= d, > > then the information is kept. I don't know why, I will do more research= , > > thank you very much. > > > > Best Regards, > > WANG Chi > > > > -----Original Message----- > > From: Paul Fremantle [mailto:pzfreo@gmail.com] > > Sent: Tuesday, March 13, 2007 6:30 PM ? > > To: axis-user@ws.apache.org > > Subject: Re: Can Java2WSDL keep the original parameter name? > > > > > > Wang > > > > Please make sure you compile your Java with -g. This adds the names > > into the class file and so Java2WSDL can use them. > > > > Paul > > > > On 3/13/07, WANG Chi wrote: > > > Hi all, > > > > > > When I use Java2WSDL to generate WSDL from java interfaces, the > parameter > > name is converted into names like in0, in1... > > > Can I configure it to keep the original parameter name? I use Axis1.4 > and > > use ANT to generate the WSDL. > > > > > > Thanks very much. > > > > > > Best Regards, > > > WANG Chi > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > > > > > > > -- > > Paul Fremantle > > VP/Technology, WSO2 and OASIS WS-RX TC Co-chair > > > > http://bloglines.com/blog/paulfremantle > > paul@wso2.com > > > > "Oxygenating the Web Service Platform", www.wso2.com > > > > --------------------------------------------------------------------- > > 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 > > > > > > > -- > Paul Fremantle > VP/Technology, WSO2 and OASIS WS-RX TC Co-chair > > http://bloglines.com/blog/paulfremantle > paul@wso2.com > > "Oxygenating the Web Service Platform", www.wso2.com > > --------------------------------------------------------------------- > 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 > > --=20 Paul Fremantle VP/Technology, WSO2 and OASIS WS-RX TC Co-chair http://bloglines.com/blog/paulfremantle paul@wso2.com "Oxygenating the Web Service Platform", www.wso2.com --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org