I mean I have methods that aren't getters or setters that they aren't
part of the spec of javaBeans, but I don't want to do a custom Bean only
for one or two methods. Because I have the idea that customs are when I
need to change the way an object serialize itself.



-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Enviado el: lunes, 29 de marzo de 2004 12:41
Para: [EMAIL PROTECTED]
Asunto: Re: about javabeans - newbie

Hello Wermus,

If I understand your question correctly, you have a class that provides
both property accessors (getXXX(), setXXX()) and application logic, and
your concern is that AXIS not expose that application logic.  In that
case,
you don't need to do anything special, as that behaviour is provided by
the
BeanSerializer and BeanDeserializer.

If I have misread your question, please let me know.


Ian



 

                    "Wermus Fernando"

                    <[EMAIL PROTECTED]       To:
<[EMAIL PROTECTED]>                                    
                    et.net.ar>                 cc:

                                               Subject:     about
javabeans - newbie                                
                    03/29/2004 11:26 AM

                    Please respond to

                    axis-user

 

 





People,


I can declare javabeans in a web service but they function like a DTO.
What
if I want to use as a parameter a class that have a method like
"execute".
Do I have to customize the class?





Can I use a class that have methods like execute, but declare only the
methods getters & setters in the wsdd for being a javabean.





Thanks in advance.


















This transmission may contain information that is privileged,
confidential and/or exempt from disclosure under applicable law. If you
are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution, or use of the information contained
herein (including any reliance thereon) is STRICTLY PROHIBITED. If you
received this transmission in error, please immediately contact the
sender and destroy the material in its entirety, whether in electronic
or hard copy format. Thank you.


Reply via email to