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 97155

Summary: Non-default parameter name of @WebMethod is not picked up
Product: webservices Reporter: arungupta <arungupta>
Component: JAX-WSAssignee: Milan Kuchtiak <mkuchtiak>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description arungupta 2007-03-03 06:33:56 UTC
I'm using NB 6 Daily build dated Mar 2, 2007. I created a Web service and then
added an operation to it. The operation takes one parameter and I changed the
default parameter name from "parameter" to "name". The generated method is:

-- cut here --
// Web service operation

   @WebMethod
   public String sayHello(@WebParam(name = "parameter")
                          String parameter) {
       return null;
   } 
-- cut here --

Notice the non-default parameter is not picked up.
Comment 1 arungupta 2007-03-03 07:15:48 UTC
Read http://blogs.sun.com/arungupta/entry/web_services_in_netbeans_6 for more
details.
Comment 2 Milan Kuchtiak 2007-06-25 12:18:51 UTC
*** Issue 106203 has been marked as a duplicate of this issue. ***
Comment 3 Roderico Cruz 2007-09-17 06:42:55 UTC
This appears to have been fixed with the recent changes to the Add Operation dialog.