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.
[build 200502151900] -create new web service in EJB module => generated class contains: " // Enter business methods below. (Right-click in editor and choose // Enterprise JavaBeans (EJB) > Add Business Method)" but it should contain: " // Enter web service operations here. (Popup menu: Web Service->Add Operation)" note: user is not allowed to create business methods in this type of bean (webservice)
Trung, this one might be tricky as we are using an xslt transform to generate the ejb code... Not sure if we have a way to pass to this process the fact that we want to create a Web Service or an EJB. As you might know, a web service in an ejb module has to be implemented as an ejb ... I did not look at this area for a long while... Chris Webster could help if necessary.
:-) already figured it out. I unassigned myself and removed SIMPLEFIX
Team agreed to come up with a generic message that would cover both EJBs and web services. Jirko, any suggestions?
What about this one? " // Add business logic below. (Right-click in editor and choose // "EJB Methods > Add Business Method" or "Web Service > Add Operation") " I think the other comments (EJB infrastructure code fold, ) are almost fine since they really reflect the EJB nature of these WSs. Maybe we could only change a little the third line: " // <editor-fold defaultstate="collapsed" desc="EJB infrastructure methods. Click the + sign on the left to edit the code."> // TODO Add code to acquire and use other enterprise resources (DataSource, JMS, enterprise bean, Web services) // TODO Add business methods or web service operations "
Fixed per Jirka's suggestion. /cvs/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ejb/wizard/xsl/SessionBean.xml,v <-- SessionBean.xml new revision: 1.6; previous revision: 1.5
v. 200504031800