a bit more of CS and WS

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@152538 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2004-02-27 13:31:13 +00:00
parent f18579b48a
commit f7dd58a66b
2 changed files with 11 additions and 11 deletions

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<refentry id="function.SoapFault-SoapFault">
<refnamediv>
<refname>SoapFault::SoapFault</refname>
@ -35,12 +35,12 @@
<?php
function test($x)
{
return new SoapFault("Server","Some error message");
return new SoapFault("Server", "Some error message");
}
$server = new SoapServer(null,array('uri'=>"http://test-uri/"));
$server = new SoapServer(null, array('uri' => "http://test-uri/"));
$server->addFunction("test");
$server->handle();
$server->handle();
?>
]]>
</programlisting>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<refentry id="function.SoapParam-SoapParam">
<refnamediv>
<refname>SoapParam::SoapParam</refname>
@ -15,12 +15,12 @@
<methodparam><type>string</type><parameter>name</parameter></methodparam>
</methodsynopsis>
<para>
SoapParam is a special low-level class for naming parameters and return
values in nonWSDL mode. It is just a data holder and it has not any
special method except constructor. The constructor takes <parameter>data</parameter>
to pass or return and <parameter>name</parameter>. It is possible to pass
parameters directly as PHP value, but in this case it will be named as
<literal>paramN</literal> and SOAP Service may not understand them.
SoapParam is a special low-level class for naming parameters and return
values in nonWSDL mode. It is just a data holder and it has not any
special method except constructor. The constructor takes <parameter>data</parameter>
to pass or return and <parameter>name</parameter>. It is possible to pass
parameters directly as PHP value, but in this case it will be named as
<literal>paramN</literal> and SOAP Service may not understand them.
</para>
<para>
<example>