You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "pat e (JIRA)" <ax...@ws.apache.org> on 2004/10/28 03:41:33 UTC

[jira] Created: (AXIS-1630) WSDL2Java: static initializer cannot exceed 65535

WSDL2Java: static initializer cannot exceed 65535
-------------------------------------------------

         Key: AXIS-1630
         URL: http://issues.apache.org/jira/browse/AXIS-1630
     Project: Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.1, 1.2RC2    
 Environment: j2sdk 1.4.2_05, windows 2000
    Reporter: pat e


Hi, we've run into an issue with a WSDL that has a large amount of messages (900 or so), portTypes (470), and bindings(470).  We get a "static initializer cannot exceed 65535 bytes" error when compiling the "*SoapBindingSkeleton.java" that came from WSDL2Java (specifically the ant task, but i believe this is irrelevant).


It is quite similar to the below issues that were reported (fixed ~10 months ago) against the generation of "*SoapBindingStub.java" files:

http://nagoya.apache.org/jira/browse/AXIS-694
http://nagoya.apache.org/jira/browse/AXIS-1098


Looks like a similar fix could be implemented here.  Thanks!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1630) WSDL2Java: static initializer cannot exceed 65535

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1630?page=comments#action_54723 ]
     
Davanum Srinivas commented on AXIS-1630:
----------------------------------------

Pat,

I think the ball is in your court on this one :) Since we don't have the huge wsdl file...Can you please take a stab at fixing the problem and submitting a patch against latest CVS? the code in question is in org/apache/axis/wsdl/toJava directory. 

thanks,
dims

> WSDL2Java: static initializer cannot exceed 65535
> -------------------------------------------------
>
>          Key: AXIS-1630
>          URL: http://issues.apache.org/jira/browse/AXIS-1630
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.1, 1.2RC2
>  Environment: j2sdk 1.4.2_05, windows 2000
>     Reporter: pat e

>
> Hi, we've run into an issue with a WSDL that has a large amount of messages (900 or so), portTypes (470), and bindings(470).  We get a "static initializer cannot exceed 65535 bytes" error when compiling the "*SoapBindingSkeleton.java" that came from WSDL2Java (specifically the ant task, but i believe this is irrelevant).
> It is quite similar to the below issues that were reported (fixed ~10 months ago) against the generation of "*SoapBindingStub.java" files:
> http://nagoya.apache.org/jira/browse/AXIS-694
> http://nagoya.apache.org/jira/browse/AXIS-1098
> Looks like a similar fix could be implemented here.  Thanks!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1630) WSDL2Java: static initializer cannot exceed 65535

Posted by "Dominik Kacprzak (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1630?page=comments#action_54775 ]
     
Dominik Kacprzak commented on AXIS-1630:
----------------------------------------

Hi,

I started to look at this issue earlier today.  I tried to generate a wsdl file to recreate your problem but without any luck. My WSDL has 2000 messages/ports/bindings and I manage to break javac in some other ways than what you reported.  Would you be able to share your WSDL to help reproduce your problem?

thanks,

- Dominik

> WSDL2Java: static initializer cannot exceed 65535
> -------------------------------------------------
>
>          Key: AXIS-1630
>          URL: http://issues.apache.org/jira/browse/AXIS-1630
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.1, 1.2RC2
>  Environment: j2sdk 1.4.2_05, windows 2000
>     Reporter: pat e

>
> Hi, we've run into an issue with a WSDL that has a large amount of messages (900 or so), portTypes (470), and bindings(470).  We get a "static initializer cannot exceed 65535 bytes" error when compiling the "*SoapBindingSkeleton.java" that came from WSDL2Java (specifically the ant task, but i believe this is irrelevant).
> It is quite similar to the below issues that were reported (fixed ~10 months ago) against the generation of "*SoapBindingStub.java" files:
> http://nagoya.apache.org/jira/browse/AXIS-694
> http://nagoya.apache.org/jira/browse/AXIS-1098
> Looks like a similar fix could be implemented here.  Thanks!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1630) WSDL2Java: static initializer cannot exceed 65535

Posted by "pat e (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1630?page=comments#action_54773 ]
     
pat e commented on AXIS-1630:
-----------------------------

Fair enough!  I'll try to make some time for this, must pull CVS & figure out build process and all.  Thanks!

> WSDL2Java: static initializer cannot exceed 65535
> -------------------------------------------------
>
>          Key: AXIS-1630
>          URL: http://issues.apache.org/jira/browse/AXIS-1630
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.1, 1.2RC2
>  Environment: j2sdk 1.4.2_05, windows 2000
>     Reporter: pat e

>
> Hi, we've run into an issue with a WSDL that has a large amount of messages (900 or so), portTypes (470), and bindings(470).  We get a "static initializer cannot exceed 65535 bytes" error when compiling the "*SoapBindingSkeleton.java" that came from WSDL2Java (specifically the ant task, but i believe this is irrelevant).
> It is quite similar to the below issues that were reported (fixed ~10 months ago) against the generation of "*SoapBindingStub.java" files:
> http://nagoya.apache.org/jira/browse/AXIS-694
> http://nagoya.apache.org/jira/browse/AXIS-1098
> Looks like a similar fix could be implemented here.  Thanks!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira