PHPBuilder - The web of services: using XML_RPC Page 6



RSS Twitter
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>

« Previous Page
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
Next Page »

Comment and Contribute

Your comment has been submitted and is pending approval.

Author:
Luis Argerich

Comment:



Comment:

(Maximum characters: 1200). You have characters left.