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 Gavriloaie_andrei <an...@ean.ro> on 2003/07/15 09:01:35 UTC
Simple example of typemapping
Hi,
I'm an axis beginer and I just want to make a service with some methods
using beans containing arrays of other beans. My problem is that I want to
make my own (de)serializers for this new types and I don't know how. Pls
give me some start point, a internet link or something like that. A
functional example would be great, but ANY HELP is very appreciated.
NOW I only know that i must use
<typeMapping qname="ns:localName" classname="classname" serializer=
classname" deserializer="classname"/>
in the wsdd file but I don't know what serializer and deserializer classes
to create and what this classes implements or subclass.
Tx
Re: Simple example of typemapping
Posted by Srinath Perera <he...@vijayaba.cse.mrt.ac.lk>.
Hi andrei
you should extends from the Serializer, and Desirializer (in
org.apache.encoding .... i think). Then should create SerializerFactory
and desirializerFactory.
I will not write lot. see Aixs user giude about beans and custom type
mapping. (even though it pretty thin has links to cuple of examples have
look at them).
regards
Srinath
On Tue, 2003-07-15 at 13:01, Gavriloaie_andrei wrote:
> Hi,
>
> I'm an axis beginer and I just want to make a service with some
> methods using beans containing arrays of other beans. My problem is
> that I want to make my own (de)serializers for this new types and I
> don't know how. Pls give me some start point, a internet link or
> something like that. A functional example would be great, but ANY HELP
> is very appreciated.
>
> NOW I only know that i must use
>
> <typeMapping qname="ns:localName" classname="classname"
> serializer="classname" deserializer="classname"/>
>
> in the wsdd file but I don't know what serializer and deserializer
> classes to create and what this classes implements or subclass.
>
>
> Tx
>
>
>
> ____________________________________________________
> IncrediMail - Email has finally evolved - Click Here