PHPBuilder - The web of services: using XML_RPC Page 5



RSS Twitter
Articles Php Functions

The web of services: using XML_RPC - Page 5

by: Luis Argerich
|
March 29, 2001

Here's an example of a two-element <struct>:
<struct>
   <member>
      <name>name</name>
      <value><string>John</string></value>
      </member>
   <member>
      <name>age</name>
      <value><i4>19</i4></value>
      </member>
</struct>
<struct>s can be recursive, any <value> may contain a <struct> or any other type, including an <array>, described below.
<array>s
A value can also be of type <array>.
An <array> contains a single <data> element, which can contain any number of <value>s.
Here's an example of a three-element array:
<array>
   <data>
      <value><boolean>0</boolean></value>
      <value><i4>9</i4></value>
      <value><string>Hello</string></value>
   </data>
</array>
<array> elements do not have names.
You can mix types as the example above illustrates.

« 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.