Yes, you're right, I realized that later, I have the java beans, I run
java2wsdl and then wsdl2java, so the code is overwritten.

Is there some other way to avoid losing the custom methods (like
toString) and still re-generating the code each time? I couldn't find
any solution..

Thanks for your answer.

On Jan 19, 2008 2:02 PM, Afkham Azeez <[EMAIL PROTECTED]> wrote:
> Did you implement toString in a generated class, and then regenerate the
> code? In that case, your changes will be overwritten. Anyway, it is not
> generally advisable to mess with auto generated code unless you are certain
> that you are not going to regenerate this code.
>
> Azeez
>
>
>
> On Jan 10, 2008 8:57 PM, Sam <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > Hi, I'm trying to override the toString method in beans re-generated
> > by wsdl2java and it seems to be deleting this code. Is it an expected
> > behaviour or there is something wrong with my code?
> >
> > Thanks in advance for your help!
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> Thanks
> Afkham Azeez
>
> http://www.wso2.org
> GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to