I had my previous question to Edd, forwarded from
him to this list. To hopefully clarify the question, I'm trying to figure
out if PHP XML RPC supports having "multiple parameters" passed back from a
server.
If you decode the XML its:
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<params>
<param>
<value>
<struct>
<member>
<name>foo</name>
<value><string>bar</string></value>
</member>
<member>
<name>yes</name>
<value><int>1</int></value>
</member>
</struct>
</value>
</param>
<param>
<value><string>hahaha</string></value>
</param>
<param>
<value><int>1</int></value>
</param>
</params>
</methodResponse>
The PHP XML RPC only evaluates the last <param>
Is this correct behavior? I know I can
"technically" just put everything into a struct, but shouldn't it support
multiple parameters?
(That is the reason for <params> then
<param> </param> </params> right?)
Thanks,
Eric
|
- Re: [phpxmlrpc] Multiple Params? Eric Peters
- Re: [phpxmlrpc] Multiple Params? Markus Kutschker