axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <>
Subject Re: standalone deserialization
Date Thu, 12 Jun 2003 16:14:41 GMT
take a look at TestBeanDeser*.java (

-- dims

--- Nikolay Metchev <> wrote:
> Hello Axis developers,
> I have searched the axis-user mailing list for the answer to my question and
> it seems that it has been asked several times but never answered. I thought
> I would try my luck here and see if anyone would be so kind to help me out.
> I am trying do some serialization/deserialization so that I can store
> certain objects used in my web service and reuse them in the future but also
> allow people to change those objects by just editing the xml which
> represents those objects. Serialization was easy and in fact I found two
> ways of doing so
> 1. Create a BeanSerializer and call the serialize method on it
> 2. Create a SerializationContext and call its serialize method
> It is a little worrying that there are two ways to achieve the same things
> (not a very clean API).
> Nevertheless I was stumped at how to do the inverse (i.e. from the xml
> produced in the method outlined above recreate the objects that were
> serialized). I would appreciate if someone could give me some sample code
> which serializes an object produced from wsdl2java and then deserializes it
> back.

Davanum Srinivas -

Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).

View raw message