wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web service Client Using Axis2 + XML Beans = Why So Many Files ??
 
Similar Threads
Axis2 Questions
Make sure the generated binary files are on the classpath
Help Needed in java web services using axis2
XMLBeans
[Axis2] Error while generating client code from WSDL