I'm working towards an XMLRPC API that expects all request variables to be 
wrapped in a struct.

Example: 

<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>method1</methodName>
<params>
        <param>
                <value>
                        <struct>
                                <member>
                                        <name>param1</name>
                                        <value>value1</value>
                                </member>
                                <member>
                                        <name>param2</name>
                                        <value>value2</value>
                                </member>
                        </struct>
                </value>
        </param>
</params>
</methodCall>

 This behavior disturbs the convenient usage of dynamic proxies since input 
variables in method interfaces will have to be structs (or Maps in the Java 
interfaces) instead of the real input variables. 

Example:

method1(String param1, String param2)
has to be
method1(Map params)

Is it possible for the Apache implementation of XMLRPC to automatically wrap 
the input variables given in the method interfaces inside a struct before 
firing the request to the server so that I can take advantage of the input 
variables in the interfaces?

/Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to