reference/soap/soapclient/soapcall.xml
fe4e8b87d18f17394e7177917c498774b062448c
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="soapclient.soapcall" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>SoapClient::__soapCall</refname>
...
...
@@ -9,13 +8,13 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="SoapClient">
13
12
<modifier>public</modifier> <type>mixed</type><methodname>SoapClient::__soapCall</methodname>
14
-
<methodparam><type>string</type><parameter>function_name</parameter></methodparam>
15
-
<methodparam><type>array</type><parameter>arguments</parameter></methodparam>
16
-
<methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
17
-
<methodparam choice="opt"><type>mixed</type><parameter>input_headers</parameter></methodparam>
18
-
<methodparam choice="opt"><type>array</type><parameter role="reference">output_headers</parameter></methodparam>
13
+
<methodparam><type>string</type><parameter>name</parameter></methodparam>
14
+
<methodparam><type>array</type><parameter>args</parameter></methodparam>
15
+
<methodparam choice="opt"><type class="union"><type>array</type><type>null</type></type><parameter>options</parameter><initializer>&null;</initializer></methodparam>
16
+
<methodparam choice="opt"><type class="union"><type>SoapHeader</type><type>array</type><type>null</type></type><parameter>inputHeaders</parameter><initializer>&null;</initializer></methodparam>
17
+
<methodparam choice="opt"><type>array</type><parameter role="reference">outputHeaders</parameter><initializer>&null;</initializer></methodparam>
19
18
</methodsynopsis>
20
19
<para>
21
20
This is a low level API function that is used to make a SOAP call. Usually,
...
...
@@ -37,7 +36,7 @@
37
36
<para>
38
37
<variablelist>
39
38
<varlistentry>
40
-
<term><parameter>function_name</parameter></term>
39
+
<term><parameter>name</parameter></term>
41
40
<listitem>
42
41
<para>
43
42
The name of the SOAP function to call.
...
...
@@ -45,7 +44,7 @@
45
44
</listitem>
46
45
</varlistentry>
47
46
<varlistentry>
48
-
<term><parameter>arguments</parameter></term>
47
+
<term><parameter>args</parameter></term>
49
48
<listitem>
50
49
<para>
51
50
An array of the arguments to pass to the function. This can be either
...
...
@@ -73,7 +72,7 @@
73
72
</listitem>
74
73
</varlistentry>
75
74
<varlistentry>
76
-
<term><parameter>input_headers</parameter></term>
75
+
<term><parameter>inputHeaders</parameter></term>
77
76
<listitem>
78
77
<para>
79
78
An array of headers to be sent along with the SOAP request.
...
...
@@ -81,7 +80,7 @@
81
80
</listitem>
82
81
</varlistentry>
83
82
<varlistentry>
84
-
<term><parameter>output_headers</parameter></term>
83
+
<term><parameter>outputHeaders</parameter></term>
85
84
<listitem>
86
85
<para>
87
86
If supplied, this array will be filled with the headers from the SOAP response.
...
...
@@ -95,15 +94,15 @@
95
94
<refsect1 role="returnvalues">
96
95
&reftitle.returnvalues;
97
96
<para>
98
-
SOAP functions may return one, or multiple values. If only one value is returned
99
-
by the SOAP function, the return value of <literal>__soapCall</literal> will be
100
-
a simple value (e.g. an integer, a string, etc). If multiple values are
101
-
returned, <literal>__soapCall</literal> will return
102
-
an associative array of named output parameters.
97
+
SOAP functions may return one, or multiple values. If only one value is
98
+
returned by the SOAP function, the return value will be a scalar.
99
+
If multiple values are returned, an associative array of named output
100
+
parameters is returned instead.
103
101
</para>
104
102
<para>
105
-
On error, if the SoapClient object was constructed with the <literal>exceptions</literal>
106
-
option set to &false;, a SoapFault object will be returned.
103
+
On error, if the <classname>SoapClient</classname> object was constructed
104
+
with the <literal>exceptions</literal> option set to &false;,
105
+
a <classname>SoapFault</classname> object will be returned.
107
106
</para>
108
107
</refsect1>
109
108

...
...
@@ -111,7 +110,7 @@
111
110
&reftitle.examples;
112
111
<para>
113
112
<example>
114
-
<title><function>SoapClient::__soapCall</function> example</title>
113
+
<title><methodname>SoapClient::__soapCall</methodname> example</title>
115
114
<programlisting role="php">
116
115
<![CDATA[
117
116
<?php
...
...
@@ -142,18 +141,17 @@ $client->__soapCall("SomeFunction", array($a, $b, $c),
142
141
&reftitle.seealso;
143
142
<para>
144
143
<simplelist>
145
-
<member><methodname>SoapClient::SoapClient</methodname></member>
146
-
<member><methodname>SoapParam::SoapParam</methodname></member>
147
-
<member><methodname>SoapVar::SoapVar</methodname></member>
148
-
<member><methodname>SoapHeader::SoapHeader</methodname></member>
149
-
<member><methodname>SoapFault::SoapFault</methodname></member>
144
+
<member><methodname>SoapClient::__construct</methodname></member>
145
+
<member><methodname>SoapParam::__construct</methodname></member>
146
+
<member><methodname>SoapVar::__construct</methodname></member>
147
+
<member><methodname>SoapHeader::__construct</methodname></member>
148
+
<member><methodname>SoapFault::__construct</methodname></member>
150
149
<member><function>is_soap_fault</function></member>
151
150
</simplelist>
152
151
</para>
153
152
</refsect1>
154
153

155
154
</refentry>
156
-

157
155
<!-- Keep this comment at the end of the file
158
156
Local variables:
159
157
mode: sgml
160
158