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.
User has to redeploy application with web service and only after that he can register web service. Many users don't know it or forget it. I would recommend to automatically redeploy application (what redeploy if WebApp is inside EAR?) during registering or inform user in case that application isn't redeployed (is it possible to find it out?).
Could you please write down steps how did you try it? Thanks.
1. Create new web application. 2. Create new web service in this web application. 3. Build web application. 4. Register web service. Now it will fail because web application isn't deployed.
This is related to bug #55035. Interested parties (Rico, myself, Jiri and/or Jano, whoever else) should get together on a concall to decide what the correct behavior should be before they are fixed. I will send an email summary detailing the issues and potential solutions.
I think we can do this, assuming I can synchronously find and execute the <Deploy> target in the ant script. One concern I have is that this will definitely increase the amount of time required to update a registered service, possibly unnecessarily (see comments on bug #55035 since we cannot actually tell if the registry needs updating or now.) The other thing is that deploy, except maybe directory deployment is not incremental -- even if the deployed project is uptodate, if I execute the deploy target, it will deployed again needlessly. Given that the only "test client" for a developed service offered by NetBeans 4.1 is the registry this is perhaps still fairly important. One alternative is to simply attempt to register and if the appserver is not running, or the application is not deployed, we can issue an error and suggest the user check the status of those two items.
Perfect WS workflow would be fine, but it is a very though task. It needs to be carefully designed. Until now we have created a set of "tools" allowing the user to create and consume Web Services; making the user experience better is a task for promo-f.
Reassigning to websvc since I am not working in this area anymore.
TM 5.0->TBD
Not relevant since 6.0 release. This action Register Web Service was removed.