Articles Php Functions
The web of services: using XML_RPC - Page 6
by: Luis Argerich
|
March 29, 2001
<arrays>s can be recursive, any value may contain an <array> or any other type, including a <struct>, described above.
The XML_RPC responses.
The XML response is a HTTP response content-type: text/xml with the body following the format:
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value><string>South Dakota</string></value>
</param>
</params>
</methodResponse>
<methodResponse> may have a <params> structure or a <fault> structure as sub-elements depending on the sucess or not of the procedure call. The params structure is the same as in the XML request, a <fault> element follows this syntax:
<fault>
<value>
<struct>
<member>
<name>faultCode</name>
<value><int>4</int></value>
</member>
<member>
<name>faultString</name>
<value><string>Too many parameters.</string></value>
</member>
</struct>
</value>
</fault>
Please enable Javascript in your browser, before you post the comment! Now Javascript is disabled.