2004-02-27 12:34:16 +00:00
|
|
|
<?xml version='1.0' encoding='iso-8859-1'?>
|
2004-02-27 16:36:36 +00:00
|
|
|
<!-- $Revision: 1.4 $ -->
|
2004-02-27 12:34:16 +00:00
|
|
|
<refentry id="function.SoapServer-handle">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>SoapServer::handle</refname>
|
|
|
|
<refpurpose>
|
|
|
|
Handles a SOAP request
|
|
|
|
</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
<methodsynopsis>
|
|
|
|
<type>void</type><methodname>SoapServer::handle</methodname>
|
|
|
|
<methodparam choice="opt"><type>string</type><parameter>soap_request</parameter></methodparam>
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
2004-02-27 13:59:44 +00:00
|
|
|
Processes a SOAP request, calls necessary functions, and sends a response
|
|
|
|
back. It assumes a request in input parameter <parameter>soap_request</parameter>
|
|
|
|
or in the global <varname>$HTTP_RAW_POST_DATA</varname> PHP variable if the argument is
|
2004-02-27 12:34:16 +00:00
|
|
|
omitted.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
<example>
|
|
|
|
<title>Some examples</title>
|
|
|
|
<programlisting role="php">
|
|
|
|
<![CDATA[
|
|
|
|
<?php
|
|
|
|
function test($x)
|
|
|
|
{
|
|
|
|
return $x;
|
|
|
|
}
|
|
|
|
|
2004-02-27 13:26:12 +00:00
|
|
|
$server = new SoapServer(null, array('uri' => "http://test-uri/"));
|
2004-02-27 12:34:16 +00:00
|
|
|
$server->addFunction("test");
|
|
|
|
$server->handle();
|
|
|
|
?>
|
|
|
|
]]>
|
|
|
|
</programlisting>
|
|
|
|
</example>
|
|
|
|
</para>
|
2004-02-27 16:36:36 +00:00
|
|
|
<para>
|
|
|
|
See also
|
|
|
|
<function>SoapServer::SoapServer</function>.
|
|
|
|
</para>
|
2004-02-27 12:34:16 +00:00
|
|
|
</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
|
|
|
|
-->
|