reference/soap/soapclient/call.xml
fe4e8b87d18f17394e7177917c498774b062448c
...
...
@@ -8,7 +8,7 @@
8
8

9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
-
<methodsynopsis>
11
+
<methodsynopsis role="SoapClient">
12
12
<modifier>public</modifier> <type>mixed</type><methodname>SoapClient::__call</methodname>
13
13
<methodparam><type>string</type><parameter>name</parameter></methodparam>
14
14
<methodparam><type>array</type><parameter>args</parameter></methodparam>
...
...
@@ -17,7 +17,48 @@
17
17
Calling this method directly is deprecated. Usually, SOAP functions can be
18
18
called as methods of the <classname>SoapClient</classname> object; in
19
19
situations where this is not possible or additional options are needed, use
20
-
<function>SoapClient::__soapCall</function>.
20
+
<methodname>SoapClient::__soapCall</methodname>.
21
+
</para>
22
+
</refsect1>
23
+

24
+
<refsect1 role="parameters">
25
+
&reftitle.parameters;
26
+
<para>
27
+
<variablelist>
28
+
<varlistentry>
29
+
<term><parameter>name</parameter></term>
30
+
<listitem>
31
+
<para>
32
+
The name of the SOAP function to call.
33
+
</para>
34
+
</listitem>
35
+
</varlistentry>
36
+
<varlistentry>
37
+
<term><parameter>args</parameter></term>
38
+
<listitem>
39
+
<para>
40
+
An array of the arguments to pass to the function.
41
+
This can be either an ordered or an associative array.
42
+
Note that most SOAP servers require parameter names to be provided, in which case this must be an associative array.
43
+
</para>
44
+
</listitem>
45
+
</varlistentry>
46
+
</variablelist>
47
+
</para>
48
+
</refsect1>
49
+

50
+
<refsect1 role="returnvalues">
51
+
&reftitle.returnvalues;
52
+
<para>
53
+
SOAP functions may return one, or multiple values. If only one value is
54
+
returned by the SOAP function, the return value will be a scalar.
55
+
If multiple values are returned, an associative array of named output
56
+
parameters is returned instead.
57
+
</para>
58
+
<para>
59
+
On error, if the <classname>SoapClient</classname> object was constructed
60
+
with the <literal>exceptions</literal> option set to &false;,
61
+
a <classname>SoapFault</classname> object will be returned.
21
62
</para>
22
63
</refsect1>
23
64

24
65