Skip to main content

Webservice comments into glassfish's WSDL

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
emoya
Offline
Joined: 2010-08-26

Hi,

I've got a web service build with Netbeans 6.9.1 and deployed to glassfish V3 (so glassish generates the wsdl). I would like to see the method's comments in the WSDL. Is there any way to do that automatically?. For example:

/**
* Some comments I would like to see in WSDL
*
* @param some in parameter
* @return
* returns out
*/

@WebMethod
public void SomeMethod(@WebParam(name="paramName")int paramName){

}

Thanks.