axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <amilasuriarach...@gmail.com>
Subject Re: code too large error
Date Thu, 20 Dec 2007 13:13:42 GMT
what are the options you use to generate the code?
do you use the -u option. is it possible you to send the wsdl?

thanks,
Amila.

On Dec 20, 2007 1:33 AM, Man Tat Lam <lam7780@gmail.com> wrote:

> Hi everyone,
>
>   I am a webservices developer (just for a few months).  I am using
> wsdl2java ant alot to build the stub, binding and stuff.  Everything works
> fine (thanks for your effort).  I went into some problem yesterday.
>
> I now have around 121 operations in my wsdl file, when I add one more
> operation and try to compile it.  The BindingSkeleton.java generated by
> wsdl2java throw me an error
>
> 12: code too large
>     [javac]     private static java.util.Map _myOperations = new
> java.util.Hashtable();
>
> It looks like there are too many operations and the Hashtable cannot hold
> it.  Can anyone give me some suggestion what I should do.  I know many of
> you are very good designer and think I should refactor out some methods.  In
> this case, I don;t think I have the options.
>
> thanks alot, appreciated
> Merry X'mas
>
> mantat
>



-- 
Amila Suriarachchi,
WSO2 Inc.

Mime
View raw message