This section describes how a remote method call can be defined in XML format. The root element name is 'methodCall'.
The first item of the XML-RPC specification is about how to define a remote method call in XML.
XML-RPC defines a method call as an XML element called "methodCall".
I have tried to find a copy of the official XML Schema Definition
(XSD) of "methodCall". But I had no success. So I wrote one myself.
It is definitely not 100% accurate. But it does show you how the
"methodCall" XML structure should be.
A "methodCall" element will have a required "methodName" element and an optional
"params" element.
A "methodName" element specifies the name of the method.
A "params" element specifies a list of "param" elements as parameters
for the method.
A "param" element will have a "value" element.
A "value" element will have a value type element, which contains the actual value
of the parameter.
There are 7 value type elements: "int", "boolean", "string", "double", "dateTime.iso8601",
"base64", "struct" and "array". The first 6 are simple elements and the last 2 are complex elements.
A "struct" element will have a list of "member" elements. A "member" element will have a "name"
element and a "value" element.
An "array" element will have a "data" elements, which will have a list of "value" elements.