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.
Build040908 I created simple web service. web service class WShello and interface WShelloInterface has been created. In WShello.java file missing implements statement. public class WShello implements WShelloInterface { }
I am not sure it is necessary. Can you point me to the spec mentioning this?
I don't find spec, but you can look here: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JAXRPC3.html
JSR 109 says: "The Service Implementation Bean may implement the Service Endpoint Interface, but it is not required to do so. The bean must implement all the method signatures of the SEI." So at most, maybe we can give the user the option to always implement the SEI or not.
Rico, Ludo - Could you describe the scenario of when a user would not want to implement the SEI? And give your thoughts on how often it may occur (mention if it's backed up by any data, or just a guess) I've seen in a couple of tutorials that use the implements approach. Just want to get a gauge of if we should offer the option or not. Thanks
I think, implementing SEI is a good choice because wscompile use this interface to create wsdl file. If you implement SEI in your implementations class all methods, published in wsdl file, must be implemented.
I agree with Petr here. This is a tool to simplify development so doing something for user is good. It is also very easy if some advance user removes implements clause from class while people obeying tutorials will be very happy.
The service implementation bean now implements the service endpoint interface by default.
Build 041005
Remove all issues from temporary component.