cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Bug 97155 - Non-default parameter name of @WebMethod is not picked up
: Non-default parameter name of @WebMethod is not picked up
Status: RESOLVED FIXED
: webservices
JAX-WS
: 6.0
: All All
: P3 (vote)
: 6.0
Assigned To:
:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2007-03-03 06:33 by
Modified: 2007-09-17 06:42 (History)
Issue Type: DEFECT
:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-03-03 06:33:56
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 From 2007-03-03 07:15:48 -------
Read http://blogs.sun.com/arungupta/entry/web_services_in_netbeans_6 for more
details.
------- Comment #2 From 2007-06-25 12:18:51 -------
*** Issue 106203 has been marked as a duplicate of this issue. ***
------- Comment #3 From 2007-09-17 06:42:55 -------
This appears to have been fixed with the recent changes to the Add Operation
dialog.