Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327158 - WS Client Generation - Application and Utility Clients added to multiple EARs
Summary: WS Client Generation - Application and Utility Clients added to multiple EARs
Status: RESOLVED FIXED
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: 3.2.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M4   Edit
Assignee: Keith Chong CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 15:34 EDT by Ivan Castro CLA
Modified: 2012-12-11 15:24 EST (History)
1 user (show)

See Also:


Attachments
Source patch for suggested fix (2.42 KB, patch)
2010-10-06 15:37 EDT, Ivan Castro CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.