Title: RE: Parameters Name

Well, I tried compiling my interface class with -g but that does not put the parameter names in the wsdl. I had to create a dummy implementation class, compile it with -g and then supply it to Java2WSDL with the --implClass option. Only then the proper parameter names were generated. Can anyone in the group explain what's the right way to do this?

Thanks.
Naresh

-----Original Message-----
From: Heitzso [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 8:37 PM
To: [EMAIL PROTECTED]
Subject: RE: Parameters Name


I tried this with just my class compiled with -g and it worked
great.  I assume the --implClass option is provided if you don't
want to go to the trouble of compiling a special debug-version
of your class in your usual place. 

i.e., I set up a 'wsdl' target in ant but I rip out my
standard build tree first to insure I get a good -g
compile, compile -g, build the wsdl file (w/o --implClass),
and finally rip out the tree again (so next time build
clean optimized version of the class files).  Of course
there are cleaner ways of doing all of this, but I
can image why the --implClass option is provided.

Heitzso

On Thu, 2002-06-27 at 18:22, Naresh Bhatia wrote:
> - But isn't Java2WSDL supposed to generate the implementation class?
>
> - Can't Java2WSDL pick the parameter names from the class-of-portType if it
> is compiled with -g?
>
> Thanks.
> Naresh
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 25, 2002 10:19 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Parameters Name
>
>
> Supply the --implClass option with a class that was compiled with -g.
>
>
> Rich 'Shirley' Scheuerle
> IBM WebSphere & Axis Web Services Development
> 512-838-5115  (IBM TL 678-5115)
>
>
>
>
> [EMAIL PROTECTED]
> 06/25/2002 07:33 AM
> Please respond to axis-user
>

>         To:     [EMAIL PROTECTED]
>         cc:
>         Subject:        Parameters Name
>

>
> Hi,
>
> When i use Java2WSDL, it replaces methods parameters name with in0, in1
> and so
> on...
> Is it possible to keep original parameters names ? I need the meaning
> included
> in their original name.
>
> Thx for any help about this.
>
> Cedric
>
>

Reply via email to