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 49987 - When user delete web service in registry we should also delete web service references
Summary: When user delete web service in registry we should also delete web service re...
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-06 09:38 UTC by Petr Blaha
Modified: 2006-05-31 18:16 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 Petr Blaha 2004-10-06 09:38:53 UTC
[Build 041006]
User can delete web service in registry, but item
representing web services is still in web
project's web service reference subtree. User then
get NPE when test web service's method.
Steps to reproduce:
1) create new web project
2) into project add web service client
3) go to runtime tab -> Web Services regitry and
delete web service
4) go to project tab and invoke test method from
Web Service References subnode
Get NPE because web service client was removed.
Comment 1 _ pcw 2004-10-06 17:59:12 UTC
This is related to 49946 and the correct fix for that bug will also
resolve this one.  This bug was likely exposed by fixing Delete on a
service in the registry so that the jar was actually removed.  Now
that the jar is truly gone, test cannot work.  There is no need (nor
should we) remove the reference from the project, as the reference has
no dependence on the registry *except* for the test mode UI it offers.

Note the user can regain functionality in the current build by
re-adding the service back to the registry and then closing and
reopening the project.
Comment 2 _ pcw 2004-10-06 22:37:43 UTC
Fixed
Comment 3 Petr Blaha 2004-10-11 09:25:55 UTC
Build 041011
Comment 4 Petr Blaha 2004-10-13 10:40:11 UTC
Remove all issues from temporary component.