Hi Rey,

I went through this last week on the list. You can check the archives if you
like, for subject line="Preserving param names in WSDL". My issue, and
perhaps yours, is that parameter names for interface methods don't get saved
along with the debug info. Same goes for abstract methods in an abstract
class, by the way.

If you want parameter names to be preserved, looks like you have the
following options:

1. Hand edit the WSDL to add them in
2. Hand edit the WSDD (I forget the syntax but you can find it in the
archives)
3. Screw Java2WSDL, and build your interfaces using an WSDL editor rather
than a Java editor.

I've opted for door #3, though I did run Java2WSDL initially to get me
started. I've been using CapeClear as a WSDL editor. You have to know what
you're doing, for example if you break dependencies within your WSDL file it
won't stop you, so being completely clueless about WSDL can be a problem.
(I'm 95% clueless and it's been a problem for me!) But it's a decent editor,
and so far the process has worked for me.

Good luck,
Chris

-----Original Message-----
From: Reynardine [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 1:08 PM
To: [EMAIL PROTECTED]
Subject: Lost service method parameter names when deploying


Hello,

I have deployed my new service under Tomcat/Axis. The problem is that all my
helpful parameter names have been lost during the transformation.  My
original code had useful names like "mYearofBirth" "CountryOfBirth" but
these have been transformed into
names like (String in1, String in2)...

How can I make sure my parameter names are retained when I use Java2WSDL and
WSDL2Java ?

I tried compiling all my classes with debug information first to encourage
Axis to do this but it did not work.

As a last resort, I could manually edit the stubs generated by Axis, put
back my parameter names and then redeploy, but is there a better way ?

Any help gratefully received.

Rey.
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers


Reply via email to