Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 118765

Summary: web service disappears
Product: [WebTools] WTP Webservices Reporter: David Wooten <robwooten>
Component: wst.wsAssignee: Kathy Chan <kathy>
Status: CLOSED DUPLICATE QA Contact:
Severity: minor    
Priority: P3 CC: robwooten, rwooten
Version: 0.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description David Wooten CLA 2005-12-01 01:32:02 EST
Hello,

When I use the wizard to create a top-down web service from a wsdl file, it works fine. I can deploy to geronimo and find the service, and also test it using web services explorer. 

However, if I un-deploy the application from geronimo, then make a change to the java source, then, clean and rebuild, then re-deploy to geronimo the web service is gone. The admin service and version service are still there, but the web service I built from my wsdl file has now disappeared into thin air.
Comment 1 Chris Brealey CLA 2005-12-01 08:42:52 EST
I would have said this was related to bug 118673, except that the conditions that lead to that bug didn't appear until between WTP 1.0 M8 and M9. Still, my guess is that the server_config.wsdd file is getting lost somewhere amidst the undeploy/redeploy.

David, can you detail the steps you are taking to undeploy then redeploy your Web application containing the Axis service?
Comment 2 David Wooten CLA 2005-12-01 09:16:30 EST
Now that you mention it, I often see a message appear in the console that says something like 'missing server-config.wssd' followed by a message saying that it is creating a new one. Where does this file belong in my project, how do I create it, and how do I make sure it stays there and is deployed with each re-deployment?

Here are my steps for re-deployment:
- In the Servers window, right click Geronimo v1.0 server
- Click Add/Remove projects
- Remove the project I am working on...click Finish
- Make changes to my java class
- Perform clean/rebuild on project
- In the servers window, right click Geronimo server and click Add/Remove again
- Add my project to the server, click Finish
At this point I navigate my browser to the web service. I can see some parts, like the wsdl subfolder and the wsdl file. When I point to the service (http://hostname:port/webapp/services/servicename?wsdl) I get a 404 not found error. 

Thanks for your help.
Comment 3 Kathy Chan CLA 2005-12-21 14:38:07 EST
Hi David,

Since this problem is very similar to the problem in bug 118673 which had been fixed and is in RC5, could you please retry your scenario?
 
Thanks!
Comment 4 Kathy Chan CLA 2006-10-02 23:24:06 EDT
This problem had been fixed in earlier drivers.

*** This bug has been marked as a duplicate of 118673 ***
Comment 5 John Lanuti CLA 2006-11-28 15:50:00 EST
This is part of a mass update to close out all stale WTP bugs which are in the resolved state without an appropriate targeted version.  If you feel this bug was closed inappropriately, please reopen.