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.
Consider web service (ws.NewWebService) with this web service operation: public String sayHello(String to) { return "Hello " + to; } Now create ws client for this ws and call sayHello operation from eg. servlet. Code generated by IDE is now (in case of JSR-109 client): try { getNewWebServiceSEIPort().sayHello(/* TODO enter operation arguments */); } catch(java.rmi.RemoteException ex) { // TODO handle remote exception } I think that it would be better (useful) for users/developers to generate this code for ws mentioned above: String to = null; String result = null; try { result = getNewWebServiceSEIPort().sayHello(to); } catch(java.rmi.RemoteException ex) { // TODO handle remote exception } This means for each argument of ws operation generate variables (with initial values - null, 0, false,...) and provide variable which will contain the result of call of ws operation (if it does not have void as return type).
Already implemented.
v.