axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeyakumaran Chandrasegaram" <>
Subject Re: how to deserialize into bean
Date Mon, 07 Jul 2003 03:10:55 GMT
I think u r going in a worng way.U just see arround the apache's bean serializer class and
deserializer and work with it. Then u only need make it available in yr wsdd file.
It's better to go thru the samole webservice.
even If u need yr manual one,it will be more easy if u go thru the existing beasn serializer/deserializer
and then work it with yr own or may extend it after making it compatible to u.

  ----- Original Message ----- 
  From: George Jagodzinski 
  Sent: Saturday, July 05, 2003 10:04 AM
  Subject: RE: how to deserialize into bean

  There are many times when it is necessary to deserialize xml manually. I do not have axis
on both sides, and I am receiving custom xml attachments that I need to deserialize into beans,
so this is why I am going down this road. I have  not found any class in axis that allows
for this functionality without constructing an entire envelope etc..... I could be wrong,
but I have wasted enough time looking so I am just writing it in. I don't know if this would
be of any use to anyone else, but I will post it once I am done

  [George Jagodzinski]  -----Original Message-----
  From: Akhil Gupta []
  Sent: Friday, July 04, 2003 8:20 PM
  Subject: Re: how to deserialize into bean

    Hi George
    My understanding is as follows:-
    a) If you are using Axis on both ends to talk between client/server then you don't need
to do any XML-Bean or vice
    b) what you will need to do is set a BeanSerailizer/BeanDeserializer in your wsdd file
that you will be 
    deploy in servlet engine. And then when Axis will recieve the data it will convert in
to appropriate form.
    You can have a look at the source for the class org.apache.axis.encoding.ser.BeanDeserializer
 if it helps.

View raw message