Return-Path: Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 58081 invoked by uid 500); 5 Jul 2003 00:24:48 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 58016 invoked from network); 5 Jul 2003 00:24:47 -0000 Message-ID: <000501c3428b$a59fb360$e409fea9@1234> From: "Akhil Gupta" To: , References: Subject: Re: how to deserialize into bean Date: Sat, 5 Jul 2003 01:19:47 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_004D_01C34293.85F29840" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_004D_01C34293.85F29840 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 versa.=20 b) what you will need to do is set a BeanSerailizer/BeanDeserializer in = your wsdd file that you will be=20 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. Akhil=20 ----- Original Message -----=20 From: George Jagodzinski=20 To: axis-user@ws.apache.org=20 Sent: Wednesday, July 02, 2003 4:03 PM Subject: how to deserialize into bean This is adumb question, but I haven't been able to figure out exaclt = how to deserialize xml into a bean I have the correct bean setup=20 I inititalize a new BeanDeserializer using the correct java class, = qname and typedesc, but I don't see what method I am supposed to use to = deserialize the xml that I have and return the bean. I have been = looking everywhere for an example but I have had no luck. Can anyone = point me in the right direction? thank You, George ------=_NextPart_000_004D_01C34293.85F29840 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi George
 
My understanding is as = follows:-
 
a) If you are using Axis on both ends = to talk=20 between client/server then you don't need to do any XML-Bean or=20 vice
versa.
 
b) what you will need to do is set a=20 BeanSerailizer/BeanDeserializer in your wsdd file that you will be =
deploy in servlet engine. And then when = Axis will=20 recieve the data it will convert in to appropriate form.
 
You can have a look at the source for = the class=20 org.apache.axis.encoding.ser.BeanDeserializer  if it = helps.
 
Akhil
----- Original Message -----
From:=20 George=20 Jagodzinski
Sent: Wednesday, July 02, 2003 = 4:03=20 PM
Subject: how to deserialize = into=20 bean

This is  = adumb question,=20 but I haven't been able to figure out exaclt how to deserialize xml = into a=20 bean
 
I have the = correct bean setup=20
 
I inititalize a = new=20 BeanDeserializer=20 using the correct   java class, qname and typedesc, but I = don't see=20 what method I am supposed to use to deserialize the xml that I have = and return=20 the bean.  I have been looking everywhere for an example but I = have had=20 no luck. Can anyone point me in the right = direction?
 
 
thank You,
George
------=_NextPart_000_004D_01C34293.85F29840--