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

Reply via email to