Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343294 - "File->New->Web Service Client" for Axis2 generates un-usably large stub class
Summary: "File->New->Web Service Client" for Axis2 generates un-usably large stub class
Status: NEW
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jst.ws CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-19 13:47 EDT by Ryon Day CLA
Modified: 2011-04-19 13:47 EDT (History)
0 users

See Also:


Attachments

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