Thanks Doug for the reply. I am going to compile using the -keep
option and see what to do. Modifying the generated code, unfortunately
is not one of the options for me. But looking at the generated code
I am sure will give me more insight to what the problem actually is
and how to fix it in the interface file.
Thanks
Suresh
> -----Original Message-----
> From: Public discussion on JAX-RPC
> [mailto:JAXRPC-INTEREST_at_JAVA.SUN.COM]On Behalf Of Doug Kohlert
> Sent: Wednesday, June 25, 2003 3:37 PM
> To: JAXRPC-INTEREST_at_JAVA.SUN.COM
> Subject: Re: wscompile error
>
>
> Suresh,
> This is cause when too many objects need to be serialized. You should
> be able to modify the SOMESERVICE_SerializerRegistry.java file to not have
> such a large method. Just break it up into smaller methods and recompile
> all of the generated code. Use the -keep option to tell wscompile not to
> delete the source files.
>
> Suresh wrote:
> > After compiling a config.xml file using the wscompile.sh tool,
> I am seeing
> > the following warning message:
> >
> > ${SOMEPATH}/SOMESERVICE_SerializerRegistry.java:5444: This code requires
> > generating a method with more than 64k butes. Virtual machines
> may refuse
> > the resulting class file.
> > registerSerializer(mapping, SOMECLASS, serializer);
> >
> >
> > Any idea what the error could be? I am pretty sure I do not
> have any long
> > methods etc.
> >
> > Suresh
>
>
> --
> Doug Kohlert
> Java Software Division
> Sun Microsystems, Inc.
> phone: 503 345-9806
>