vrana Tue Jun 14 06:17:04 2005 EDT
Modified files:
/phpdoc/en/reference/soap/functions soap-soapserver-fault.xml
soap-soapserver-handle.xml
use-soap-error-handler.xml
Log:
Refpurposes
http://cvs.php.net/diff.php/phpdoc/en/reference/soap/functions/soap-soapserver-fault.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/soap/functions/soap-soapserver-fault.xml
diff -u phpdoc/en/reference/soap/functions/soap-soapserver-fault.xml:1.2
phpdoc/en/reference/soap/functions/soap-soapserver-fault.xml:1.3
--- phpdoc/en/reference/soap/functions/soap-soapserver-fault.xml:1.2 Mon Apr
11 04:27:31 2005
+++ phpdoc/en/reference/soap/functions/soap-soapserver-fault.xml Tue Jun
14 06:17:02 2005
@@ -1,9 +1,9 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.soap-soapserver-fault">
<refnamediv>
<refname>SoapServer->fault()</refname>
- <refpurpose></refpurpose>
+ <refpurpose>Issue SoapServer fault indicating an error</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
http://cvs.php.net/diff.php/phpdoc/en/reference/soap/functions/soap-soapserver-handle.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/soap/functions/soap-soapserver-handle.xml
diff -u phpdoc/en/reference/soap/functions/soap-soapserver-handle.xml:1.2
phpdoc/en/reference/soap/functions/soap-soapserver-handle.xml:1.3
--- phpdoc/en/reference/soap/functions/soap-soapserver-handle.xml:1.2 Mon Apr
11 04:27:31 2005
+++ phpdoc/en/reference/soap/functions/soap-soapserver-handle.xml Tue Jun
14 06:17:03 2005
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.soap-soapserver-handle">
<refnamediv>
<refname>SoapServer->handle()</refname>
@@ -56,8 +56,15 @@
return $x;
}
+// function can return SoapHeader object
+function echoMeStringResponse($string)
+{
+ return new SoapHeader('http://soapinterop.org/echoheader/',
'echoMeStringResponse', $string);
+}
+
$server = new SoapServer(null, array('uri' => "http://test-uri/"));
$server->addFunction("test");
+$server->echoMeStringResponse("test");
$server->handle();
?>
]]>
http://cvs.php.net/diff.php/phpdoc/en/reference/soap/functions/use-soap-error-handler.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/soap/functions/use-soap-error-handler.xml
diff -u phpdoc/en/reference/soap/functions/use-soap-error-handler.xml:1.4
phpdoc/en/reference/soap/functions/use-soap-error-handler.xml:1.5
--- phpdoc/en/reference/soap/functions/use-soap-error-handler.xml:1.4 Wed May
4 05:39:11 2005
+++ phpdoc/en/reference/soap/functions/use-soap-error-handler.xml Tue Jun
14 06:17:03 2005
@@ -1,14 +1,14 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<refentry id="function.use-soap-error-handler">
<refnamediv>
<refname>use_soap_error_handler</refname>
- <refpurpose></refpurpose>
+ <refpurpose>Set whether to use the SOAP error handler and return the former
value</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>void</type><methodname>use_soap_error_handler</methodname>
+ <type>bool</type><methodname>use_soap_error_handler</methodname>
<methodparam
choice="opt"><type>bool</type><parameter>handler</parameter></methodparam>
</methodsynopsis>
&warn.undocumented.func;