aspose file tools*
The moose likes Web Services and the fly likes Web service Client Using Axis2 + XML Beans = Why So Many Files ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web service Client Using Axis2 + XML Beans = Why So Many Files ??" Watch "Web service Client Using Axis2 + XML Beans = Why So Many Files ??" New topic
Author

Web service Client Using Axis2 + XML Beans = Why So Many Files ??

Samuel Jason
Greenhorn

Joined: Jun 26, 2011
Posts: 10
Hi,

I'm generating code for a web service using axis2 with xmlbeans method.

In the first place, what stunned me was the number of files that are
generated for a web service client: approximately 1500 ! The first thing
comes to mind is why on earth would you need so many files?

I presume these generated xsb files are somehow dependent on the wsdl or
xsd, since they're generated each time I run wsdl2java.
Another quirk is the TypeSystemHolder class, that is generated, and placed
somewhere between the xsb files. It's not a generated source file that is
located with the other, regular source files. You need to have it on the
classpath; that's all I know.

I don't feel comfortable bundling so many files into my enterprise application for a single client. What about going forward if I were to create 20 more clients - 20 * 1500 files ???
Am I doing something wrong or is it just the way it( axis2 with xmlbeans) is.

Please help guys
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Web service Client Using Axis2 + XML Beans = Why So Many Files ??