This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 54817 - Put comments over the code generated for WS client
Summary: Put comments over the code generated for WS client
Status: CLOSED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-10 11:26 UTC by Milan Kuchtiak
Modified: 2006-03-24 13:18 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kuchtiak 2005-02-10 11:26:57 UTC
It would be nice to comment the code calling the
web service in WS client (servlet) :

Example :

out.close();
// put comment here
try {
    gethiwsSEIPort().sayHi(/* TODO enter operation
arguments */);
} catch(java.rmi.RemoteException ex) {
    // TODO handle remote exception
}

/** put comment here
*/
getXXX()

/** put comment here
*/
getXXXSEIPort()

Also, separate the code from "out.close();"
Comment 1 Martin Grebac 2005-03-25 09:49:36 UTC
It's possible to fix it now when the code is rewritten to jmi - we can generate
complete javadoc for the methods. 
Do you think it's worth it for 4.1?
Comment 2 _ pcw 2005-03-25 19:25:18 UTC
If this is really easy to do, I think it's worth it.  But only if it's easy. 
The hard part will be determining the wording and parameterization of comments,
but I would be happy even with something simple.
Comment 3 _ pcw 2005-10-01 01:05:07 UTC
Reassigning to websvc since I am not working in this area anymore.
Comment 4 Milan Kuchtiak 2005-10-13 09:28:53 UTC
Fix.
Code block invoking WS operation commented. 
Private methods doesn't need to be commented.

Diff:
http://websvc.netbeans.org/source/browse/websvc/core/src/org/netbeans/modules/websvc/core/client/actions/InvokeOperationAction.java?r1=1.21&r2=1.22
Comment 5 Lukas Jungmann 2005-11-04 13:26:05 UTC
v. in 200511031900