If an element has been defined as minOccurs="0", and you have no
occurrences, then there should be no elements in the message. Is that
what you mean by "drops the array"? If you define an element to wrap
the array, then that element should still be there, but Axis2
typically doesn't define an element to wrap an array.

Anne

On Mon, Apr 7, 2008 at 4:24 PM, Tony Liu <[EMAIL PROTECTED]> wrote:
> Hi Axis users,
>
> Has anyone had a problem with returning an empty array but not null array?
> It seems Axis2 drops the array in the returning soap message if it is empty
> (not null).
> There is an article about how to get around with it, but it doesn't work for
> me. Can anyone help?
>  http://www.ibm.com/developerworks/webservices/library/ws-array
>
> Regards,
>
> Tony
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to