Compile the Java class with debug turned ON. That way java2WSDL can pick up the correct parameter names from the Java classes/methods. However, if you methods are in an interface/abstract class, then the compiled java code does not contain enough information for java2WSDL to output WSDL files with the correct parameter names. So either use a Java class with debug option or use the "-i" switch of the java2WSDL if your methods are in an interface or an abstract class. I think with the "-i" option you can specify the implementation class for the interface.
Thanks! -- Niranjan. -----Original Message----- From: Yan Lin [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 11:25 AM To: [EMAIL PROTECTED] Subject: Java2WSDL Hi, When I use Java2WSDL, all the input parameters are changed into "in0", "in1", "in2" etc, which are meaningless. For example, a method "setData(String dataType, String data)", the two parameters "dataType" and "data" would become "in0" and "in1". This causes problem later -- when I run WSDL2Java, all the input parameters ramain "in0, in1, in2" in the Java files. So the "setData" method is now "setData(String in0, String in1)". It would be difficult for developer to understand. How can I force Java2WSDL not to change the parameters? Thanks! Gloria __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/
