That's right Scott. The only current solution is to manually fix up
(split) the generated method. A future possibility is to add a "large
model" option (like EMF has), which will generate a completely different
pattern (i.e., the method initializes the metadata by loading it from a
file).
Frank.
"Scott Kurz" <[EMAIL PROTECTED]> wrote on 05/25/2007 04:25:18 PM:
> Well.. this one method can be easily refactored into two .. so that's at
> least one option...
> Scott
>
>
>
> On 5/25/07, Scott Kurz <[EMAIL PROTECTED]> wrote:
> >
> > I got a "code too large" compiler error when trying to compile the
static
> > SDO generated from a decent size WSDL w/ inline types:
> >
> > My.java:10270: code too large
> > protected void createXSDMetaData(ModelFactoryImpl
theModelPackageImpl)
> >
> > When I look at this line, #10270, there are about 15K lines of these:
> >
> > addXSDMapping
> > (getProperty(shippingChargeType,
> > ShippingChargeImpl.INTERNAL_SHIPPING_TYPE),
> > new String[]
> > {
> > "kind", "element",
> > "name", "ShippingType",
> > "namespace", "##targetNamespace"
> > });
> >
> >
> > Any suggestions? Any options to tweak? ( I think I'm using the
default
> > codegen options )
> >
> > Thanks,
> > Scott
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]