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

Bug 343294

Summary: "File->New->Web Service Client" for Axis2 generates un-usably large stub class
Product: [WebTools] WTP Webservices Reporter: Ryon Day <ryon_day>
Component: jst.wsAssignee: jst.ws <jst.ws-inbox>
Status: NEW --- QA Contact: Keith Chong <keith.chong.ca>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ryon Day CLA 2011-04-19 13:47:30 EDT
Build Identifier: 20110218-0911

When running wsdl2java from the command line, the user can specify the -u parameter, which unpacks all the databinding classes to separate .java files. This serves two purposes:
1: It keeps Eclipse from locking up due to a gimongous source file eating up all the memory
2: It makes tracking the flow of nested elements MUCH easier.

Unfortunately, the web service client generation panels seem to be missing this option. Therefore I have gotten 14+ megabyte 'stub' classes which are impossible to manage correctly. 

The correct fix for this is adding the -u functionality, already available on the command line, to Eclipse's invocation of wsdl2java.

Reproducible: Always

Steps to Reproduce:
1. Create a web service client (file->new->web service client)
2. Point Eclipse to your WSDL.
3. Look in dismay as a 20 megabyte .java file causes Eclipse to slow to a crawl.