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

Bug 118098

Summary: A manual publish is required to make the second Web service work
Product: [WebTools] WTP Webservices Reporter: Jeffrey Liu <jeffliu>
Component: jst.wsAssignee: Kathy Chan <kathy>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jeffrey Liu CLA 2005-11-25 14:22:31 EST
WTP 1.0 M9

I found a scenario where if you generate two Web service in the same Web project, you need to do a manual publish before the second will work. To reproduce:

1. Create a dynamic Web project
2. Create a Java bean in the Web project
3. Create a Web service. Use default settings on the first wizard page (ie. no client, no test).
4. Create a second Java bean
5. Create a Web service for the 2nd bean. Again use default settings.
6. Use the WSExplorer to test the second Web service. Should fail.
7. Do a manual server publish
8. Test the 2nd Web service again. Works.

After talking to Kathy, I think if we choose to generate both client and sample JSPs, then the manual publish is not required. Probably because the sample gen will do a publish.
Comment 1 Chris Brealey CLA 2005-11-30 11:49:12 EST
Not critical for WTP 1.0 I think, but will at least merit an entry in New and Noteworthy.
Comment 2 Kathy Chan CLA 2005-12-06 16:32:51 EST

*** This bug has been marked as a duplicate of 119140 ***
Comment 3 Jeffrey Liu CLA 2006-01-24 14:12:18 EST
Closing bug.