yeap..it's explained in the XFire site...

http://xfire.codehaus.org/Mapping+collections

On 3/19/07, Joro Penchev <[EMAIL PROTECTED]> wrote:

Hi,

I want to have a Map<keytype, List<valuetype>> as return type of one of my
web-service methods. Using default binding this binds to AnyType2AnyType map
in the WSDL which results in "Type unknown" exceptions thrown by Xfire on
invoking the method.

I've read the article about Aegis bindings here:


http://maven.apache.org/doxia/doxia-example-book/aegis-binding.html#aegis_binding

and it has a section that describes proper mapping of maps as return
types. However in all examples I managed to find on the net, the value type
of the Map is a single type (custom or native) and I need a list of custom
objects. I have thoroughly looked at the XSD for Aegis mappings here
http://xfire.codehaus.org/schemas/1.0/mapping.xsd

but I cannot find a way to declare a map that has a collection as its
value type.

Is this possible with Aegis? Can anyone help on this issue?

Thanks in advance :)

- Jorr

Reply via email to