You should first try the Bean serialization classes, which require your bean class to have getters and setters (as any bean should) or public fields. Your elements should have the same name as the fields, otherwise you'd need to provide a mapping through some PropertiesDescriptors I really don't know anything about.
snippet of app.wsdd (Deployment Descriptor to be used to deploy, see the User Guide)
Type is your bean class
<typeMapping
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:typens="http://mydomain.ar/myapp"
qname="typens:ar.mydomain.transaction.ExecutionControls"
type="java:ar.mydomain.transaction.ExecutionControls"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"/>
Hope it helps, if it is not enough, and you need some custom serializers, let me know and I'll send you some code.
Diego
-----Original Message-----
From: Vinod Menon [mailto:[EMAIL PROTECTED]]
Sent: Lunes 29 de Diciembre de 2003 14:46
To: [EMAIL PROTECTED]
Subject: serialize a Bean with Axis
How can I get axis to serialize a complex type. Any help is appreciated.
Thx
-Vinod
_________________________________________________________________
Tired of slow downloads? Compare online deals from your local high-speed
providers now. https://broadband.msn.com
http://www.portalsociete.com
Vis�tenos, lo estamos esperando.
============================================================
La informaci�n aqu� contenida es confidencial y est� dirigida
solamente a las personas direccionadas en el mail.
No debe ser considerada como recomendaci�n de compra o venta
de valores. Todo acceso no autorizado, uso, reproducci�n, o
divulgaci�n est� prohibido.
Ni SOCIETE GENERALE ni ninguna de sus subsidiarias o filiales
asumir�n responsabilidad ni obligaci�n legal alguna por cualquier
informaci�n incorrecta o alterada contenida en este mensaje.
The information contained herein is confidential and is intended
solely for the addressee(s). It shall not be construed as a
recommendation to buy or sell any security. Any unauthorized
access, use, reproduction, disclosure or dissemination is prohibited.
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
shall assume any legal liability or responsibility for any incorrect,
misleading or altered information contained herein.
============================================================
