Simon Fell wrote:
If that's the price for using XMLBeans data binding, what's the benifit ?
the benefit is 1-1 mapping of (almost) all of XML Schemas to Java.
so you can take any XML schema and start using it - big advantage to me.
The vast majority of the users want to use a strongly typed object
model generated from the WSDL, most of the don't care (and nor should
they) about xml, soap and the general intrictisy of web services. Most
of them would be even happier if we stopped shipping WSDLs and shipped
a taylor made client api instead. (even if that used SOAP under the
covers).
I asked this question to the Indigo folks, so i ask here too, SForce
is a WSI BP compliant service, Axis 1.x already handles it, why should
i move my client code from Axis 1.x to Axis 2.x ?
for me it would be doc/lit support and async messaging with nicer model
for handlers/modules ...
alek
-----Original Message-----
From: Sanjiva Weerawarana [mailto:[EMAIL PROTECTED]
Sent: Fri 9/30/2005 5:49 PM
To: [email protected]
Cc:
Subject: RE: [jira] Commented: (AXIS2-249) Exessive number &
size of filesgenerated from WSDL
On Fri, 2005-09-30 at 09:45 -0700, Simon Fell wrote:
> Yes, there's a lot of schema, this is a real world service that handles
> millions of requests a day, not some hello world sample.
>
> It seems incredable to me, that you need to generate 20x more files than
> Axis 1.1, yet its considered acceptible, Am I the only one that thinks
> this is completely out of control ?
This is the price of using XMLBeans data binding.
I guess what you're asking for is JAX-{B,RPC} compatible data binding.
An alternative (to get down to generating one class) would be to put
everything as inner classes .. that would work too.
IMO this is a (slightly) unfair criticism of Axis2 as by design data
binding is not in the core of Axis2 and its pluggable. However, you are
a real user and your needs are not met by Axis2's supported data binding
schemes .. so that's a perfectly fair complaint.
Do you folks (SForce) encourage people to deal with the messages at the
XML level directly at all? One could program against the OM and use
XPath etc. and not generate any code at all (except for a very small
stub class). No I'm not trying to cop out of saying a JAX-{B,RPC}
compatible data binding is a requirement for 1.0, just trying to
understand.
Sanjiva.
--
The best way to predict the future is to invent it - Alan Kay