<?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.4 $ --> <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> 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 omitted. </para> <para> <example> <title>Some examples</title> <programlisting role="php"> <![CDATA[ <?php function test($x) { return $x; } $server = new SoapServer(null, array('uri' => "http://test-uri/")); $server->addFunction("test"); $server->handle(); ?> ]]> </programlisting> </example> </para> <para> See also <function>SoapServer::SoapServer</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 -->