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 - Non-default parameter name of @WebMethod is not picked up
Summary: Non-default parameter name of @WebMethod is not picked up
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
: 106203 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-03 06:33 UTC by arungupta
Modified: 2007-09-17 06:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.