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 55033 - [f] Application has to be deployed before registering web service
Summary: [f] Application has to be deployed before registering web service
Status: RESOLVED INVALID
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC All
: P4 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-16 10:56 UTC by L Martinek
Modified: 2013-06-17 09:51 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 L Martinek 2005-02-16 10:56:05 UTC
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?).
Comment 1 Martin Grebac 2005-02-22 11:52:36 UTC
Could you please write down steps how did you try it? Thanks.
Comment 2 L Martinek 2005-02-22 12:41:53 UTC
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.
Comment 3 _ pcw 2005-03-22 02:05:44 UTC
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.
Comment 4 _ pcw 2005-03-25 07:50:45 UTC
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.
Comment 5 Jiri Kopsa 2005-03-31 22:06:02 UTC
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.
Comment 6 _ pcw 2005-10-01 01:05:26 UTC
Reassigning to websvc since I am not working in this area anymore.
Comment 7 Jaroslav Pospisil 2006-03-13 13:39:56 UTC
TM 5.0->TBD
Comment 8 Milan Kuchtiak 2008-11-20 15:40:45 UTC
Not relevant since 6.0 release.
This action Register Web Service was removed.