[ http://issues.apache.org/jira/browse/AXIS-825?page=all ]
Davanum Srinivas resolved AXIS-825:
-----------------------------------
Resolution: Fixed
Assign To: (was: Axis Developers Mailing List)
Added to FAQ in Wiki.
-- dims
> Java2WSDL docs slightly misleading about getting parameter names from .class
> file
> ---------------------------------------------------------------------------------
>
> Key: AXIS-825
> URL: http://issues.apache.org/jira/browse/AXIS-825
> Project: Apache Axis
> Type: Bug
> Components: Documentation
> Versions: 1.1rc2
> Environment: Operating System: All
> Platform: All
> Reporter: Sean Owen
>
> The Java2WSDL documentation says that to generate a WSDL from a Java source
> file, one should:
> "Write and compile a Java interface (or class) that describes the web service
> interface.... (example) ... Note: If you compile your class with debug
> information, Java2WSDL will use the debug information to obtain the method
> parameter names."
> Java only puts method parameter names into .class files for compiled classes
> (not interfaces), and only then for non-abstract methods. So Axis can only get
> method parameter names in certain situations.
> I know that Java2WSDL has an "-i" option that lets one specify an
> implementation
> class for an interface being processed, from which to extract method parameter
> names.
> So, I'd just suggest qualifying the comment above, and maybe noting what the
> user must do to get method parameter names when generating a WSDL from an
> interface; it may save a little head-scratching.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira