Hi Arvin

My understanding is that if your complex type is implementing like a
JavaBean interface i.e. there
is getter/setter for each attribute then you can just simply use
BeanSerializer/BeanDeserializer for all
of these type of objects.

Now in case you write your own data structure then you need to declare a
typemapping for that data
structure otherwise Axis will not know how to interpret this data structure
and pass it on the server/client
in XML.

Akhil

----- Original Message -----
From: "Arvin Jay Cando" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 02, 2003 12:26 PM
Subject: Newbie Question


> Good day.
>
> I am very new with Axis and SOAP.
> I have been trying the examples in the user guide of AXIS 1.1 and to be
> exact, the custom serialization example.
>
> In the example, a user made class Data was given as an example
> to be custom serialized/deserialized  It has member variables
> namely a String member, a Float member, (both have existing Serializer
> classes)
> and the third member, Data itself.
>
> Since Data has a custom serializer and deserializer, I understand it
> should work.
>
> My question is, if the third member is not Data, but another user made
> class, AnotherData
> for example, how do I go about it?
> Should I create serializer and deserializer classes for AnotherData and
> also register it to the
> TypeMapping Registry? And modify my deserializer for Data accordingly?
>
> If there are existing examples I can find, it will be greatly appreciated.
>
> Thanks a lot and God Bless.
>
> Arvin Jay Cando
>
>
> My questio
>
>
>

Reply via email to