I have tried with a beanMapping, but when the bean contains a array of
other beans this is not enough. If I give a bean as a parameter to a
method, and this bean has an array of other beans, i have found that i
can make this work by adding this to my WSDD:

<typeMapping
 xmlns:mt="http://myNameSpace"; qname="mt:Destinations"
 type="java:dk.mobilethink.soap.data.Destination[]"
 serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
 deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
/>

But somehow this is not engough wheh its the return type of the method
is a bean with a array of beans inside?? Have you ever done excatly
this?

/Søren

-----Original Message-----
From: Tore Halset [mailto:[EMAIL PROTECTED] 
Sent: 31. oktober 2003 10:48
To: '[EMAIL PROTECTED]'
Subject: Re: Any god documentation/tutorial of the WSDD deployment
descriptor file?


On Fri, 31 Oct 2003, Søren Neigaard wrote:

> I have found that it in the WSDD the hard part is with AXIS. For
example I
> have a SOAP-RPC method that returns a Bean wich has a array of some
other
> bean inside, but I have no idea how this should be mapped in the WSDD
file.

I think you should have one beanMapping for each bean in the
service-entry
of the wsdd-file. That is working for me.

 - Tore.


Reply via email to