You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by R J Scheuerle Jr <sc...@us.ibm.com> on 2002/01/03 21:37:40 UTC

New Java2WSDL Feature: Parameter Names -> WSDL Part Names

New Java2WSDL Feature
---------------------

Previously, the Java2WSDL emitter used names such as in0 and inOut1 for
the WSDL message part names.

Now, Java2WSDL will query the debug information in the web service class
file
to determine the method parameter names.  These names are used to
generate the WSDL message part names; thus there is no longer any
loss of information.

If the web service class file describes an interface, or if the class
file was not compiled with -g, then the parameter names are not available.
In such cases, the new -i <impl-class> option can be used to pass
an alternate class.  This <impl-class> is only used to determine the names
of the method parameters.  The <impl-class> can be an implementation class,
a stub class or a skeleton class.

In the event that Java2WSDL cannot access the parameter names, it will
fallback and use the default in# and inOut## parameter names.

Enjoy!

Rich Scheuerle
XML & Web Services Development
512-838-5115  (IBM TL 678-5115)