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

Bug 327158

Summary: WS Client Generation - Application and Utility Clients added to multiple EARs
Product: [WebTools] WTP Webservices Reporter: Ivan Castro <ivanc>
Component: jst.wsAssignee: Keith Chong <keith.chong.ca>
Status: RESOLVED FIXED QA Contact: Keith Chong <keith.chong.ca>
Severity: normal    
Priority: P3 CC: mahutch
Version: 3.2.2   
Target Milestone: 3.5 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Source patch for suggested fix none

Description Ivan Castro CLA 2010-10-06 15:34:12 EDT
When creating Web Service Clients through the Web Service Wizard, if you select either Application or Java Utility client as your project type, the project will be associated to an existent EAR (if any) at the project's creation time. Afterwards, the Web Service Wizard will also associate the project (only in case of Application Client projects) to the EAR specified in the wizard.
Comment 1 Ivan Castro CLA 2010-10-06 15:37:54 EDT
Created attachment 180371 [details]
Source patch for suggested fix

I'm attaching a patch that fixes this problem.
Comment 2 Keith Chong CLA 2012-10-05 15:35:49 EDT
The fix looks good.

Here's another way to describe the problem:

When generating a Web service client into an Application Client, after finishing with the wizard, the project will be associated to any existent EAR in the workspace.  It will also be associated with the EAR as specified in the wizard.

When generating a Web service client into a Java Utility project, after finishing with the wizard, the project will be associated to any existent EAR in the workspace.
Comment 3 Keith Chong CLA 2012-12-11 15:24:37 EST
Delivered to 3.4.2 and 3.5.