Thanks. That was the problem. I was using an interface (as recommended in
an article I read).
After
changing it to a class and adding some empty method bodies, the parameter names
are now appearing just fine.
-----Original Message-----
From: Yakulis, Ross (Ross) [mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 9:33 AM
To: [EMAIL PROTECTED]
Subject: RE: Method parameter names not appearing in WSDLIs the java file a class or interface? Param names only work for classes and not interfaces.-----Original Message-----
From: Bill Werth [mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 9:31 AM
To: Axis-User (E-mail)
Subject: Method parameter names not appearing in WSDLI've spent a few hours going through the archive and reading the user guide.I've seen posts about this, but nothing seems to work. When I create the WSDL from a java file, the method parameters are named In0, In1, In2, instead of something like UserID, Password, etc.I have a file named RENS.java in the DataHandlers directory on my Win 2000 PC. I compile it like so:javac -g DataHandlers/RENS.javaI run Java2WSDL like so:java org.apache.axis.wsdl.Java2WSDL -o RENS.wsdl -l"http://localhost:8080/axis/services/DataHandlers" -n urn:DataHandlers -p"DataHandlers" urn:DataHandlers DataHandlers.RENSA method that looks like this:public int runCampaign(String SessionID, String CampaignName);generates in the RENS.wsdl something like this:<wsdl:message name="stopCampaignRequest"><wsdl:part name="in0" type="xsd:string"/><wsdl:part name="in1" type="xsd:string"/></wsdl:message>I'm running J2SE Version 1.4.1 and Axis 1.1 release on Tomcat 4.1.Any ideas?The first time I renamed all of the parameter names by hand, but that is too much work to repeat more than a few times.Thanks.
