didou Thu Mar 4 12:07:21 2004 EDT
Added files:
/phpdoc/en/reference/soap/functions SoapClient-call.xml
SoapClient-getFunctions.xml
SoapClient-getLastRequest.xml
SoapClient-getLastResponse.xml
SoapClient-getTypes.xml
Removed files:
/phpdoc/en/reference/soap/functions SoapClient-__call.xml
SoapClient-__getFunctions.xml
SoapClient-__getLastRequest.xml
SoapClient-__getLastResponse.xml
SoapClient-__getTypes.xml
Log:
finally solved this issue
http://cvs.php.net/co.php/phpdoc/en/reference/soap/functions/SoapClient-call.xml?r=1.1&p=1
Index: phpdoc/en/reference/soap/functions/SoapClient-call.xml
+++ phpdoc/en/reference/soap/functions/SoapClient-call.xml
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.SoapClient-call">
<refnamediv>
<refname>SoapClient::__call</refname>
<refpurpose>
Calls a SOAP function
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>mixed</type><methodname>SoapClient::__call</methodname>
<methodparam><type>string</type><parameter>function_name</parameter></methodparam>
<methodparam
choice="opt"><type>array</type><parameter>arguments</parameter></methodparam>
<methodparam
choice="opt"><type>array</type><parameter>options</parameter></methodparam>
<methodparam
choice="opt"><type>array</type><parameter>input_headers</parameter></methodparam>
<methodparam
choice="opt"><type>array</type><parameter>output_headers</parameter></methodparam>
</methodsynopsis>
<para>
This is a low level API function to make a SOAP call. Usually in WSDL mode
you can simply call SOAP functions as SoapClient methods. It is useful for
non-WSDL mode when <literal>soapaction</literal> is unknown,
<literal>uri</literal>
differs from the default or when you like to send and/or receive SOAP Headers.
On error, a call to a SOAP function can cause PHP exceptions or return a
SoapFault object if exceptions was disabled.
To check if the function call failed catch the SoapFault exceptions or
check the result with the <function>is_soap_fault</function> function.
</para>
<para>
SOAP functions may return one or several values. In the first case it will
return just the value of output parameter, in the second it will return
the associative array with named output parameters.
</para>
<para>
<example>
<title><function>SoapClient::__call</function> examples</title>
<programlisting role="php">
<![CDATA[
<?php
$client = new SoapClient("some.wsdl");
$client->SomeFunction($a, $b, $c);
$client->__call("SomeFunction", array($a, $b, $c));
$client->__call("SomeFunction", array($a, $b, $c), NULL,
new SoapHeader(...), $output_headers);
$client = new SoapClient(null, array('location' => "http://localhost/soap.php",
'uri' => "http://test-uri/"));
$client->SomeFunction($a, $b, $c);
$client->__call("SomeFunction", array($a, $b, $c));
$client->__call("SomeFunction", array($a, $b, $c),
array('soapaction' => 'some_action',
'uri' => 'some_uri'));
?>
]]>
</programlisting>
</example>
</para>
<para>
See also
<function>SoapClient::SoapClient</function>,
<function>SoapParam::SoapParam</function>,
<function>SoapVar::SoapVar</function>,
<function>SoapHeader::SoapHeader</function>,
<function>SoapFault::SoapFault</function>, and
<function>is_soap_fault</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/phpdoc/en/reference/soap/functions/SoapClient-getFunctions.xml?r=1.1&p=1
Index: phpdoc/en/reference/soap/functions/SoapClient-getFunctions.xml
+++ phpdoc/en/reference/soap/functions/SoapClient-getFunctions.xml
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.SoapClient-getFunctions">
<refnamediv>
<refname>SoapClient::__getFunctions</refname>
<refpurpose>
Returns list of SOAP functions
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>SoapClient::__getFunctions</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
</methodsynopsis>
<para>
This function works only in WSDL mode.
</para>
<para>
<example>
<title><function>SoapClient::__getFunctions</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
$client = SoapClient("some.wsdl");
var_dump($client->__getFunctions());
?>
]]>
</programlisting>
</example>
</para>
<para>
See also
<function>SoapClient::SoapClient</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/phpdoc/en/reference/soap/functions/SoapClient-getLastRequest.xml?r=1.1&p=1
Index: phpdoc/en/reference/soap/functions/SoapClient-getLastRequest.xml
+++ phpdoc/en/reference/soap/functions/SoapClient-getLastRequest.xml
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.SoapClient-getLastRequest">
<refnamediv>
<refname>SoapClient::__getLastRequest</refname>
<refpurpose>
Returns last SOAP request
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>SoapClient::__getLastRequest</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
</methodsynopsis>
<para>
This function works only with SoapClient which was created with
the <literal>trace</literal> option.
</para>
<para>
<example>
<title><function>SoapClient::__getLastRequest</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
$client = SoapClient("some.wsdl", array('trace' => 1));
$result = $client->SomeFunction(...);
echo "REQUEST:\n" . $client->__getLastRequest() . "\n";
?>
]]>
</programlisting>
</example>
</para>
<para>
See also
<function>SoapClient::SoapClient</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/phpdoc/en/reference/soap/functions/SoapClient-getLastResponse.xml?r=1.1&p=1
Index: phpdoc/en/reference/soap/functions/SoapClient-getLastResponse.xml
+++ phpdoc/en/reference/soap/functions/SoapClient-getLastResponse.xml
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.SoapClient-getLastResponse">
<refnamediv>
<refname>SoapClient::__getLastResponse</refname>
<refpurpose>
Returns last SOAP response
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>object</type><methodname>SoapClient::__getLastResponse</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
</methodsynopsis>
<para>
This function works only with SoapClient which was created with
the <literal>trace</literal> option.
</para>
<para>
<example>
<title><function>SoapClient::__getLastResponse</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
$client = SoapClient("some.wsdl", array('trace' => 1));
$result = $client->SomeFunction(...);
echo "RESPONSE:\n" . $client->__getLastResponse() . "\n";
?>
]]>
</programlisting>
</example>
</para>
<para>
See also
<function>SoapClient::SoapClient</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/phpdoc/en/reference/soap/functions/SoapClient-getTypes.xml?r=1.1&p=1
Index: phpdoc/en/reference/soap/functions/SoapClient-getTypes.xml
+++ phpdoc/en/reference/soap/functions/SoapClient-getTypes.xml
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.SoapClient-getTypes">
<refnamediv>
<refname>SoapClient::__getTypes</refname>
<refpurpose>
Returns list of SOAP types
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>SoapClient::__getTypes</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
</methodsynopsis>
<para>
This function works only in WSDL mode.
</para>
<para>
<example>
<title><function>SoapClient::__getTypes</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
$client = SoapClient("some.wsdl");
var_dump($client->__getTypes());
?>
]]>
</programlisting>
</example>
</para>
<para>
See also
<function>SoapClient::SoapClient</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->