You may group all your parameters into a JavaBean . Apache supports
BeanSerialization/DeSerialization. You have to specify the XML/Java
mappings in the deployment descriptor file.



                                                                                       
                
                    Michael Svoboda                                                    
                
                    <michael.svoboda@softwire        To:     [EMAIL PROTECTED]  
                
                    d-inc.com>                       cc:                               
                
                                                     Subject:     Generic Compound 
Type?               
                    07/12/2001 10:12 AM                                                
                
                    Please respond to                                                  
                
                    soap-user                                                          
                
                                                                                       
                
                                                                                       
                



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'm thankful for any help or hint
cheers

michael svoboda




Reply via email to