views:

32

answers:

1
+1  A: 

You can find all the options at

http://ws.apache.org/axis2/tools/1_0/CodegenToolReference.html

Of interest to you may be

-u
--unpack-classes    
Unpack classes. This option specifies whether to unpack the classes and generate separate classes for the databinders.

However, last time I used it (on a salesforce.com wsdl), I still got a giant 10 MB stub, because the WSDL was monolithic. So yes, this will try to unpack classes, but if it is written as a single class with 10000 methods on the server side, it will still be big.

As to static, I think it depends on the type of generator you use. It doesn't have to be.

-d  
--databinding-method    
Specifies the Databinding framework. valid values are xmlbeans, adb, jibx, and none. Default is adb.
bwawok