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.
1. In a Java EE 6 web project, create a Java class 2. Add annotations such as @WebService and @WebMethod to change this class into a web service 3. Expand the Web Services node in the project explorer => At this point, editor tab with the Java class disappears, and when you reopen it, it contain the Design view. The bug is that this should happen immediately - I should not need to go to the Web Services node and expand it.
Still reproducible .
This is the consequence of "converting" Java mime-type into Jax-WS mime type . It happens in two cases : - When WS is just created . It is identified as JaxWS from very beginning . So there is no problem. - It is marked as JaxWS when Jax-WS root node is expanded. Jax WS service children nodes are initialized as result of this action. Initialization changes mime-type of the file. So to fix it one needs to listen changes in the project related to Jax-Ws creation. It should be done accurately because there are a number way to do this. The appropriate way should be chosen to avoid memory leaks and it should be reusable for Maven projects also. Postpone to the next release.
*** Bug 203730 has been marked as a duplicate of this bug. ***
web-main#75da9ee7919a
Integrated into 'main-golden', will be available in build *201209110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/75da9ee7919a User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#180963 - Designer does not appear until the Web Services node is expanded , BZ#212262 - LowPerformance took 7828 ms. RecentFileAction.getIcon() -> JaxWsDataLoader -> FileOwnerQuery -> MavenEmbedder, BZ#217692 - Possible deadlock at CVS or background scanning