• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

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

Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Don't sweat petty things, or pet sweaty things. But cuddle this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic