Hi Michael,

> I'd like to use a generic compound type, as it is described in the
> Soap-Spec in chapter 5.4.3.
> But I have no idea what has to be done, to use it. I even don't know if
> Apache supports it.
>
> Does anyone tried it out and has a code snipplet from a client and the
> web-service method?
> How do I deploy it? Do I need a schema?
>
> I would like to use a generic compound type because I have a generic
> method that takes 0 to n Parameters of different simple types.
>
> In Java I would use a Hashtable as single parameter that would contain
> all parameters inside. Because the Hashtable-type is not part of the
> Soap-Spec I can't use it, otherwise I would loose compatibility to other
> implementation.

I had the same problem and I had solved it by using a Properties Objekt
instead a Hashtable. The Properties-Objekt has Methods for writing all in a
File or something like this and I write all in a String and than I use
simple String as parameter or result-value instead of Hashtable.
Itīs not a really good way but it works find and you donīt need a lot of
time for implementation. The nices way should be to write
serializers/deserializers for your client.

Hope that helps you

Oliver

begin:vcard 
n:Rettig;Oliver
tel;fax:0721/38489606
tel;home:0721/9662896
tel;work:0721/38489600
x-mozilla-html:FALSE
org:ORAT Software-Entwicklung
adr:;;Steinstr. 23;Karlsruhe;;76133;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Dipl.Phys.
x-mozilla-cpt:;6688
fn:Oliver Rettig
end:vcard

Reply via email to