axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Fremantle" <pzf...@gmail.com>
Subject Re: Can Java2WSDL keep the original parameter name?
Date Tue, 13 Mar 2007 15:36:25 GMT
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 <sven.schroebler@uni-muenster.de> 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:
> <javac srcdir="${src.core.desktop}" destdir="${build.gui}"
> classpathref="libs" encoding="${javac.encoding}" debug="true"
> debuglevel="lines,vars,source" classpath="${build.business}"/>
>
> Thanks for your reply.
> Sven
>
> -----Ursprüngliche Nachricht-----
> Von: Paul Fremantle [mailto:pzfreo@gmail.com]
> Gesendet: Dienstag, 13. März 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 <sven.schroebler@uni-muenster.de> wrote:
> > Hi all,
> >
> > does this also work for Axis2 Java2WSDL(latest nightly build)? I also work
> > with an ANT build file and added the debug="true" and
> > debuglevel="lines,vars,source" to the javac-task, but I didn't have any
> > 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üngliche Nachricht-----
> > Von: WANG Chi [mailto:Chi.WANG@gemalto.com]
> > Gesendet: Dienstag, 13. März 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="on" and debuglevel="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 method,
> > 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 <Chi.WANG@gemalto.com> 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
>
>


-- 
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


Mime
View raw message