You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Rajesh, Peter (CLAIMS, WIP)" <Pe...@TheHartford.com> on 2008/06/20 21:11:27 UTC

Serialize java object in Axis2


> Hi,
> 
> What is the class/method to use to serialize the java object and to
> create the xml. 
> 
> I'm looking for BeanSerializer but couldn't find it in Axis2 API's. 
> 
> Please help 
> 
> Thanks & Regards,
> 
> Peter Rajesh
> 


*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************


RE: Serialize java object in Axis2

Posted by "Rajesh, Peter (CLAIMS, WIP)" <Pe...@TheHartford.com>.
Yes, the java objects needs to be converted into soap request xml.



Thanks & Regards, 

Peter Rajesh 
CI Production Support 
Office  - 860-547-3881 
Mobile - 201-6580195 

 

________________________________

From: Willard, Jonathan [mailto:Jonathan.Willard@ca.com] 
Sent: Friday, June 20, 2008 4:10 PM
To: axis-user@ws.apache.org
Subject: RE: Serialize java object in Axis2



Are the beans really serialized or are they transformed into soap
elements via introspection?  I would suspect the latter.  The
serialization requirement is a bean requirement but I *think* axis2
requires the bean introspection not the bean serialization.  I could be
totally wrong but that is my gut guess.

 

Jon

 

________________________________

From: Rajesh, Peter (CLAIMS, WIP) [mailto:Peter.Rajesh@TheHartford.com] 
Sent: Friday, June 20, 2008 3:11 PM
To: axis-user@ws.apache.org
Subject: Serialize java object in Axis2

 

 

Hi, 

What is the class/method to use to serialize the java object and to
create the xml. 

I'm looking for BeanSerializer but couldn't find it in Axis2 API's. 

Please help 

Thanks & Regards, 

Peter Rajesh 



************************************************************************
*
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information. If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution
is
strictly prohibited. If you are not the intended recipient, please
notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
************************************************************************
*


Re: Serialize java object in Axis2

Posted by Ajith Ranabahu <aj...@gmail.com>.
hi,
We've moved away from the Axis1 model and in Axis2 the serilization
code is included  in the beans itself. For example if you code
generate with ADB , XMLBeans or any other databinding configuration
then the beans will either have the capability to
serialize/deserialize themselves or the classes required will be
generated and installed as part of the generated code. If you need to
do with arbitrary beans

* You'll have to write some code specific to your beans to
serilaize/deserialize them

Or

* use one of the introspective bean serializers we have. IIRC there is
such a utility written for the Java2WSDL.

HTH

Ajith
On Fri, Jun 20, 2008 at 4:10 PM, Willard, Jonathan
<Jo...@ca.com> wrote:
> Are the beans really serialized or are they transformed into soap elements
> via introspection?  I would suspect the latter.  The serialization
> requirement is a bean requirement but I *think* axis2 requires the bean
> introspection not the bean serialization.  I could be totally wrong but that
> is my gut guess.
>
>
>
> Jon
>
>
>
> ________________________________
>
> From: Rajesh, Peter (CLAIMS, WIP) [mailto:Peter.Rajesh@TheHartford.com]
> Sent: Friday, June 20, 2008 3:11 PM
> To: axis-user@ws.apache.org
> Subject: Serialize java object in Axis2
>
>
>
>
>
> Hi,
>
> What is the class/method to use to serialize the java object and to create
> the xml.
>
> I'm looking for BeanSerializer but couldn't find it in Axis2 API's.
>
> Please help
>
> Thanks & Regards,
>
> Peter Rajesh
>
> *************************************************************************
> This communication, including attachments, is
> for the exclusive use of addressee and may contain proprietary,
> confidential and/or privileged information. If you are not the intended
> recipient, any use, copying, disclosure, dissemination or distribution is
> strictly prohibited. If you are not the intended recipient, please notify
> the sender immediately by return e-mail, delete this communication and
> destroy all copies.
> *************************************************************************



-- 
Ajith Ranabahu

Reading, after a certain age, diverts the mind too much from its
creative pursuits. Any man who reads too much and uses his own brain
too little falls into lazy habits of thinking - Albert Einstein

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: Serialize java object in Axis2

Posted by "Willard, Jonathan" <Jo...@ca.com>.
Are the beans really serialized or are they transformed into soap
elements via introspection?  I would suspect the latter.  The
serialization requirement is a bean requirement but I *think* axis2
requires the bean introspection not the bean serialization.  I could be
totally wrong but that is my gut guess.

 

Jon

 

________________________________

From: Rajesh, Peter (CLAIMS, WIP) [mailto:Peter.Rajesh@TheHartford.com] 
Sent: Friday, June 20, 2008 3:11 PM
To: axis-user@ws.apache.org
Subject: Serialize java object in Axis2

 

 

Hi, 

What is the class/method to use to serialize the java object and to
create the xml. 

I'm looking for BeanSerializer but couldn't find it in Axis2 API's. 

Please help 

Thanks & Regards, 

Peter Rajesh 



************************************************************************
*
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information. If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution
is
strictly prohibited. If you are not the intended recipient, please
notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
************************************************************************
*