cvs: phpdoc /en/reference/soap book.xml configure.xml constants.xml ini.xml reference.xml setup.xml soapclient.xml soapfault.xml soapheader.xml
soapparam.xml soapserver.xml soapvar.xml versions.xml /en/reference/soap/functions is-soap-fault.xml soap-soapclient-call.xml
soap-soapclient-construct.xml soap-soapclient-dorequest.xml soap-soapclient-getfunctions.xml soap-soapclient-getlastrequest.xml
soap-soapclient-getlastrequestheaders.xml soap-soapclient-getlastresponse.xml soap-soapclient-getlastresponseheaders.xml soap-soapclient-gettypes.xml
soap-soapclient-setcookie.xml soap-soapclient-setlocation.xml soap-soapclient-setsoapheaders.xml soap-soapclient-soapcall.xml
soap-soapfault-construct.xml soap-soapheader-construct.xml soap-soapparam-construct.xml soap-soapserver-addfunction.xml soap-soapserver-construct.xml
soap-soapserver-fault.xml soap-soapserver-getfunctions.xml soap-soapserver-handle.xml soap-soapserver-setclass.xml soap-soapserver-setpersistence.xml
soap-! soapvar-construct.xml use-soap-error-handler.xml /en/reference/soap/soapclient call.xml construct.xml dorequest.xml getfunctions.xml
getlastrequest.xml getlastrequestheaders.xml getlastresponse.xml getlastresponseheaders.xml gettypes.xml setcookie.xml setlocation.xml
setsoapheaders.xml soapcall.xml soapclient.xml /en/reference/soap/soapfault soapfault.xml tostring.xml /en/reference/soap/soapheader soapheader.xml
/en/reference/soap/soapparam soapparam.xml /en/reference/soap/soapserver addfunction.xml addsoapheader.xml fault.xml getfunctions.xml handle.xml
setclass.xml setobject.xml setpersistence.xml soapserver.xml /en/reference/soap/soapvar soapvar.xml
| From: | Michael Maclean | Date: | Mon, 16 Feb 2009 21:27:29 +0000 |
| Subject: | cvs: phpdoc /en/reference/soap book.xml configure.xml constants.xml ini.xml reference.xml setup.xml soapclient.xml soapfault.xml soapheader.xml soapparam.xml soapserver.xml soapvar.xml versions.xml /en/reference/soap/functions is-soap-fault.xml soap-soapclient-call.xml soap-soapclient-construct.xml soap-soapclient-dorequest.xml soap-soapclient-getfunctions.xml soap-soapclient-getlastrequest.xml soap-soapclient-getlastrequestheaders.xml soap-soapclient-getlastresponse.xml soap-soapclient-getlastresponseheaders.xml soap-soapclient-gettypes.xml soap-soapclient-setcookie.xml soap-soapclient-setlocation.xml soap-soapclient-setsoapheaders.xml soap-soapclient-soapcall.xml soap-soapfault-construct.xml soap-soapheader-construct.xml soap-soapparam-construct.xml soap-soapserver-addfunction.xml soap-soapserver-construct.xml soap-soapserver-fault.xml soap-soapserver-getfunctions.xml soap-soapserver-handle.xml soap-soapserver-setclass.xml soap-soapserver-setpersistence.xml soap-! soapvar-construct.xml use-soap-error-handler.xml /en/reference/soap/soapclient call.xml construct.xml dorequest.xml getfunctions.xml getlastrequest.xml getlastrequestheaders.xml getlastresponse.xml getlastresponseheaders.xml gettypes.xml setcookie.xml setlocation.xml setsoapheaders.xml soapcall.xml soapclient.xml /en/reference/soap/soapfault soapfault.xml tostring.xml /en/reference/soap/soapheader soapheader.xml /en/reference/soap/soapparam soapparam.xml /en/reference/soap/soapserver addfunction.xml addsoapheader.xml fault.xml getfunctions.xml handle.xml setclass.xml setobject.xml setpersistence.xml soapserver.xml /en/reference/soap/soapvar soapvar.xml |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3290@lists.php.net to get a copy of this message | ||
mgdm Mon Feb 16 21:27:29 2009 UTC
Added files:
/phpdoc/en/reference/soap configure.xml soapclient.xml
soapfault.xml soapheader.xml
soapparam.xml soapserver.xml soapvar.xml
/phpdoc/en/reference/soap/soapclient call.xml construct.xml
dorequest.xml getfunctions.xml
getlastrequest.xml
getlastrequestheaders.xml
getlastresponse.xml
getlastresponseheaders.xml
gettypes.xml setcookie.xml
setlocation.xml
setsoapheaders.xml
soapcall.xml soapclient.xml
/phpdoc/en/reference/soap/soapfault soapfault.xml tostring.xml
/phpdoc/en/reference/soap/soapheader soapheader.xml
/phpdoc/en/reference/soap/soapparam soapparam.xml
/phpdoc/en/reference/soap/soapserver addfunction.xml
addsoapheader.xml fault.xml
getfunctions.xml handle.xml
setclass.xml setobject.xml
setpersistence.xml
soapserver.xml
/phpdoc/en/reference/soap/soapvar soapvar.xml
Removed files:
/phpdoc/en/reference/soap/functions soap-soapclient-call.xml
soap-soapclient-construct.xml
soap-soapclient-dorequest.xml
soap-soapclient-getfunctions.xml
soap-soapclient-getlastrequest.xml
soap-soapclient-getlastrequestheaders.xml
soap-soapclient-getlastresponse.xml
soap-soapclient-getlastresponseheaders.xml
soap-soapclient-gettypes.xml
soap-soapclient-setcookie.xml
soap-soapclient-setlocation.xml
soap-soapclient-setsoapheaders.xml
soap-soapclient-soapcall.xml
soap-soapfault-construct.xml
soap-soapheader-construct.xml
soap-soapparam-construct.xml
soap-soapserver-addfunction.xml
soap-soapserver-construct.xml
soap-soapserver-fault.xml
soap-soapserver-getfunctions.xml
soap-soapserver-handle.xml
soap-soapserver-setclass.xml
soap-soapserver-setpersistence.xml
soap-soapvar-construct.xml
Modified files:
/phpdoc/en/reference/soap book.xml constants.xml ini.xml
reference.xml setup.xml versions.xml
/phpdoc/en/reference/soap/functions is-soap-fault.xml
use-soap-error-handler.xml
Log:
Update ext/soap docs to the new markup
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/book.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/soap/book.xml diff -u phpdoc/en/reference/soap/book.xml:1.2 phpdoc/en/reference/soap/book.xml:1.3 --- phpdoc/en/reference/soap/book.xml:1.2 Fri Dec 21 19:55:11 2007 +++ phpdoc/en/reference/soap/book.xml Mon Feb 16 21:27:28 2009 @@ -1,12 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- Purpose: webservice --> -<!-- Membership: bundled, external --> - +<!-- $Revision: 1.3 $ --> + <book xml:id="book.soap" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>SOAP</title> - - <!-- {{{ preface --> + <titleabbrev>SOAP</titleabbrev> + <preface xml:id="intro.soap"> &reftitle.intro; <para> @@ -16,12 +14,20 @@ xlink:href="&spec.wsdl;">WSDL 1.1</link> specifications. </para> </preface> - <!-- }}} --> - + &reference.soap.setup; &reference.soap.constants; + <!-- &reference.soap.examples; --> &reference.soap.reference; + &reference.soap.soapclient; + &reference.soap.soapserver; + &reference.soap.soapfault; + &reference.soap.soapheader; + &reference.soap.soapparam; + &reference.soap.soapvar; + + </book> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/constants.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/soap/constants.xml diff -u phpdoc/en/reference/soap/constants.xml:1.8 phpdoc/en/reference/soap/constants.xml:1.9 --- phpdoc/en/reference/soap/constants.xml:1.8 Fri Nov 7 10:49:09 2008 +++ phpdoc/en/reference/soap/constants.xml Mon Feb 16 21:27:28 2009 @@ -1,825 +1,783 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.8 $ --> -<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. --> -<appendix xml:id="soap.constants" xmlns="http://docbook.org/ns/docbook"> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.9 $ --> + +<appendix xml:id="soap.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.constants; &extension.constants; - <variablelist> - <varlistentry> - <term> - <constant>SOAP_1_1</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_1_2</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_PERSISTENCE_SESSION</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_PERSISTENCE_REQUEST</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_FUNCTIONS_ALL</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_ENCODED</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_LITERAL</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_RPC</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_DOCUMENT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_ACTOR_NEXT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_ACTOR_NONE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_ACTOR_UNLIMATERECEIVER</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_COMPRESSION_ACCEPT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_COMPRESSION_GZIP</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_COMPRESSION_DEFLATE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_WAIT_ONE_WAY_CALLS</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - Added in PHP 5.1.0. - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_USE_XSI_ARRAY_TYPE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_SINGLE_ELEMENT_ARRAYS</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>UNKNOWN_TYPE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_STRING</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_BOOLEAN</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_DECIMAL</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_FLOAT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_DOUBLE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_DURATION</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_DATETIME</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_TIME</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_DATE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_GYEARMONTH</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_GYEAR</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_GMONTHDAY</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_GDAY</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_GMONTH</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_HEXBINARY</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_BASE64BINARY</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_ANYURI</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_ANYXML</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - Added in PHP 5.1.0. - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_QNAME</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NOTATION</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NORMALIZEDSTRING</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_TOKEN</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_LANGUAGE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NMTOKEN</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NAME</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NCNAME</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_ID</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_IDREF</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_IDREFS</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_ENTITY</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_ENTITIES</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_INTEGER</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NONPOSITIVEINTEGER</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NEGATIVEINTEGER</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_LONG</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_INT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_SHORT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_BYTE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NONNEGATIVEINTEGER</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_UNSIGNEDLONG</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_UNSIGNEDINT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_UNSIGNEDSHORT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_UNSIGNEDBYTE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_POSITIVEINTEGER</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NMTOKENS</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_ANYTYPE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_ENC_OBJECT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_ENC_ARRAY</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_1999_TIMEINSTANT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NAMESPACE</constant> + <para> + <variablelist> + <varlistentry> + <term> + <constant>SOAP_1_1</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_1_2</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_PERSISTENCE_SESSION</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_PERSISTENCE_REQUEST</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_FUNCTIONS_ALL</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_ENCODED</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_LITERAL</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_RPC</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_DOCUMENT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_ACTOR_NEXT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_ACTOR_NONE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_ACTOR_UNLIMATERECEIVER</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_COMPRESSION_ACCEPT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_COMPRESSION_GZIP</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_COMPRESSION_DEFLATE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_AUTHENTICATION_BASIC</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_AUTHENTICATION_DIGEST</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>UNKNOWN_TYPE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_STRING</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_BOOLEAN</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_DECIMAL</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_FLOAT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_DOUBLE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_DURATION</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_DATETIME</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_TIME</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_DATE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_GYEARMONTH</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_GYEAR</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_GMONTHDAY</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_GDAY</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_GMONTH</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_HEXBINARY</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_BASE64BINARY</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_ANYURI</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_QNAME</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NOTATION</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NORMALIZEDSTRING</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_TOKEN</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_LANGUAGE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NMTOKEN</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NAME</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NCNAME</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_ID</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_IDREF</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_IDREFS</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_ENTITY</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_ENTITIES</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_INTEGER</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NONPOSITIVEINTEGER</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NEGATIVEINTEGER</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_LONG</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_INT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_SHORT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_BYTE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NONNEGATIVEINTEGER</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_UNSIGNEDLONG</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_UNSIGNEDINT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_UNSIGNEDSHORT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_UNSIGNEDBYTE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_POSITIVEINTEGER</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NMTOKENS</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_ANYTYPE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_ANYXML</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>APACHE_MAP</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_ENC_OBJECT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_ENC_ARRAY</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_1999_TIMEINSTANT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NAMESPACE</constant> (<type>string</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_1999_NAMESPACE</constant> + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_1999_NAMESPACE</constant> (<type>string</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>WSDL_CACHE_NONE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - Switches off WSDL caching even if - <link linkend="ini.soap.wsdl-cache-enabled">soap.wsdl_cache_enabled</link> - is on. Available since PHP 5.1.5. - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>WSDL_CACHE_DISK</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - Available since PHP 5.1.5. - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>WSDL_CACHE_MEMORY</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - Caches WSDL data in process memory. Available since PHP 5.1.5. - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>WSDL_CACHE_BOTH</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - Available since PHP 5.1.5. - </simpara> - </listitem> - </varlistentry> - </variablelist> + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_SINGLE_ELEMENT_ARRAYS</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_WAIT_ONE_WAY_CALLS</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_USE_XSI_ARRAY_TYPE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>WSDL_CACHE_NONE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>WSDL_CACHE_DISK</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>WSDL_CACHE_MEMORY</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>WSDL_CACHE_BOTH</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + </variablelist> + </para> </appendix> <!-- Keep this comment at the end of the file @@ -833,7 +791,7 @@ sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" +sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil @@ -842,3 +800,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/ini.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/soap/ini.xml diff -u phpdoc/en/reference/soap/ini.xml:1.11 phpdoc/en/reference/soap/ini.xml:1.12 --- phpdoc/en/reference/soap/ini.xml:1.11 Fri Jan 9 17:33:39 2009 +++ phpdoc/en/reference/soap/ini.xml Mon Feb 16 21:27:28 2009 @@ -1,148 +1,127 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.12 $ --> + <section xml:id="soap.configuration" xmlns="http://docbook.org/ns/docbook"> &reftitle.runtime; &extension.runtime; <para> <table> - <title>SOAP Configuration Options</title> + <title>SOAP &ConfigureOptions;</title> <tgroup cols="4"> <thead> <row> - <entry>Name</entry> - <entry>Default</entry> - <entry>Changeable</entry> - <entry>Changelog</entry> + <entry>&Name;</entry> + <entry>&Default;</entry> + <entry>&Changeable;</entry> + <entry>&Changelog;</entry> </row> </thead> <tbody> <row> - <entry><link linkend="ini.soap.wsdl-cache-enabled">soap.wsdl_cache_enabled</link></entry> - <entry>"1"</entry> + <entry>soap.wsdl_cache_enabled</entry> + <entry>1</entry> <entry>PHP_INI_ALL</entry> - <entry>Available since PHP 5.0.0.</entry> + <entry><!-- leave empty, this will be filled by an automatic script --></entry> </row> <row> - <entry><link linkend="ini.soap.wsdl-cache-dir">soap.wsdl_cache_dir</link></entry> - <entry>"/tmp"</entry> + <entry>soap.wsdl_cache_dir</entry> + <entry>/tmp</entry> <entry>PHP_INI_ALL</entry> - <entry>Available since PHP 5.0.0.</entry> + <entry><!-- leave empty, this will be filled by an automatic script --></entry> </row> <row> - <entry><link linkend="ini.soap.wsdl-cache-ttl">soap.wsdl_cache_ttl</link></entry> - <entry>"86400"</entry> + <entry>soap.wsdl_cache_ttl</entry> + <entry>86400</entry> <entry>PHP_INI_ALL</entry> - <entry>Available since PHP 5.0.0.</entry> + <entry><!-- leave empty, this will be filled by an automatic script --></entry> </row> <row> - <entry><link linkend="ini.soap.wsdl-cache-limit">soap.wsdl_cache_limit</link></entry> - <entry>"5"</entry> + <entry>soap.wsdl_cache</entry> + <entry>1</entry> <entry>PHP_INI_ALL</entry> - <entry>Available since PHP 5.1.5.</entry> + <entry><!-- leave empty, this will be filled by an automatic script --></entry> </row> <row> - <entry><link linkend="ini.soap.wsdl-cache">soap.wsdl_cache</link></entry> - <entry>"1"</entry> + <entry>soap.wsdl_cache_limit</entry> + <entry>5</entry> <entry>PHP_INI_ALL</entry> - <entry>Available since PHP 5.1.5.</entry> + <entry><!-- leave empty, this will be filled by an automatic script --></entry> </row> - </tbody> +</tbody> </tgroup> </table> - &ini.php.constants; -</para> + </para> + + &ini.descriptions.title; -&ini.descriptions.title; + <para> + <variablelist> + <varlistentry xml:id="ini.soap.wsdl-cache-enabled"> + <term> + <parameter>soap.wsdl_cache_enabled</parameter> + <type>integer</type> + </term> + <listitem> + <para> + Enables or disables the WSDL caching feature. + </para> + </listitem> + </varlistentry> + <varlistentry xml:id="ini.soap.wsdl-cache-dir"> + <term> + <parameter>soap.wsdl_cache_dir</parameter> + <type>string</type> + </term> + <listitem> + <para> + Sets the directory name where the SOAP extension will put cache files. + </para> + </listitem> + </varlistentry> + <varlistentry xml:id="ini.soap.wsdl-cache-ttl"> + <term> + <parameter>soap.wsdl_cache_ttl</parameter> + <type>integer</type> + </term> + <listitem> + <para> + Sets the number of seconds (time to live) that cached files will be used + instead of the originals. + </para> + </listitem> + </varlistentry> + <varlistentry xml:id="ini.soap.wsdl-cache"> + <term> + <parameter>soap.wsdl_cache</parameter> + <type>integer</type> + </term> + <listitem> + <para> + If <parameter>soap.wsdl_cache_enabled</parameter> is on, this setting + determines the type of caching. It can be any of: + <constant>WSDL_CACHE_NONE</constant> (<literal>0</literal>), + <constant>WSDL_CACHE_DISK</constant> (<literal>1</literal>), + <constant>WSDL_CACHE_MEMORY</constant> (<literal>2</literal>) or + <constant>WSDL_CACHE_BOTH</constant> (<literal>3</literal>). This can + also be set via the <parameter>options</parameter> array in the + <classname>SoapClient</classname> or <classname>SoapServer</classname> + constructor. + </para> + </listitem> + </varlistentry> + <varlistentry xml:id="ini.soap.wsdl-cache-limit"> + <term> + <parameter>soap.wsdl_cache_limit</parameter> + <type>integer</type> + </term> + <listitem> + <para> + Maximum number of in-memory cached WSDL files. Adding further files into + a full memory cache will delete the oldest files from it. + </para> + </listitem> + </varlistentry> -<para> - <variablelist> - <varlistentry xml:id="ini.soap.wsdl-cache-enabled"> - <term> - <parameter>soap.wsdl_cache_enabled</parameter> - <type>boolean</type> - </term> - <listitem> - <para> - Enables or disables the WSDL caching feature. - </para> - </listitem> - </varlistentry> - <varlistentry xml:id="ini.soap.wsdl-cache-dir"> - <term> - <parameter>soap.wsdl_cache_dir</parameter> - <type>string</type> - </term> - <listitem> - <para> - Sets the directory name where the SOAP extension will put cache files. - </para> - </listitem> - </varlistentry> - <varlistentry xml:id="ini.soap.wsdl-cache-ttl"> - <term> - <parameter>soap.wsdl_cache_ttl</parameter> - <type>integer</type> - </term> - <listitem> - <para> - Sets the number of seconds (time to live) that cached files will be used - instead of the originals. - </para> - </listitem> - </varlistentry> - <varlistentry xml:id="ini.soap.wsdl-cache-limit"> - <term> - <parameter>soap.wsdl_cache_limit</parameter> - <type>integer</type> - </term> - <listitem> - <para> - Maximum number of in-memory cached WSDL files. Adding further files into - a full memory cache will delete the oldest files from it. - </para> - </listitem> - </varlistentry> - <varlistentry xml:id="ini.soap.wsdl-cache"> - <term> - <parameter>soap.wsdl_cache</parameter> - <type>integer</type> - </term> - <listitem> - <para> - If <parameter>soap.wsdl_cache_enabled</parameter> is on, this setting - determines the type of caching. It can be any of: - <constant>WSDL_CACHE_NONE</constant> (<literal>0</literal>), - <constant>WSDL_CACHE_DISK</constant> (<literal>1</literal>), - <constant>WSDL_CACHE_MEMORY</constant> (<literal>2</literal>) or - <constant>WSDL_CACHE_BOTH</constant> (<literal>3</literal>). This can - also be set via the <parameter>options</parameter> array in the - <classname>SoapClient</classname> or <classname>SoapServer</classname> - constructor. - </para> - </listitem> - </varlistentry> - </variablelist> + </variablelist> </para> </section> - -<!-- 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/viewvc.cgi/phpdoc/en/reference/soap/reference.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc/en/reference/soap/reference.xml diff -u phpdoc/en/reference/soap/reference.xml:1.14 phpdoc/en/reference/soap/reference.xml:1.15 --- phpdoc/en/reference/soap/reference.xml:1.14 Fri May 30 17:25:12 2008 +++ phpdoc/en/reference/soap/reference.xml Mon Feb 16 21:27:28 2009 @@ -1,174 +1,13 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.14 $ --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.15 $ --> + <reference xml:id="ref.soap" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>SOAP &Functions;</title> - <partintro> - - - <!-- FIXME: Upgrade to the new-oo-markup --> - <section xml:id='soap.classes'> - &reftitle.classes; - - <section xml:id='soap.class.soapclient'> - <title><classname>SoapClient</classname></title> - <para></para> - <section xml:id='soap.class.soapclient.constructor'> - &reftitle.constructor; - <itemizedlist> - <listitem> - <para><xref linkend='function.soap-soapclient-construct' /> - - constructs a new SoapClient object</para> - </listitem> - </itemizedlist> - </section> - <section xml:id='soap.class.soapclient.methods'> - &reftitle.methods; - <itemizedlist> - <listitem> - <para><xref linkend='function.soap-soapclient-call' /> - Calls a SOAP function (deprecated)</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-dorequest' /> - Performs a SOAP request</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-getfunctions' /> - Returns list of SOAP functions</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-getlastrequest' /> - Returns last SOAP request</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-getlastrequestheaders' /> - Returns last SOAP request headers</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-getlastresponse' /> - Returns last SOAP response</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-getlastresponseheaders' /> - Returns last SOAP response headers</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-gettypes' /> - Returns list of SOAP types</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-setcookie' /> - Sets the - cookie that will be sent with the SOAP request</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-soapcall' /> - Calls a SOAP function</para> - </listitem> - </itemizedlist> - </section> - </section> - - <section xml:id='soap.class.soapfault'> - <title><classname>SoapFault</classname></title> - <para></para> - <section xml:id='soap.class.soapfault.constructor'> - &reftitle.constructor; - <itemizedlist> - <listitem> - <para><xref linkend='function.soap-soapfault-construct' /> - construct a new SoapFault object</para> - </listitem> - </itemizedlist> - </section> - </section> - - <section xml:id='soap.class.soapheader'> - <title><classname>SoapHeader</classname></title> - <para> - <classname>SoapHeader</classname> is a special low-level class for passing - or returning SOAP headers. It's just a data holder and it does not have any - special methods except its constructor. It can be used in the <xref - linkend='function.soap-soapclient-soapcall' /> method to pass a SOAP header or - in a SOAP header handler to return the header in a SOAP response. - </para> - <section xml:id='soap.class.soapheader.constructor'> - &reftitle.constructor; - <itemizedlist> - <listitem> - <para><xref linkend='function.soap-soapheader-construct' /> - construct a new SoapHeader object</para> - </listitem> - </itemizedlist> - </section> - </section> - - <section xml:id='soap.class.soapparam'> - <title><classname>SoapParam</classname></title> - <para> - <classname>SoapParam</classname> is a special low-level class for naming - parameters and returning values in <literal>non-WSDL</literal> mode. - It's just a data holder and it does not have any special methods except - its constructor. - </para> - <section xml:id='soap.class.soapparam.constructor'> - &reftitle.constructor; - <itemizedlist> - <listitem> - <para><xref linkend='function.soap-soapparam-construct' /> - construct a new SoapParam object</para> - </listitem> - </itemizedlist> - </section> - </section> - - <section xml:id='soap.class.soapserver'> - <title><classname>SoapServer</classname></title> - <para></para> - <section xml:id='soap.class.soapserver.constructor'> - &reftitle.constructor; - <itemizedlist> - <listitem> - <para><xref linkend='function.soap-soapserver-construct' /> - construct a new SoapServer object</para> - </listitem> - </itemizedlist> - </section> - <section xml:id='soap.class.soapserver.methods'> - &reftitle.methods; - <itemizedlist> - <listitem> - <para><xref linkend='function.soap-soapserver-addfunction' /> - Adds one or several functions those will handle SOAP requests</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapserver-fault' /> - </para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapserver-getfunctions' /> - Returns list of defined functions</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapserver-handle' /> - Handles a SOAP request</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapserver-setclass' /> - Sets class which will handle SOAP requests</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapserver-setpersistence' /> - Sets persistence mode of SoapServer</para> - </listitem> - </itemizedlist> - </section> - </section> - - <section xml:id='soap.class.soapvar'> - <title><classname>SoapVar</classname></title> - <para> - <classname>SoapVar</classname> is a special low-level class for encoding - parameters and returning values in <literal>non-WSDL</literal> mode. It's - just a data holder and does not have any special methods except the constructor. - It's useful when you want to set the type property in SOAP request or response. - </para> - <section xml:id='soap.class.soapvar.constructor'> - &reftitle.constructor; - <itemizedlist> - <listitem> - <para><xref linkend='function.soap-soapvar-construct' /> - construct a new SoapVar object</para> - </listitem> - </itemizedlist> - </section> - </section> + &reference.soap.entities.functions; - </section> +</reference> - </partintro> - &reference.soap.entities.functions; - </reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -189,3 +28,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/setup.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/soap/setup.xml diff -u phpdoc/en/reference/soap/setup.xml:1.2 phpdoc/en/reference/soap/setup.xml:1.3 --- phpdoc/en/reference/soap/setup.xml:1.2 Fri Dec 21 19:55:11 2007 +++ phpdoc/en/reference/soap/setup.xml Mon Feb 16 21:27:28 2009 @@ -1,40 +1,38 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <chapter xml:id="soap.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; - <!-- {{{ Requirements --> <section xml:id="soap.requirements"> &reftitle.required; + <!-- Use &no.requirement; if there no requirement --> <para> This extension makes use of the <link xlink:href="&url.libxml;">GNOME xml library</link>. Download and install this library. You will need at least libxml-2.5.4. </para> </section> - <!-- }}} --> <!-- {{{ Installation --> - <section xml:id="soap.installation"> + <section xml:id="extname.installation"> &reftitle.install; <para> This extension is only available if PHP was configured with <option role="configure">--enable-soap</option>. </para> </section> + <!-- or &reference.soap.configure; --> <!-- }}} --> <!-- {{{ Configuration --> &reference.soap.ini; <!-- }}} --> - <!-- {{{ Resources --> <section xml:id="soap.resources"> &reftitle.resources; - &no.resource; + &no.resource; </section> - <!-- }}} --> </chapter> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/versions.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/soap/versions.xml diff -u phpdoc/en/reference/soap/versions.xml:1.1 phpdoc/en/reference/soap/versions.xml:1.2 --- phpdoc/en/reference/soap/versions.xml:1.1 Tue Nov 4 03:25:01 2008 +++ phpdoc/en/reference/soap/versions.xml Mon Feb 16 21:27:28 2009 @@ -1,40 +1,59 @@ <?xml version='1.0' encoding='utf-8'?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- Do NOT translate this file --> +<!-- +Example entries: + <function name='classname::methodname' from='PECL extname >= 1.1'/> + <function name='functionname' from='PHP >= 5.3.0'/> + <function name='functionname' from='PHP 5'/> +--> <versions> - <function name='soap_encode_to_xml' from='PHP 5 <= 5.1.6'/> - <function name='soap_encode_to_zval' from='PHP 5 <= 5.1.6'/> - + <!-- Functions --> + <function name='use_soap_error_handler' from='Unknown'/> + <function name='is_soap_fault' from='Unknown'/> + <!-- Methods --> + <function name='soapclient::soapclient' from='PHP 5 >= 5.0.1'/> <function name='soapclient::__call' from='PHP 5 >= 5.0.1'/> - <function name='soapclient::__dorequest' from='PHP 5 >= 5.0.1'/> - <function name='soapclient::__getfunctions' from='PHP 5 >= 5.0.1'/> + <function name='soapclient::__soapcall' from='PHP 5 >= 5.0.1'/> <function name='soapclient::__getlastrequest' from='PHP 5 >= 5.0.1'/> - <function name='soapclient::__getlastrequestheaders' from='PHP 5 >= 5.0.1'/> <function name='soapclient::__getlastresponse' from='PHP 5 >= 5.0.1'/> + <function name='soapclient::__getlastrequestheaders' from='PHP 5 >= 5.0.1'/> <function name='soapclient::__getlastresponseheaders' from='PHP 5 >= 5.0.1'/> + <function name='soapclient::__getfunctions' from='PHP 5 >= 5.0.1'/> <function name='soapclient::__gettypes' from='PHP 5 >= 5.0.1'/> + <function name='soapclient::__dorequest' from='PHP 5 >= 5.0.1'/> <function name='soapclient::__setcookie' from='PHP 5 >= 5.0.4'/> - <function name='soapclient::__setlocation' from='PHP 5 >= 5.0.4'/> + <function name='soapclient::__setlocation' from='PHP 5 >= 5.0.1'/> <function name='soapclient::__setsoapheaders' from='PHP 5 >= 5.0.5'/> - <function name='soapclient::soapclient' from='PHP 5 >= 5.0.1'/> - - <function name='soapfault::soapfault' from='PHP 5 >= 5.0.1'/> - - <function name='soapheader::soapheader' from='PHP 5 >= 5.0.1'/> - <function name='soapparam::soapparam' from='PHP 5 >= 5.0.1'/> + <function name='soapvar::soapvar' from='PHP 5 >= 5.0.1'/> + <function name='soapserver::soapserver' from='PHP 5 >= 5.0.1'/> + <function name='soapserver::setpersistence' from='PHP 5 >= 5.1.2'/> + <function name='soapserver::setclass' from='PHP 5 >= 5.0.1'/> + <function name='soapserver::setobject' from='PHP 5 >= 5.0.1'/> <function name='soapserver::addfunction' from='PHP 5 >= 5.0.1'/> <function name='soapserver::getfunctions' from='PHP 5 >= 5.0.1'/> <function name='soapserver::handle' from='PHP 5 >= 5.0.1'/> - <function name='soapserver::setclass' from='PHP 5 >= 5.0.1'/> - <function name='soapserver::setobject' from='PHP 5 >= 5.2.0'/> - <function name='soapserver::setpersistence' from='PHP 5 >= 5.1.2'/> - <function name='soapserver::soapserver' from='PHP 5 >= 5.0.1'/> + <function name='soapserver::fault' from='PHP 5 >= 5.0.1'/> + <function name='soapserver::addsoapheader' from='PHP 5 >= 5.0.1'/> - <function name='soapvar::soapvar' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::soapfault' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::__tostring' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::__clone' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::__construct' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::getmessage' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::getcode' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::getfile' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::getline' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::gettrace' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::getprevious' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::gettraceasstring' from='PHP 5 >= 5.0.1'/> + + <function name='soapparam::soapparam' from='PHP 5 >= 5.0.1'/> + <function name='soapheader::soapheader' from='PHP 5 >= 5.0.1'/> </versions> <!-- Keep this comment at the end of the file @@ -56,4 +75,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> \ No newline at end of file +--> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/functions/is-soap-fault.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc/en/reference/soap/functions/is-soap-fault.xml diff -u phpdoc/en/reference/soap/functions/is-soap-fault.xml:1.10 phpdoc/en/reference/soap/functions/is-soap-fault.xml:1.11 --- phpdoc/en/reference/soap/functions/is-soap-fault.xml:1.10 Wed Jun 20 22:25:25 2007 +++ phpdoc/en/reference/soap/functions/is-soap-fault.xml Mon Feb 16 21:27:28 2009 @@ -1,21 +1,21 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.10 $ --> -<refentry xml:id="function.is-soap-fault" xmlns="http://docbook.org/ns/docbook"> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.11 $ --> + +<refentry xml:id="function.is-soap-fault" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>is_soap_fault</refname> - <refpurpose> - Checks if SOAP call was failed - </refpurpose> + <refpurpose>Checks if a SOAP call has failed</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>is_soap_fault</methodname> - <methodparam><type>mixed</type><parameter>obj</parameter></methodparam> + <methodparam><type>mixed</type><parameter>object</parameter></methodparam> </methodsynopsis> <para> - This function is useful when you like to check if the SOAP call failed, but - don't like to use exceptions. To use it you must create a + This function is useful to check if the SOAP call failed, but + without using exceptions. To use it, create a <classname>SoapClient</classname> object with the <literal>exceptions</literal> option set to zero or &false;. In this case, the SOAP method will return a special @@ -29,27 +29,31 @@ parameter is a <classname>SoapFault</classname> object. </para> </refsect1> + <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> - <term><parameter>obj</parameter></term> + <term><parameter>object</parameter></term> <listitem> <para> - The tested object. + The object to test. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; + <!-- See also &return.success; --> <para> - &return.success; + This will return <literal>true</literal> on error, and <literal>false</literal> otherwise. </para> </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -84,15 +88,17 @@ </example> </para> </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> - <member><xref linkend="function.soap-soapclient-construct" /></member> - <member><xref linkend="function.soap-soapfault-construct" /></member> + <member><methodname>SoapClient::SoapClient</methodname></member> + <member><methodname>SoapFault::SoapFault</methodname></member> </simplelist> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/functions/use-soap-error-handler.xml?r1=1.7&r2=1.8&diff_format=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.7 phpdoc/en/reference/soap/functions/use-soap-error-handler.xml:1.8 --- phpdoc/en/reference/soap/functions/use-soap-error-handler.xml:1.7 Fri Jan 16 12:08:50 2009 +++ phpdoc/en/reference/soap/functions/use-soap-error-handler.xml Mon Feb 16 21:27:28 2009 @@ -1,18 +1,52 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.7 $ --> -<refentry xml:id="function.use-soap-error-handler" xmlns="http://docbook.org/ns/docbook"> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.8 $ --> + +<refentry xml:id="function.use-soap-error-handler" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>use_soap_error_handler</refname> - <refpurpose>Set whether to use the SOAP error handler and return the former value</refpurpose> + <refpurpose>Set whether to use the SOAP error handler</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>use_soap_error_handler</methodname> - <methodparam choice="opt"><type>bool</type><parameter>handler</parameter><initializer>true</initializer></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>handler</parameter></methodparam> </methodsynopsis> - &warn.undocumented.func; + <para> + This function sets whether or not to use the SOAP error handler in the SOAP server. + It will return the previous value. If set to <literal>true</literal>, details of errors + in a SoapServer application will be sent to the clients. If <literal>false</literal>, + no information will be sent. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>handler</parameter></term> + <listitem> + <para> + Set to <literal>true</literal> to send error details to clients. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>set_error_handler</function></member> + <member><function>set_exception_handler</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/configure.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/configure.xml +++ phpdoc/en/reference/soap/configure.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <section xml:id="soap.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.install; <!-- There are various PECL related entities in language-snippets.ent --> <para> To enable SOAP support, configure PHP with --enable-soap. </para> </section> <!-- 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/viewvc.cgi/phpdoc/en/reference/soap/soapclient.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient.xml +++ phpdoc/en/reference/soap/soapclient.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <phpdoc:classref xml:id="class.soapclient" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The <classname>SoapClient</classname> class</title> <titleabbrev>SoapClient</titleabbrev> <partintro> <!-- {{{ SoapClient intro --> <section xml:id="soapclient.intro"> &reftitle.intro; <para> The SoapClient class provides a client for <link xlink:href="&spec.soap1.1;">SOAP 1.1</link>, <link xlink:href="&spec.soap1.2;">SOAP 1.2</link> servers. It can be used in WSDL or non-WSDL mode. </para> </section> <!-- }}} --> <section xml:id="soapclient.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SoapClient</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SoapClient</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.soapclient')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> </section> </partintro> &reference.soap.entities.soapclient; </phpdoc:classref> <!-- 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/viewvc.cgi/phpdoc/en/reference/soap/soapfault.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapfault.xml +++ phpdoc/en/reference/soap/soapfault.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <phpdoc:classref xml:id="class.soapfault" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The SoapFault class</title> <titleabbrev>SoapFault</titleabbrev> <partintro> <!-- {{{ SoapFault intro --> <section xml:id="soapfault.intro"> &reftitle.intro; <para> Represents a SOAP fault. </para> </section> <!-- }}} --> <section xml:id="soapfault.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SoapFault</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SoapFault</classname> </ooclass> <ooclass> <modifier>extends</modifier> <classname>Exception</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Properties</classsynopsisinfo> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.soapfault')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> <classsynopsisinfo role="comment">Inherited methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> </section> <!-- {{{ SoapFault properties --> <section xml:id="soapfault.props"> &reftitle.properties; <variablelist> <varlistentry xml:id="soapfault.props.message"> <term><varname>message</varname></term> <listitem> <para>Prop description</para> </listitem> </varlistentry> <varlistentry xml:id="soapfault.props.code"> <term><varname>code</varname></term> <listitem> <para>Prop description</para> </listitem> </varlistentry> <varlistentry xml:id="soapfault.props.file"> <term><varname>file</varname></term> <listitem> <para>Prop description</para> </listitem> </varlistentry> <varlistentry xml:id="soapfault.props.line"> <term><varname>line</varname></term> <listitem> <para>Prop description</para> </listitem> </varlistentry> </variablelist> </section> <!-- }}} --> </partintro> &reference.soap.entities.soapfault; </phpdoc:classref> <!-- 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/viewvc.cgi/phpdoc/en/reference/soap/soapheader.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapheader.xml +++ phpdoc/en/reference/soap/soapheader.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <phpdoc:classref xml:id="class.soapheader" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The SoapHeader class</title> <titleabbrev>SoapHeader</titleabbrev> <partintro> <!-- {{{ SoapHeader intro --> <section xml:id="soapheader.intro"> &reftitle.intro; <para> Represents a SOAP header. </para> </section> <!-- }}} --> <section xml:id="soapheader.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SoapHeader</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SoapHeader</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.soapheader')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> </section> </partintro> &reference.soap.entities.soapheader; </phpdoc:classref> <!-- 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/viewvc.cgi/phpdoc/en/reference/soap/soapparam.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapparam.xml +++ phpdoc/en/reference/soap/soapparam.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <phpdoc:classref xml:id="class.soapparam" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The SoapParam class</title> <titleabbrev>SoapParam</titleabbrev> <partintro> <!-- {{{ SoapParam intro --> <section xml:id="soapparam.intro"> &reftitle.intro; <para> Represents parameter to a SOAP call. </para> </section> <!-- }}} --> <section xml:id="soapparam.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SoapParam</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SoapParam</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.soapparam')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> </section> </partintro> &reference.soap.entities.soapparam; </phpdoc:classref> <!-- 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/viewvc.cgi/phpdoc/en/reference/soap/soapserver.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver.xml +++ phpdoc/en/reference/soap/soapserver.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <phpdoc:classref xml:id="class.soapserver" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The SoapServer class</title> <titleabbrev>SoapServer</titleabbrev> <partintro> <!-- {{{ SoapServer intro --> <section xml:id="soapserver.intro"> &reftitle.intro; <para> The SoapServer class provides a server for the <link xlink:href="&spec.soap1.1;">SOAP 1.1</link> and <link xlink:href="&spec.soap1.2;">SOAP 1.2</link> protocols. It can be used with or without a WSDL service description. </para> </section> <!-- }}} --> <section xml:id="soapserver.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SoapServer</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SoapServer</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.soapserver')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> </section> </partintro> &reference.soap.entities.soapserver; </phpdoc:classref> <!-- 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/viewvc.cgi/phpdoc/en/reference/soap/soapvar.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapvar.xml +++ phpdoc/en/reference/soap/soapvar.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <phpdoc:classref xml:id="class.soapvar" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The SoapVar class</title> <titleabbrev>SoapVar</titleabbrev> <partintro> <!-- {{{ SoapVar intro --> <section xml:id="soapvar.intro"> &reftitle.intro; <para> A class representing a variable or object for use with SOAP services. </para> </section> <!-- }}} --> <section xml:id="soapvar.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SoapVar</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SoapVar</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.soapvar')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> </section> </partintro> &reference.soap.entities.soapvar; </phpdoc:classref> <!-- 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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/call.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/call.xml +++ phpdoc/en/reference/soap/soapclient/call.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.call" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__call</refname> <refpurpose>Calls a SOAP function (deprecated)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapClient::__call</methodname> <methodparam><type>string</type><parameter>function_name</parameter></methodparam> <methodparam><type>string</type><parameter>arguments</parameter></methodparam> </methodsynopsis> <para> This method is deprecated. Use <xref linkend="soapclient.soapcall" /> instead of it. </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/construct.xml +++ phpdoc/en/reference/soap/soapclient/construct.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__construct</refname> <refpurpose>SoapClient constructor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <methodname>SoapClient::SoapClient</methodname> <methodparam><type>mixed</type><parameter>wsdl</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam> </methodsynopsis> <para> &info.function.alias; <methodname>SoapClient::SoapClient</methodname> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/dorequest.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/dorequest.xml +++ phpdoc/en/reference/soap/soapclient/dorequest.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.dorequest" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__doRequest</refname> <refpurpose>Performs a SOAP request</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type><methodname>SoapClient::__doRequest</methodname> <methodparam><type>string</type><parameter>request</parameter></methodparam> <methodparam><type>string</type><parameter>location</parameter></methodparam> <methodparam><type>string</type><parameter>action</parameter></methodparam> <methodparam><type>int</type><parameter>version</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>one_way</parameter><initializer>0</initializer></methodparam> </methodsynopsis> <para> Performs SOAP request over HTTP. </para> <para> This method can be overridden in subclasses to implement different transport layers, perform additional XML processing or other purpose. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>request</parameter></term> <listitem> <para> The XML SOAP request. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>location</parameter></term> <listitem> <para> The URL to request. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>action</parameter></term> <listitem> <para> The SOAP action. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>version</parameter></term> <listitem> <para> The SOAP version. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>one_way</parameter></term> <listitem> <para> If <literal>one_way</literal> is set to 1, this method returns nothing. Use this where a response is not expected. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The XML SOAP response. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapClient::__doRequest</function> example</title> <programlisting role="php"> <![CDATA[ <?php function Add($x,$y) { return $x+$y; } class LocalSoapClient extends SoapClient { function __construct($wsdl, $options) { parent::__construct($wsdl, $options); $this->server = new SoapServer($wsdl, $options); $this->server->addFunction('Add'); } function __doRequest($request, $location, $action, $version) { ob_start(); $this->server->handle($request); $response = ob_get_contents(); ob_end_clean(); return $response; } } $x = new LocalSoapClient(NULL,array('location'=>'test://', 'uri'=>'http://testuri.org')); var_dump($x->Add(3,4)); ?> ]]> </programlisting> </example> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/getfunctions.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/getfunctions.xml +++ phpdoc/en/reference/soap/soapclient/getfunctions.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.getfunctions" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__getFunctions</refname> <refpurpose>Returns list of available SOAP functions</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapClient::__getFunctions</methodname> <void /> </methodsynopsis> <para> Returns a list of available SOAP functions. </para> <para> This function only works in WSDL mode. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The list of SOAP functions. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapClient::__getFunctions</function> example</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient('some.wsdl'); var_dump($client->__getFunctions()); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::SoapClient</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/getlastrequest.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/getlastrequest.xml +++ phpdoc/en/reference/soap/soapclient/getlastrequest.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.getlastrequest" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__getLastRequest</refname> <refpurpose>Returns last SOAP request</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type><methodname>SoapClient::__getLastRequest</methodname> <void /> </methodsynopsis> <para> Returns the XML sent in the last SOAP request. </para> <note> <para> This method works only if the <classname>SoapClient</classname> object was created with the <literal>trace</literal> option set to <literal>true</literal>. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The last SOAP request, as an XML string. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>SoapClient->__getLastRequest() 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> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::__getLastRequestHeaders</methodname></member> <member><methodname>SoapClient::__getLastResponse</methodname></member> <member><methodname>SoapClient::__getLastResponseHeaders</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/getlastrequestheaders.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/getlastrequestheaders.xml +++ phpdoc/en/reference/soap/soapclient/getlastrequestheaders.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.getlastrequestheaders" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__getLastRequestHeaders</refname> <refpurpose>Returns the SOAP headers from the last request</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type><methodname>SoapClient::__getLastRequestHeaders</methodname> <void /> </methodsynopsis> <para> Returns the SOAP headers from the last request. </para> <note> <para> This function only works if the <classname>SoapClient</classname> object was created with the <literal>trace</literal> option set to <literal>true</literal>. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The last SOAP request headers. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>SoapClient->__getLastRequest() example</title> <programlisting role="php"> <![CDATA[ <?php $client = SoapClient("some.wsdl", array('trace' => 1)); $result = $client->SomeFunction(); echo "REQUEST HEADERS:\n" . $client->__getLastRequestHeaders() . "\n"; ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::__getLastResponseHeaders</methodname></member> <member><methodname>SoapClient::__getLastRequest</methodname></member> <member><methodname>SoapClient::__getLastResponse</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/getlastresponse.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/getlastresponse.xml +++ phpdoc/en/reference/soap/soapclient/getlastresponse.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.getlastresponse" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__getLastResponse</refname> <refpurpose>Returns last SOAP response</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type><methodname>SoapClient::__getLastResponse</methodname> <void /> </methodsynopsis> <para> Returns the XML sent in the last SOAP response. </para> <note> <para> This method works only if the <classname>SoapClient</classname> object was created with the <literal>trace</literal> option set to <literal>true</literal>. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The last SOAP response, as an XML string. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>SoapClient->__getLastResponse() 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> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::__getLastResponseHeaders</methodname></member> <member><methodname>SoapClient::__getLastRequest</methodname></member> <member><methodname>SoapClient::__getLastRequestHeaders</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/getlastresponseheaders.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/getlastresponseheaders.xml +++ phpdoc/en/reference/soap/soapclient/getlastresponseheaders.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.getlastresponseheaders" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__getLastResponseHeaders</refname> <refpurpose>Returns the SOAP headers from the last response</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type><methodname>SoapClient::__getLastResponseHeaders</methodname> <void /> </methodsynopsis> <para> Returns the SOAP headers from the last response. </para> <note> <para> This function only works if the <classname>SoapClient</classname> object was created with the <literal>trace</literal> option set to <literal>true</literal>. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The last SOAP response headers. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>SoapClient->__getLastResponse() example</title> <programlisting role="php"> <![CDATA[ <?php $client = SoapClient("some.wsdl", array('trace' => 1)); $result = $client->SomeFunction(); echo "RESPONSE HEADERS:\n" . $client->__getLastResponseHeaders() . "\n"; ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::__getLastRequestHeaders</methodname></member> <member><methodname>SoapClient::__getLastRequest</methodname></member> <member><methodname>SoapClient::__getLastResponse</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/gettypes.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/gettypes.xml +++ phpdoc/en/reference/soap/soapclient/gettypes.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.gettypes" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__getTypes</refname> <refpurpose>Returns a list of SOAP types</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>SoapClient::__getTypes</methodname> <void /> </methodsynopsis> <para> Returns an array of types described in the WSDL for the Web service. </para> <note> <para> This function only works in WSDL mode. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> An <literal>array</literal> of SOAP types. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapClient::__getTypes</function> example</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient("some.wsdl"); var_dump($client->__getTypes()); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::SoapClient</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/setcookie.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/setcookie.xml +++ phpdoc/en/reference/soap/soapclient/setcookie.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.setcookie" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__setCookie</refname> <refpurpose>The __setCookie purpose</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapClient::__setCookie</methodname> <methodparam><type>string</type><parameter>name</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> Defines a cookie to be sent along with the SOAP requests. </para> <note> <para> Calling this method will affect all following calls to <classname>SoapClient</classname> methods. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> The name of the cookie. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>value</parameter></term> <listitem> <para> The value of the cookie. If not specified, the cookie will be deleted. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/setlocation.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/setlocation.xml +++ phpdoc/en/reference/soap/soapclient/setlocation.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.setlocation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__setLocation</refname> <refpurpose>Sets the location of the Web service to use.</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type><methodname>SoapClient::__setLocation</methodname> <methodparam choice="opt"><type>string</type><parameter>new_location</parameter></methodparam> </methodsynopsis> <para> Sets the endpoint URL that will be touched by following SOAP requests. This is equivalent to specifying the <literal>location</literal> option when constructing the SoapClient. </para> <note> <para> Calling this method is optional. The SoapClient uses the endpoint from the WSDL file by default. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>new_location</parameter></term> <listitem> <para> The new endpoint URL. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The old endpoint URL. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapClient::__setLocation</function> example</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient('http://example.com/webservice.php?wsdl'); $client->__setLocation('http://www.somethirdparty.com'); $old_location = $client->__setLocation(); // unsets the location option echo $old_location; ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ http://www.somethirdparty.com ]]> </screen> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::SoapClient</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/setsoapheaders.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/setsoapheaders.xml +++ phpdoc/en/reference/soap/soapclient/setsoapheaders.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.setsoapheaders" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__setSoapHeaders</refname> <refpurpose>Sets SOAP headers for subsequent calls.</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>bool</type><methodname>SoapClient::__setSoapHeaders</methodname> <methodparam choice="opt"><type>mixed</type><parameter>soapheaders</parameter></methodparam> </methodsynopsis> <para> Defines headers to be sent along with the SOAP requests. </para> <note> <para> Calling this method will replace any previous values. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>soapheaders</parameter></term> <listitem> <para> The headers to be set. If not specified, the headers will be deleted. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapClient::__setSoapHeaders</function> example</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient(null, array('location' => "http://localhost/soap.php", 'uri' => "http://test-uri/")); $header = new SoapHeader('http://soapinterop.org/echoheader/', 'echoMeStringRequest', 'hello world')); $client->__setSoapHeaders($header); $client->__soapCall("echoVoid", null); ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[.... ]]> </screen> </example> </para> <para> <example> <title>Set Multiple Headers</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient(null, array('location' => "http://localhost/soap.php", 'uri' => "http://test-uri/")); $headers = array(); $headers[] = new SoapHeader('http://soapinterop.org/echoheader/', 'echoMeStringRequest', 'hello world')); $headers[] = new SoapHeader('http://soapinterop.org/echoheader/', 'echoMeStringRequest', 'hello world again')); $client->__setSoapHeaders($headers); $client->__soapCall("echoVoid", null); ?> ]]> </programlisting> </example> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/soapcall.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/soapcall.xml +++ phpdoc/en/reference/soap/soapclient/soapcall.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.soapcall" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__soapCall</refname> <refpurpose>Calls a SOAP function</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>mixed</type><methodname>SoapClient::__soapCall</methodname> <methodparam><type>string</type><parameter>function_name</parameter></methodparam> <methodparam><type>array</type><parameter>arguments</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam> <methodparam choice="opt"><type>mixed</type><parameter>input_headers</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter role="reference">output_headers</parameter></methodparam> </methodsynopsis> <para> This is a low level API function that is used to make a SOAP call. Usually, in WSDL mode, you can simply call SOAP functions as <classname>SoapClient</classname> methods. This method useful in non-WSDL mode when <literal>soapaction</literal> is unknown, <literal>uri</literal> differs from the default or when sending and/or receiving SOAP Headers. </para> <para> On error, a call to a SOAP function can cause PHP to throw exceptions or return a <classname>SoapFault</classname> object if exceptions are disabled. To check if the function call failed to catch the SoapFault exceptions, check the result with <function>is_soap_fault</function>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>function_name</parameter></term> <listitem> <para> The name of the SOAP function to call. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>arguments</parameter></term> <listitem> <para> An array of the arguments to pass to the function. This can be either an ordered or an associative array. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>options</parameter></term> <listitem> <para> An associative array of options to pass to the client. </para> <para> The <literal>location</literal> option is the URL of the remote Web service. </para> <para> The <literal>uri</literal> option is the target namespace of the SOAP service. </para> <para> The <literal>soapaction</literal> option is the action to call. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>input_headers</parameter></term> <listitem> <para> An array of headers to be sent along with the SOAP request. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>output_headers</parameter></term> <listitem> <para> If supplied, this array will be filled with the headers from the SOAP response. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> SOAP functions may return one, or multiple values. If only one value is returned by the SOAP function, the return value of <literal>__soapCall</literal> will be a simple value (e.g. an integer, a string, etc). If multiple values are returned, <literal>__soapCall</literal> will return an associative array of named output parameters. </para> <para> On error, if the SoapClient object was constructed with the <literal>trace</literal> option set to <literal>false</literal>, a SoapFault object will be returned. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapClient::__soapCall</function> example</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient("some.wsdl"); $client->SomeFunction($a, $b, $c); $client->__soapCall("SomeFunction", array($a, $b, $c)); $client->__soapCall("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->__soapCall("SomeFunction", array($a, $b, $c)); $client->__soapCall("SomeFunction", array($a, $b, $c), array('soapaction' => 'some_action', 'uri' => 'some_uri')); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::SoapClient</methodname></member> <member><methodname>SoapParam::SoapParam</methodname></member> <member><methodname>SoapVar::SoapVar</methodname></member> <member><methodname>SoapHeader::SoapHeader</methodname></member> <member><methodname>SoapFault::SoapFault</methodname></member> <member><function>is_soap_fault</function></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/soapclient.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/soapclient.xml +++ phpdoc/en/reference/soap/soapclient/soapclient.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.soapclient" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::SoapClient</refname> <refpurpose>SoapClient constructor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <methodname>SoapClient::SoapClient</methodname> <methodparam><type>mixed</type><parameter>wsdl</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam> </methodsynopsis> <para> This constructor creates <classname>SoapClient</classname> objects in <literal>WSDL</literal> or <literal>non-WSDL</literal> mode. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>wsdl</parameter></term> <listitem> <para> URI of the <literal>WSDL</literal> file or &null; if working in <literal>non-WSDL</literal> mode. </para> <note> <para> During development stage, you may want to disable WSDL caching by the mean of the <literal>soap.wsdl_cache_ttl</literal> &php.ini; setting, otherwise changes made to the WSDL file will have no effect until <literal>soap.wsdl_cache_ttl</literal> is expired. </para> </note> </listitem> </varlistentry> <varlistentry> <term><parameter>options</parameter></term> <listitem> <para> An array of options. If working in WSDL mode, this parameter is optional. If working in non-WSDL mode, you must set the <literal>location</literal> and <literal>uri</literal> options, where <literal>location</literal> is the URL to request and <literal>uri</literal> is the target namespace of the SOAP service. </para> <para> The <literal>style</literal> and <literal>use</literal> options only work in non-WSDL mode. In WSDL mode, they come from the WSDL file. </para> <para> The <literal>soap_version</literal> option specifies whether to use SOAP 1.1, or SOAP 1.2 client. </para> <para> For HTTP authentication, you may use the <literal>login</literal> and <literal>password</literal> options. For making an HTTP connection through a proxy server, use the options <literal>proxy_host</literal>, <literal>proxy_port</literal>, <literal>proxy_login</literal> and <literal>proxy_password</literal>. For HTTPS client certificate authentication use <literal>local_cert</literal> and <literal>passphrase</literal> options. </para> <para> The <literal>compression</literal> option allows to use compression of HTTP SOAP requests and responses. </para> <para> The <literal>encoding</literal> option defines internal character encoding. This option does not change the encoding of SOAP requests (it is always utf-8), but converts strings into it. </para> <para> The <literal>classmap</literal> option can be used to map some WSDL types to PHP classes. This option must be an array with WSDL types as keys and names of PHP classes as values. </para> <para> Setting the boolean <literal>trace</literal> option enables use of the methods <link linkend="soapclient.getlastrequest"> SoapClient->__getLastRequest</link>, <link linkend="soapclient.getlastrequestheaders"> SoapClient->__getLastRequestHeaders</link>, <link linkend="soapclient.getlastresponse"> SoapClient->__getLastResponse</link> and <link linkend="soapclient.getlastresponseheaders"> SoapClient->__getLastResponseHeaders</link>. </para> <para> The <literal>exceptions</literal> option is a boolean value defining whether soap errors throw exceptions of type <link linkend="soapfault.soapfault"> SoapFault</link>. </para> <para> The <literal>connection_timeout</literal> option defines a timeout in seconds for the connection to the SOAP service. This option does not define a timeout for services with slow responses. To limit the time to wait for calls to finish the <link linkend="ini.default-socket-timeout">default_socket_timeout</link> setting is available. </para> <para> The <literal>typemap</literal> option is an array of type mappings. Type mapping is an array with keys <literal>type_name</literal>, <literal>type_ns</literal> (namespace URI), <literal>from_xml</literal> (callback accepting one string parameter) and <literal>to_xml</literal> (callback accepting one object parameter). </para> <para> The <literal>cache_wsdl</literal> option is one of <constant>WSDL_CACHE_NONE</constant>, <constant>WSDL_CACHE_DISK</constant>, <constant>WSDL_CACHE_MEMORY</constant> or <constant>WSDL_CACHE_BOTH</constant>. </para> <para> The <literal>user_agent</literal> option specifies string to use in <literal>User-Agent</literal> header. </para> <para> The <literal>stream_context</literal> option is a <type>resource</type> for <link linkend="context">context</link>. </para> <para> The <literal>features</literal> option is a bitmask of <constant>SOAP_SINGLE_ELEMENT_ARRAYS</constant>, <constant>SOAP_USE_XSI_ARRAY_TYPE</constant>, <constant>SOAP_WAIT_ONE_WAY_CALLS</constant>. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapClient::SoapClient</function> example</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient("some.wsdl"); $client = new SoapClient("some.wsdl", array('soap_version' => SOAP_1_2)); $client = new SoapClient("some.wsdl", array('login' => "some_name", 'password' => "some_password")); $client = new SoapClient("some.wsdl", array('proxy_host' => "localhost", 'proxy_port' => 8080)); $client = new SoapClient("some.wsdl", array('proxy_host' => "localhost", 'proxy_port' => 8080, 'proxy_login' => "some_name", 'proxy_password' => "some_password")); $client = new SoapClient("some.wsdl", array('local_cert' => "cert_key.pem")); $client = new SoapClient(null, array('location' => "http://localhost/soap.php", 'uri' => "http://test-uri/")); $client = new SoapClient(null, array('location' => "http://localhost/soap.php", 'uri' => "http://test-uri/", 'style' => SOAP_DOCUMENT, 'use' => SOAP_LITERAL)); $client = new SoapClient("some.wsdl", array('compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP)); $server = new SoapClient("some.wsdl", array('encoding'=>'ISO-8859-1')); class MyBook { public $title; public $author; } $server = new SoapClient("books.wsdl", array('classmap' => array('book' => "MyBook"))); ?> ]]> </programlisting> </example> </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/viewvc.cgi/phpdoc/en/reference/soap/soapfault/soapfault.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapfault/soapfault.xml +++ phpdoc/en/reference/soap/soapfault/soapfault.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapfault.soapfault" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapFault::SoapFault</refname> <refpurpose>SoapFault constructor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <methodname>SoapFault::SoapFault</methodname> <methodparam><type>string</type><parameter>faultcode</parameter></methodparam> <methodparam><type>string</type><parameter>faultstring</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>faultactor</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>detail</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>faultname</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>headerfault</parameter></methodparam> </methodsynopsis> <para> This class is useful when you would like to send SOAP fault responses from the PHP handler. <parameter>faultcode</parameter>, <parameter>faultstring</parameter>, <parameter>faultactor</parameter> and <parameter>details</parameter> are standard elements of a SOAP Fault. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>faultcode</parameter></term> <listitem> <para> The error code of the <classname>SoapFault</classname>. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>faultstring</parameter></term> <listitem> <para> The error message of the <classname>SoapFault</classname>. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>faultactor</parameter></term> <listitem> <para> A string identifying the actor that caused the error. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>detail</parameter></term> <listitem> <para> More details about the cause of the error. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>faultname</parameter></term> <listitem> <para> Can be used to select the proper fault encoding from WSDL. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>headerfault</parameter></term> <listitem> <para> Can be used during SOAP header handling to report an error in the response header. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Some examples</title> <programlisting role="php"> <![CDATA[ <?php function test($x) { return new SoapFault("Server", "Some error message"); } $server = new SoapServer(null, array('uri' => "http://test-uri/")); $server->addFunction("test"); $server->handle(); ?> ]]> </programlisting> </example> </para> <para> It is possible to use PHP exception mechanism to throw SOAP Fault. </para> <para> <example> <title>Some examples</title> <programlisting role="php"> <![CDATA[ <?php function test($x) { throw new SoapFault("Server", "Some error message"); } $server = new SoapServer(null, array('uri' => "http://test-uri/")); $server->addFunction("test"); $server->handle(); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapServer::fault</methodname></member> <member><function>is_soap_fault</function></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapfault/tostring.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapfault/tostring.xml +++ phpdoc/en/reference/soap/soapfault/tostring.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapfault.tostring" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapFault::__toString</refname> <refpurpose>Obtain a string representation of a SoapFault</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapFault::__toString</methodname> <void /> </methodsynopsis> <para> Returns a string representation of the SoapFault. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> A string describing the SoapFault. </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/viewvc.cgi/phpdoc/en/reference/soap/soapheader/soapheader.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapheader/soapheader.xml +++ phpdoc/en/reference/soap/soapheader/soapheader.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapheader.soapheader" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapHeader::SoapHeader</refname> <refpurpose>SoapHeader constructor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <methodname>SoapHeader::SoapHeader</methodname> <methodparam><type>string</type><parameter>namespace</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> <methodparam choice="opt"><type>mixed</type><parameter>data</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>mustunderstand</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>actor</parameter></methodparam> </methodsynopsis> <para> Constructs a new SoapHeader object. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>namespace</parameter></term> <listitem> <para> The namespace of the SOAP header element. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> The name of the SoapHeader object. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>data</parameter></term> <listitem> <para> A SOAP header's content. It can be a PHP value or a <classname>SoapVar</classname> object. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>mustUnderstand</parameter></term> <listitem> <para> Value of the <literal>mustUnderstand</literal> attribute of the SOAP header element. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>actor</parameter></term> <listitem> <para> Value of the <literal>actor</literal> attribute of the SOAP header element. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapHeader::SoapHeader</function> example</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient(null, array('location' => "http://localhost/soap.php", 'uri' => "http://test-uri/")); $client->__soapCall("echoVoid", null, null, new SoapHeader('http://soapinterop.org/echoheader/', 'echoMeStringRequest', 'hello world')); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::__soapCall</methodname></member> <member><methodname>SoapVar::SoapVar</methodname></member> <member><methodname>SoapParam::SoapParam</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapparam/soapparam.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapparam/soapparam.xml +++ phpdoc/en/reference/soap/soapparam/soapparam.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapparam.soapparam" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapParam::SoapParam</refname> <refpurpose>SoapParam constructor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <methodname>SoapParam::SoapParam</methodname> <methodparam><type>mixed</type><parameter>data</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> <para> Constructs a new <classname>SoapParam</classname> object. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>data</parameter></term> <listitem> <para> The data to pass or return. You can pass this parameter directly as PHP value, but in this case it will be named as <literal>paramN</literal> and the SOAP Service may not understand it. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> The parameter name. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapParam::SoapParam</function> example</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient(null,array('location' => "http://localhost/soap.php", 'uri' => "http://test-uri/")); $client->SomeFunction(new SoapParam($a, "a"), new SoapParam($b, "b"), new SoapParam($c, "c")); ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[.... ]]> </screen> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::__soapCall</methodname></member> <member><methodname>SoapVar::SoapVar</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/addfunction.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/addfunction.xml +++ phpdoc/en/reference/soap/soapserver/addfunction.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.addfunction" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::addFunction</refname> <refpurpose>Adds one or more functions to handle SOAP requests</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapServer::addFunction</methodname> <methodparam><type>string</type><parameter>functions</parameter></methodparam> </methodsynopsis> <para> Exports one or more functions for remote clients </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>functions</parameter></term> <listitem> <para> To export one function, pass the function name into this parameter as a string. </para> <para> To export several functions, pass an array of function names. </para> <para> To export all the functions, pass a special constant <constant>SOAP_FUNCTIONS_ALL</constant>. </para> <note> <para> <parameter>functions</parameter> must receive all input arguments in the same order as defined in the WSDL file (They should not receive any output parameters as arguments) and return one or more values. To return several values they must return an array with named output parameters. </para> </note> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapServer::addFunction</function> example</title> <programlisting role="php"> <![CDATA[ <?php function echoString($inputString) { return $inputString; } $server->addFunction("echoString"); function echoTwoStrings($inputString1, $inputString2) { return array("outputString1" => $inputString1, "outputString2" => $inputString2); } $server->addFunction(array("echoString", "echoTwoStrings")); $server->addFunction(SOAP_FUNCTIONS_ALL); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapServer::SoapServer</methodname></member> <member><methodname>SoapServer::setClass</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/addsoapheader.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/addsoapheader.xml +++ phpdoc/en/reference/soap/soapserver/addsoapheader.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.addsoapheader" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::addSoapHeader</refname> <refpurpose>Add a SOAP header to the response</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapServer::addSoapHeader</methodname> <methodparam><type>string</type><parameter>object</parameter></methodparam> </methodsynopsis> <para> Adds a SOAP header to be returned with the response to the current request. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>object</parameter></term> <listitem> <para> The header to be returned. </para> </listitem> </varlistentry> </variablelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/fault.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/fault.xml +++ phpdoc/en/reference/soap/soapserver/fault.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.fault" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::fault</refname> <refpurpose>Issue SoapServer fault indicating an error</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapServer::fault</methodname> <methodparam><type>string</type><parameter>code</parameter></methodparam> <methodparam><type>string</type><parameter>string</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>actor</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>details</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> <para> Sends a response to the client of the current request indicating an error. </para> <note> <para> This can only be called when handling a request. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>code</parameter></term> <listitem> <para> The error code to return </para> </listitem> </varlistentry> <varlistentry> <term><parameter>string</parameter></term> <listitem> <para> A brief description of the error </para> </listitem> </varlistentry> <varlistentry> <term><parameter>actor</parameter></term> <listitem> <para> A string identifying the actor that caused the fault. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>details</parameter></term> <listitem> <para> More details of the fault </para> </listitem> </varlistentry> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> The name of the fault. This can be used to select a name from a WSDL file. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapFault::SoapFault</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/getfunctions.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/getfunctions.xml +++ phpdoc/en/reference/soap/soapserver/getfunctions.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.getfunctions" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::getFunctions</refname> <refpurpose>Returns list of defined functions</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>SoapServer::getFunctions</methodname> <void /> </methodsynopsis> <para> Returns a list of the defined functions in the SoapServer object. This method returns the list of all functions added by <methodname>SoapServer::addFunction</methodname> or <methodname>SoapServer::setClass</methodname>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> An <literal>array</literal> of the defined functions. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapServer::getFunctions</function> example</title> <programlisting role="php"> <![CDATA[ <?php $server = new SoapServer(NULL, array("uri" => "http://test-uri")); $server->addFunction(SOAP_FUNCTIONS_ALL); if ($_SERVER["REQUEST_METHOD"] == "POST") { $server->handle(); } else { echo "This SOAP server can handle following functions: "; $functions = $server->getFunctions(); foreach($functions as $func) { echo $func . "\n"; } } ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapServer::SoapServer</methodname></member> <member><methodname>SoapServer::addFunction</methodname></member> <member><methodname>SoapServer::setClass</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/handle.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/handle.xml +++ phpdoc/en/reference/soap/soapserver/handle.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.handle" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::handle</refname> <refpurpose>Handles a SOAP request</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <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. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>soap_request</parameter></term> <listitem> <para> The SOAP request. If this argument is omitted, the request is assumed to be in the raw POST data of the HTTP request. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapServer::handle</function> example</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> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapServer::SoapServer</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/setclass.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/setclass.xml +++ phpdoc/en/reference/soap/soapserver/setclass.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.setclass" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::setClass</refname> <refpurpose>Sets the class which handles SOAP requests</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapServer::setClass</methodname> <methodparam><type>string</type><parameter>class_name</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>args</parameter></methodparam> </methodsynopsis> <para> Exports all methods from specified class. </para> <para> The object can be made persistent across request for a given PHP session with the <methodname>SoapServer::setPersistence</methodname> method. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>class_name</parameter></term> <listitem> <para> The name of the exported class. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>args</parameter></term> <listitem> <para> These optional parameters will be passed to the default class constructor during object creation. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapServer::SoapServer</methodname></member> <member><methodname>SoapServer::addFunction</methodname></member> <member><methodname>SoapServer::setPersistence</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/setobject.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/setobject.xml +++ phpdoc/en/reference/soap/soapserver/setobject.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.setobject" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::setObject</refname> <refpurpose>Sets the object which will be used to handle SOAP requests</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapServer::setObject</methodname> <methodparam><type>string</type><parameter>object</parameter></methodparam> </methodsynopsis> <para> This sets a specific object as the handler for SOAP requests, rather than just a class as in <methodname>SoapServer::setClass</methodname>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>object</parameter></term> <listitem> <para> The object to handle the requests. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapServer::setClass</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/setpersistence.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/setpersistence.xml +++ phpdoc/en/reference/soap/soapserver/setpersistence.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.setpersistence" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::setPersistence</refname> <refpurpose>Sets SoapServer persistence mode</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapServer::setPersistence</methodname> <methodparam><type>string</type><parameter>mode</parameter></methodparam> </methodsynopsis> <para> This function allows saving data between requests in a PHP session. It works only with a server that exports functions from a class with <methodname>SoapServer::setClass</methodname> or <methodname>SoapServer::setObject</methodname>. </para> <note> <para> The persistence <constant>SOAP_PERSISTENCE_SESSION</constant> makes persistent only object of given class, but not the class static data. You may use $this->bar instead of self::$bar. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>mode</parameter></term> <listitem> <para> One of the <literal>SOAP_PERSISTENCE_XXX</literal> constants. </para> <para> <literal>SOAP_PERSISTENCE_REQUEST</literal> - persist the object for the duration of a request. </para> <para> <literal>SOAP_PERSISTENCE_SESSION</literal> - persist the object for the duration of a session. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapServer::setClass</methodname></member> <member><methodname>SoapServer::setObject</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/soapserver.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/soapserver.xml +++ phpdoc/en/reference/soap/soapserver/soapserver.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.soapserver" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::SoapServer</refname> <refpurpose>SoapServer constructor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <methodname>SoapServer::SoapServer</methodname> <methodparam><type>mixed</type><parameter>wsdl</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam> </methodsynopsis> <para> This constructor allows the creation of <classname>SoapServer</classname> objects in WSDL or non-WSDL mode. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>wsdl</parameter></term> <listitem> <para> To use the SoapServer in WSDL mode, pass the URI of a WSDL file. Otherwise, pass &null; and set the <literal>uri</literal> option to the target namespace for the server. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>options</parameter></term> <listitem> <para> Allow setting a default SOAP version (<literal>soap_version</literal>), internal character encoding (<literal>encoding</literal>), and actor URI (<literal>actor</literal>). </para> <para> The <literal>classmap</literal> option can be used to map some WSDL types to PHP classes. This option must be an array with WSDL types as keys and names of PHP classes as values. </para> <para> The <literal>typemap</literal> option is an array of type mappings. Type mapping is an array with keys <literal>type_name</literal>, <literal>type_ns</literal> (namespace URI), <literal>from_xml</literal> (callback accepting one string parameter) and <literal>to_xml</literal> (callback accepting one object parameter). </para> <para> The <literal>cache_wsdl</literal> option is one of <constant>WSDL_CACHE_NONE</constant>, <constant>WSDL_CACHE_DISK</constant>, <constant>WSDL_CACHE_MEMORY</constant> or <constant>WSDL_CACHE_BOTH</constant>. </para> <para> There is also a <literal>features</literal> option. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapServer::SoapServer</function> example</title> <programlisting role="php"> <![CDATA[ <?php $server = new SoapServer("some.wsdl"); $server = new SoapServer("some.wsdl", array('soap_version' => SOAP_1_2)); $server = new SoapServer("some.wsdl", array('actor' => "http://example.org/ts-tests/C")); $server = new SoapServer("some.wsdl", array('encoding'=>'ISO-8859-1')); $server = new SoapServer(null, array('uri' => "http://test-uri/")); class MyBook { public $title; public $author; } $server = new SoapServer("books.wsdl", array('classmap' => array('book' => "MyBook"))); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::SoapClient</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapvar/soapvar.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapvar/soapvar.xml +++ phpdoc/en/reference/soap/soapvar/soapvar.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapvar.soapvar" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapVar::SoapVar</refname> <refpurpose>SoapVar constructor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <methodname>SoapVar::SoapVar</methodname> <methodparam><type>string</type><parameter>data</parameter></methodparam> <methodparam><type>string</type><parameter>encoding</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>type_name</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>type_namespace</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>node_name</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>node_namespace</parameter></methodparam> </methodsynopsis> <para> Constructs a new <classname>SoapVar</classname> object. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>data</parameter></term> <listitem> <para> The data to pass or return. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>encoding</parameter></term> <listitem> <para> The encoding ID, one of the <literal>XSD_...</literal> constants. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>type_name</parameter></term> <listitem> <para> The type name. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>type_namespace</parameter></term> <listitem> <para> The type namespace. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>node_name</parameter></term> <listitem> <para> The XML node name. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>node_namespace</parameter></term> <listitem> <para> The XML node namespace. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapVar::SoapVar</function> example</title> <programlisting role="php"> <![CDATA[ <?php class SOAPStruct { function SOAPStruct($s, $i, $f) { $this->varString = $s; $this->varInt = $i; $this->varFloat = $f; } } $client = new SoapClient(null, array('location' => "http://localhost/soap.php", 'uri' => "http://test-uri/")); $struct = new SOAPStruct('arg', 34, 325.325); $soapstruct = new SoapVar($struct, SOAP_ENC_OBJECT, "SOAPStruct", "http://soapinterop.org/xsd"); $client->echoStruct(new SoapParam($soapstruct, "inputStruct")); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::__soapCall</methodname></member> <member><methodname>SoapParam::SoapParam</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/book.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/soap/book.xml diff -u phpdoc/en/reference/soap/book.xml:1.2 phpdoc/en/reference/soap/book.xml:1.3 --- phpdoc/en/reference/soap/book.xml:1.2 Fri Dec 21 19:55:11 2007 +++ phpdoc/en/reference/soap/book.xml Mon Feb 16 21:27:28 2009 @@ -1,12 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- Purpose: webservice --> -<!-- Membership: bundled, external --> - +<!-- $Revision: 1.3 $ --> + <book xml:id="book.soap" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>SOAP</title> - - <!-- {{{ preface --> + <titleabbrev>SOAP</titleabbrev> + <preface xml:id="intro.soap"> &reftitle.intro; <para> @@ -16,12 +14,20 @@ xlink:href="&spec.wsdl;">WSDL 1.1</link> specifications. </para> </preface> - <!-- }}} --> - + &reference.soap.setup; &reference.soap.constants; + <!-- &reference.soap.examples; --> &reference.soap.reference; + &reference.soap.soapclient; + &reference.soap.soapserver; + &reference.soap.soapfault; + &reference.soap.soapheader; + &reference.soap.soapparam; + &reference.soap.soapvar; + + </book> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/constants.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/soap/constants.xml diff -u phpdoc/en/reference/soap/constants.xml:1.8 phpdoc/en/reference/soap/constants.xml:1.9 --- phpdoc/en/reference/soap/constants.xml:1.8 Fri Nov 7 10:49:09 2008 +++ phpdoc/en/reference/soap/constants.xml Mon Feb 16 21:27:28 2009 @@ -1,825 +1,783 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.8 $ --> -<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. --> -<appendix xml:id="soap.constants" xmlns="http://docbook.org/ns/docbook"> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.9 $ --> + +<appendix xml:id="soap.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.constants; &extension.constants; - <variablelist> - <varlistentry> - <term> - <constant>SOAP_1_1</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_1_2</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_PERSISTENCE_SESSION</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_PERSISTENCE_REQUEST</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_FUNCTIONS_ALL</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_ENCODED</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_LITERAL</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_RPC</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_DOCUMENT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_ACTOR_NEXT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_ACTOR_NONE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_ACTOR_UNLIMATERECEIVER</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_COMPRESSION_ACCEPT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_COMPRESSION_GZIP</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_COMPRESSION_DEFLATE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_WAIT_ONE_WAY_CALLS</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - Added in PHP 5.1.0. - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_USE_XSI_ARRAY_TYPE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_SINGLE_ELEMENT_ARRAYS</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>UNKNOWN_TYPE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_STRING</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_BOOLEAN</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_DECIMAL</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_FLOAT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_DOUBLE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_DURATION</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_DATETIME</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_TIME</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_DATE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_GYEARMONTH</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_GYEAR</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_GMONTHDAY</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_GDAY</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_GMONTH</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_HEXBINARY</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_BASE64BINARY</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_ANYURI</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_ANYXML</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - Added in PHP 5.1.0. - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_QNAME</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NOTATION</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NORMALIZEDSTRING</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_TOKEN</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_LANGUAGE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NMTOKEN</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NAME</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NCNAME</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_ID</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_IDREF</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_IDREFS</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_ENTITY</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_ENTITIES</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_INTEGER</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NONPOSITIVEINTEGER</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NEGATIVEINTEGER</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_LONG</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_INT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_SHORT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_BYTE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NONNEGATIVEINTEGER</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_UNSIGNEDLONG</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_UNSIGNEDINT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_UNSIGNEDSHORT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_UNSIGNEDBYTE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_POSITIVEINTEGER</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NMTOKENS</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_ANYTYPE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_ENC_OBJECT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>SOAP_ENC_ARRAY</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_1999_TIMEINSTANT</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_NAMESPACE</constant> + <para> + <variablelist> + <varlistentry> + <term> + <constant>SOAP_1_1</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_1_2</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_PERSISTENCE_SESSION</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_PERSISTENCE_REQUEST</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_FUNCTIONS_ALL</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_ENCODED</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_LITERAL</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_RPC</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_DOCUMENT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_ACTOR_NEXT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_ACTOR_NONE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_ACTOR_UNLIMATERECEIVER</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_COMPRESSION_ACCEPT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_COMPRESSION_GZIP</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_COMPRESSION_DEFLATE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_AUTHENTICATION_BASIC</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_AUTHENTICATION_DIGEST</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>UNKNOWN_TYPE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_STRING</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_BOOLEAN</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_DECIMAL</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_FLOAT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_DOUBLE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_DURATION</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_DATETIME</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_TIME</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_DATE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_GYEARMONTH</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_GYEAR</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_GMONTHDAY</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_GDAY</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_GMONTH</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_HEXBINARY</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_BASE64BINARY</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_ANYURI</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_QNAME</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NOTATION</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NORMALIZEDSTRING</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_TOKEN</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_LANGUAGE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NMTOKEN</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NAME</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NCNAME</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_ID</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_IDREF</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_IDREFS</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_ENTITY</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_ENTITIES</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_INTEGER</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NONPOSITIVEINTEGER</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NEGATIVEINTEGER</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_LONG</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_INT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_SHORT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_BYTE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NONNEGATIVEINTEGER</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_UNSIGNEDLONG</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_UNSIGNEDINT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_UNSIGNEDSHORT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_UNSIGNEDBYTE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_POSITIVEINTEGER</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NMTOKENS</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_ANYTYPE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_ANYXML</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>APACHE_MAP</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_ENC_OBJECT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_ENC_ARRAY</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_1999_TIMEINSTANT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_NAMESPACE</constant> (<type>string</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>XSD_1999_NAMESPACE</constant> + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>XSD_1999_NAMESPACE</constant> (<type>string</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>WSDL_CACHE_NONE</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - Switches off WSDL caching even if - <link linkend="ini.soap.wsdl-cache-enabled">soap.wsdl_cache_enabled</link> - is on. Available since PHP 5.1.5. - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>WSDL_CACHE_DISK</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - Available since PHP 5.1.5. - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>WSDL_CACHE_MEMORY</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - Caches WSDL data in process memory. Available since PHP 5.1.5. - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>WSDL_CACHE_BOTH</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - Available since PHP 5.1.5. - </simpara> - </listitem> - </varlistentry> - </variablelist> + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_SINGLE_ELEMENT_ARRAYS</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_WAIT_ONE_WAY_CALLS</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>SOAP_USE_XSI_ARRAY_TYPE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>WSDL_CACHE_NONE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>WSDL_CACHE_DISK</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>WSDL_CACHE_MEMORY</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>WSDL_CACHE_BOTH</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + </simpara> + </listitem> + </varlistentry> + </variablelist> + </para> </appendix> <!-- Keep this comment at the end of the file @@ -833,7 +791,7 @@ sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" +sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil @@ -842,3 +800,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/ini.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/soap/ini.xml diff -u phpdoc/en/reference/soap/ini.xml:1.11 phpdoc/en/reference/soap/ini.xml:1.12 --- phpdoc/en/reference/soap/ini.xml:1.11 Fri Jan 9 17:33:39 2009 +++ phpdoc/en/reference/soap/ini.xml Mon Feb 16 21:27:28 2009 @@ -1,148 +1,127 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.12 $ --> + <section xml:id="soap.configuration" xmlns="http://docbook.org/ns/docbook"> &reftitle.runtime; &extension.runtime; <para> <table> - <title>SOAP Configuration Options</title> + <title>SOAP &ConfigureOptions;</title> <tgroup cols="4"> <thead> <row> - <entry>Name</entry> - <entry>Default</entry> - <entry>Changeable</entry> - <entry>Changelog</entry> + <entry>&Name;</entry> + <entry>&Default;</entry> + <entry>&Changeable;</entry> + <entry>&Changelog;</entry> </row> </thead> <tbody> <row> - <entry><link linkend="ini.soap.wsdl-cache-enabled">soap.wsdl_cache_enabled</link></entry> - <entry>"1"</entry> + <entry>soap.wsdl_cache_enabled</entry> + <entry>1</entry> <entry>PHP_INI_ALL</entry> - <entry>Available since PHP 5.0.0.</entry> + <entry><!-- leave empty, this will be filled by an automatic script --></entry> </row> <row> - <entry><link linkend="ini.soap.wsdl-cache-dir">soap.wsdl_cache_dir</link></entry> - <entry>"/tmp"</entry> + <entry>soap.wsdl_cache_dir</entry> + <entry>/tmp</entry> <entry>PHP_INI_ALL</entry> - <entry>Available since PHP 5.0.0.</entry> + <entry><!-- leave empty, this will be filled by an automatic script --></entry> </row> <row> - <entry><link linkend="ini.soap.wsdl-cache-ttl">soap.wsdl_cache_ttl</link></entry> - <entry>"86400"</entry> + <entry>soap.wsdl_cache_ttl</entry> + <entry>86400</entry> <entry>PHP_INI_ALL</entry> - <entry>Available since PHP 5.0.0.</entry> + <entry><!-- leave empty, this will be filled by an automatic script --></entry> </row> <row> - <entry><link linkend="ini.soap.wsdl-cache-limit">soap.wsdl_cache_limit</link></entry> - <entry>"5"</entry> + <entry>soap.wsdl_cache</entry> + <entry>1</entry> <entry>PHP_INI_ALL</entry> - <entry>Available since PHP 5.1.5.</entry> + <entry><!-- leave empty, this will be filled by an automatic script --></entry> </row> <row> - <entry><link linkend="ini.soap.wsdl-cache">soap.wsdl_cache</link></entry> - <entry>"1"</entry> + <entry>soap.wsdl_cache_limit</entry> + <entry>5</entry> <entry>PHP_INI_ALL</entry> - <entry>Available since PHP 5.1.5.</entry> + <entry><!-- leave empty, this will be filled by an automatic script --></entry> </row> - </tbody> +</tbody> </tgroup> </table> - &ini.php.constants; -</para> + </para> + + &ini.descriptions.title; -&ini.descriptions.title; + <para> + <variablelist> + <varlistentry xml:id="ini.soap.wsdl-cache-enabled"> + <term> + <parameter>soap.wsdl_cache_enabled</parameter> + <type>integer</type> + </term> + <listitem> + <para> + Enables or disables the WSDL caching feature. + </para> + </listitem> + </varlistentry> + <varlistentry xml:id="ini.soap.wsdl-cache-dir"> + <term> + <parameter>soap.wsdl_cache_dir</parameter> + <type>string</type> + </term> + <listitem> + <para> + Sets the directory name where the SOAP extension will put cache files. + </para> + </listitem> + </varlistentry> + <varlistentry xml:id="ini.soap.wsdl-cache-ttl"> + <term> + <parameter>soap.wsdl_cache_ttl</parameter> + <type>integer</type> + </term> + <listitem> + <para> + Sets the number of seconds (time to live) that cached files will be used + instead of the originals. + </para> + </listitem> + </varlistentry> + <varlistentry xml:id="ini.soap.wsdl-cache"> + <term> + <parameter>soap.wsdl_cache</parameter> + <type>integer</type> + </term> + <listitem> + <para> + If <parameter>soap.wsdl_cache_enabled</parameter> is on, this setting + determines the type of caching. It can be any of: + <constant>WSDL_CACHE_NONE</constant> (<literal>0</literal>), + <constant>WSDL_CACHE_DISK</constant> (<literal>1</literal>), + <constant>WSDL_CACHE_MEMORY</constant> (<literal>2</literal>) or + <constant>WSDL_CACHE_BOTH</constant> (<literal>3</literal>). This can + also be set via the <parameter>options</parameter> array in the + <classname>SoapClient</classname> or <classname>SoapServer</classname> + constructor. + </para> + </listitem> + </varlistentry> + <varlistentry xml:id="ini.soap.wsdl-cache-limit"> + <term> + <parameter>soap.wsdl_cache_limit</parameter> + <type>integer</type> + </term> + <listitem> + <para> + Maximum number of in-memory cached WSDL files. Adding further files into + a full memory cache will delete the oldest files from it. + </para> + </listitem> + </varlistentry> -<para> - <variablelist> - <varlistentry xml:id="ini.soap.wsdl-cache-enabled"> - <term> - <parameter>soap.wsdl_cache_enabled</parameter> - <type>boolean</type> - </term> - <listitem> - <para> - Enables or disables the WSDL caching feature. - </para> - </listitem> - </varlistentry> - <varlistentry xml:id="ini.soap.wsdl-cache-dir"> - <term> - <parameter>soap.wsdl_cache_dir</parameter> - <type>string</type> - </term> - <listitem> - <para> - Sets the directory name where the SOAP extension will put cache files. - </para> - </listitem> - </varlistentry> - <varlistentry xml:id="ini.soap.wsdl-cache-ttl"> - <term> - <parameter>soap.wsdl_cache_ttl</parameter> - <type>integer</type> - </term> - <listitem> - <para> - Sets the number of seconds (time to live) that cached files will be used - instead of the originals. - </para> - </listitem> - </varlistentry> - <varlistentry xml:id="ini.soap.wsdl-cache-limit"> - <term> - <parameter>soap.wsdl_cache_limit</parameter> - <type>integer</type> - </term> - <listitem> - <para> - Maximum number of in-memory cached WSDL files. Adding further files into - a full memory cache will delete the oldest files from it. - </para> - </listitem> - </varlistentry> - <varlistentry xml:id="ini.soap.wsdl-cache"> - <term> - <parameter>soap.wsdl_cache</parameter> - <type>integer</type> - </term> - <listitem> - <para> - If <parameter>soap.wsdl_cache_enabled</parameter> is on, this setting - determines the type of caching. It can be any of: - <constant>WSDL_CACHE_NONE</constant> (<literal>0</literal>), - <constant>WSDL_CACHE_DISK</constant> (<literal>1</literal>), - <constant>WSDL_CACHE_MEMORY</constant> (<literal>2</literal>) or - <constant>WSDL_CACHE_BOTH</constant> (<literal>3</literal>). This can - also be set via the <parameter>options</parameter> array in the - <classname>SoapClient</classname> or <classname>SoapServer</classname> - constructor. - </para> - </listitem> - </varlistentry> - </variablelist> + </variablelist> </para> </section> - -<!-- 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/viewvc.cgi/phpdoc/en/reference/soap/reference.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc/en/reference/soap/reference.xml diff -u phpdoc/en/reference/soap/reference.xml:1.14 phpdoc/en/reference/soap/reference.xml:1.15 --- phpdoc/en/reference/soap/reference.xml:1.14 Fri May 30 17:25:12 2008 +++ phpdoc/en/reference/soap/reference.xml Mon Feb 16 21:27:28 2009 @@ -1,174 +1,13 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.14 $ --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.15 $ --> + <reference xml:id="ref.soap" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>SOAP &Functions;</title> - <partintro> - - - <!-- FIXME: Upgrade to the new-oo-markup --> - <section xml:id='soap.classes'> - &reftitle.classes; - - <section xml:id='soap.class.soapclient'> - <title><classname>SoapClient</classname></title> - <para></para> - <section xml:id='soap.class.soapclient.constructor'> - &reftitle.constructor; - <itemizedlist> - <listitem> - <para><xref linkend='function.soap-soapclient-construct' /> - - constructs a new SoapClient object</para> - </listitem> - </itemizedlist> - </section> - <section xml:id='soap.class.soapclient.methods'> - &reftitle.methods; - <itemizedlist> - <listitem> - <para><xref linkend='function.soap-soapclient-call' /> - Calls a SOAP function (deprecated)</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-dorequest' /> - Performs a SOAP request</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-getfunctions' /> - Returns list of SOAP functions</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-getlastrequest' /> - Returns last SOAP request</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-getlastrequestheaders' /> - Returns last SOAP request headers</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-getlastresponse' /> - Returns last SOAP response</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-getlastresponseheaders' /> - Returns last SOAP response headers</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-gettypes' /> - Returns list of SOAP types</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-setcookie' /> - Sets the - cookie that will be sent with the SOAP request</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapclient-soapcall' /> - Calls a SOAP function</para> - </listitem> - </itemizedlist> - </section> - </section> - - <section xml:id='soap.class.soapfault'> - <title><classname>SoapFault</classname></title> - <para></para> - <section xml:id='soap.class.soapfault.constructor'> - &reftitle.constructor; - <itemizedlist> - <listitem> - <para><xref linkend='function.soap-soapfault-construct' /> - construct a new SoapFault object</para> - </listitem> - </itemizedlist> - </section> - </section> - - <section xml:id='soap.class.soapheader'> - <title><classname>SoapHeader</classname></title> - <para> - <classname>SoapHeader</classname> is a special low-level class for passing - or returning SOAP headers. It's just a data holder and it does not have any - special methods except its constructor. It can be used in the <xref - linkend='function.soap-soapclient-soapcall' /> method to pass a SOAP header or - in a SOAP header handler to return the header in a SOAP response. - </para> - <section xml:id='soap.class.soapheader.constructor'> - &reftitle.constructor; - <itemizedlist> - <listitem> - <para><xref linkend='function.soap-soapheader-construct' /> - construct a new SoapHeader object</para> - </listitem> - </itemizedlist> - </section> - </section> - - <section xml:id='soap.class.soapparam'> - <title><classname>SoapParam</classname></title> - <para> - <classname>SoapParam</classname> is a special low-level class for naming - parameters and returning values in <literal>non-WSDL</literal> mode. - It's just a data holder and it does not have any special methods except - its constructor. - </para> - <section xml:id='soap.class.soapparam.constructor'> - &reftitle.constructor; - <itemizedlist> - <listitem> - <para><xref linkend='function.soap-soapparam-construct' /> - construct a new SoapParam object</para> - </listitem> - </itemizedlist> - </section> - </section> - - <section xml:id='soap.class.soapserver'> - <title><classname>SoapServer</classname></title> - <para></para> - <section xml:id='soap.class.soapserver.constructor'> - &reftitle.constructor; - <itemizedlist> - <listitem> - <para><xref linkend='function.soap-soapserver-construct' /> - construct a new SoapServer object</para> - </listitem> - </itemizedlist> - </section> - <section xml:id='soap.class.soapserver.methods'> - &reftitle.methods; - <itemizedlist> - <listitem> - <para><xref linkend='function.soap-soapserver-addfunction' /> - Adds one or several functions those will handle SOAP requests</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapserver-fault' /> - </para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapserver-getfunctions' /> - Returns list of defined functions</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapserver-handle' /> - Handles a SOAP request</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapserver-setclass' /> - Sets class which will handle SOAP requests</para> - </listitem> - <listitem> - <para><xref linkend='function.soap-soapserver-setpersistence' /> - Sets persistence mode of SoapServer</para> - </listitem> - </itemizedlist> - </section> - </section> - - <section xml:id='soap.class.soapvar'> - <title><classname>SoapVar</classname></title> - <para> - <classname>SoapVar</classname> is a special low-level class for encoding - parameters and returning values in <literal>non-WSDL</literal> mode. It's - just a data holder and does not have any special methods except the constructor. - It's useful when you want to set the type property in SOAP request or response. - </para> - <section xml:id='soap.class.soapvar.constructor'> - &reftitle.constructor; - <itemizedlist> - <listitem> - <para><xref linkend='function.soap-soapvar-construct' /> - construct a new SoapVar object</para> - </listitem> - </itemizedlist> - </section> - </section> + &reference.soap.entities.functions; - </section> +</reference> - </partintro> - &reference.soap.entities.functions; - </reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -189,3 +28,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/setup.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/soap/setup.xml diff -u phpdoc/en/reference/soap/setup.xml:1.2 phpdoc/en/reference/soap/setup.xml:1.3 --- phpdoc/en/reference/soap/setup.xml:1.2 Fri Dec 21 19:55:11 2007 +++ phpdoc/en/reference/soap/setup.xml Mon Feb 16 21:27:28 2009 @@ -1,40 +1,38 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <chapter xml:id="soap.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; - <!-- {{{ Requirements --> <section xml:id="soap.requirements"> &reftitle.required; + <!-- Use &no.requirement; if there no requirement --> <para> This extension makes use of the <link xlink:href="&url.libxml;">GNOME xml library</link>. Download and install this library. You will need at least libxml-2.5.4. </para> </section> - <!-- }}} --> <!-- {{{ Installation --> - <section xml:id="soap.installation"> + <section xml:id="extname.installation"> &reftitle.install; <para> This extension is only available if PHP was configured with <option role="configure">--enable-soap</option>. </para> </section> + <!-- or &reference.soap.configure; --> <!-- }}} --> <!-- {{{ Configuration --> &reference.soap.ini; <!-- }}} --> - <!-- {{{ Resources --> <section xml:id="soap.resources"> &reftitle.resources; - &no.resource; + &no.resource; </section> - <!-- }}} --> </chapter> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/versions.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/soap/versions.xml diff -u phpdoc/en/reference/soap/versions.xml:1.1 phpdoc/en/reference/soap/versions.xml:1.2 --- phpdoc/en/reference/soap/versions.xml:1.1 Tue Nov 4 03:25:01 2008 +++ phpdoc/en/reference/soap/versions.xml Mon Feb 16 21:27:28 2009 @@ -1,40 +1,59 @@ <?xml version='1.0' encoding='utf-8'?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- Do NOT translate this file --> +<!-- +Example entries: + <function name='classname::methodname' from='PECL extname >= 1.1'/> + <function name='functionname' from='PHP >= 5.3.0'/> + <function name='functionname' from='PHP 5'/> +--> <versions> - <function name='soap_encode_to_xml' from='PHP 5 <= 5.1.6'/> - <function name='soap_encode_to_zval' from='PHP 5 <= 5.1.6'/> - + <!-- Functions --> + <function name='use_soap_error_handler' from='Unknown'/> + <function name='is_soap_fault' from='Unknown'/> + <!-- Methods --> + <function name='soapclient::soapclient' from='PHP 5 >= 5.0.1'/> <function name='soapclient::__call' from='PHP 5 >= 5.0.1'/> - <function name='soapclient::__dorequest' from='PHP 5 >= 5.0.1'/> - <function name='soapclient::__getfunctions' from='PHP 5 >= 5.0.1'/> + <function name='soapclient::__soapcall' from='PHP 5 >= 5.0.1'/> <function name='soapclient::__getlastrequest' from='PHP 5 >= 5.0.1'/> - <function name='soapclient::__getlastrequestheaders' from='PHP 5 >= 5.0.1'/> <function name='soapclient::__getlastresponse' from='PHP 5 >= 5.0.1'/> + <function name='soapclient::__getlastrequestheaders' from='PHP 5 >= 5.0.1'/> <function name='soapclient::__getlastresponseheaders' from='PHP 5 >= 5.0.1'/> + <function name='soapclient::__getfunctions' from='PHP 5 >= 5.0.1'/> <function name='soapclient::__gettypes' from='PHP 5 >= 5.0.1'/> + <function name='soapclient::__dorequest' from='PHP 5 >= 5.0.1'/> <function name='soapclient::__setcookie' from='PHP 5 >= 5.0.4'/> - <function name='soapclient::__setlocation' from='PHP 5 >= 5.0.4'/> + <function name='soapclient::__setlocation' from='PHP 5 >= 5.0.1'/> <function name='soapclient::__setsoapheaders' from='PHP 5 >= 5.0.5'/> - <function name='soapclient::soapclient' from='PHP 5 >= 5.0.1'/> - - <function name='soapfault::soapfault' from='PHP 5 >= 5.0.1'/> - - <function name='soapheader::soapheader' from='PHP 5 >= 5.0.1'/> - <function name='soapparam::soapparam' from='PHP 5 >= 5.0.1'/> + <function name='soapvar::soapvar' from='PHP 5 >= 5.0.1'/> + <function name='soapserver::soapserver' from='PHP 5 >= 5.0.1'/> + <function name='soapserver::setpersistence' from='PHP 5 >= 5.1.2'/> + <function name='soapserver::setclass' from='PHP 5 >= 5.0.1'/> + <function name='soapserver::setobject' from='PHP 5 >= 5.0.1'/> <function name='soapserver::addfunction' from='PHP 5 >= 5.0.1'/> <function name='soapserver::getfunctions' from='PHP 5 >= 5.0.1'/> <function name='soapserver::handle' from='PHP 5 >= 5.0.1'/> - <function name='soapserver::setclass' from='PHP 5 >= 5.0.1'/> - <function name='soapserver::setobject' from='PHP 5 >= 5.2.0'/> - <function name='soapserver::setpersistence' from='PHP 5 >= 5.1.2'/> - <function name='soapserver::soapserver' from='PHP 5 >= 5.0.1'/> + <function name='soapserver::fault' from='PHP 5 >= 5.0.1'/> + <function name='soapserver::addsoapheader' from='PHP 5 >= 5.0.1'/> - <function name='soapvar::soapvar' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::soapfault' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::__tostring' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::__clone' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::__construct' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::getmessage' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::getcode' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::getfile' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::getline' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::gettrace' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::getprevious' from='PHP 5 >= 5.0.1'/> + <function name='soapfault::gettraceasstring' from='PHP 5 >= 5.0.1'/> + + <function name='soapparam::soapparam' from='PHP 5 >= 5.0.1'/> + <function name='soapheader::soapheader' from='PHP 5 >= 5.0.1'/> </versions> <!-- Keep this comment at the end of the file @@ -56,4 +75,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> \ No newline at end of file +--> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/functions/is-soap-fault.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc/en/reference/soap/functions/is-soap-fault.xml diff -u phpdoc/en/reference/soap/functions/is-soap-fault.xml:1.10 phpdoc/en/reference/soap/functions/is-soap-fault.xml:1.11 --- phpdoc/en/reference/soap/functions/is-soap-fault.xml:1.10 Wed Jun 20 22:25:25 2007 +++ phpdoc/en/reference/soap/functions/is-soap-fault.xml Mon Feb 16 21:27:28 2009 @@ -1,21 +1,21 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.10 $ --> -<refentry xml:id="function.is-soap-fault" xmlns="http://docbook.org/ns/docbook"> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.11 $ --> + +<refentry xml:id="function.is-soap-fault" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>is_soap_fault</refname> - <refpurpose> - Checks if SOAP call was failed - </refpurpose> + <refpurpose>Checks if a SOAP call has failed</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>is_soap_fault</methodname> - <methodparam><type>mixed</type><parameter>obj</parameter></methodparam> + <methodparam><type>mixed</type><parameter>object</parameter></methodparam> </methodsynopsis> <para> - This function is useful when you like to check if the SOAP call failed, but - don't like to use exceptions. To use it you must create a + This function is useful to check if the SOAP call failed, but + without using exceptions. To use it, create a <classname>SoapClient</classname> object with the <literal>exceptions</literal> option set to zero or &false;. In this case, the SOAP method will return a special @@ -29,27 +29,31 @@ parameter is a <classname>SoapFault</classname> object. </para> </refsect1> + <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> - <term><parameter>obj</parameter></term> + <term><parameter>object</parameter></term> <listitem> <para> - The tested object. + The object to test. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; + <!-- See also &return.success; --> <para> - &return.success; + This will return <literal>true</literal> on error, and <literal>false</literal> otherwise. </para> </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -84,15 +88,17 @@ </example> </para> </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> - <member><xref linkend="function.soap-soapclient-construct" /></member> - <member><xref linkend="function.soap-soapfault-construct" /></member> + <member><methodname>SoapClient::SoapClient</methodname></member> + <member><methodname>SoapFault::SoapFault</methodname></member> </simplelist> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/functions/use-soap-error-handler.xml?r1=1.7&r2=1.8&diff_format=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.7 phpdoc/en/reference/soap/functions/use-soap-error-handler.xml:1.8 --- phpdoc/en/reference/soap/functions/use-soap-error-handler.xml:1.7 Fri Jan 16 12:08:50 2009 +++ phpdoc/en/reference/soap/functions/use-soap-error-handler.xml Mon Feb 16 21:27:28 2009 @@ -1,18 +1,52 @@ -<?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.7 $ --> -<refentry xml:id="function.use-soap-error-handler" xmlns="http://docbook.org/ns/docbook"> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.8 $ --> + +<refentry xml:id="function.use-soap-error-handler" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>use_soap_error_handler</refname> - <refpurpose>Set whether to use the SOAP error handler and return the former value</refpurpose> + <refpurpose>Set whether to use the SOAP error handler</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>use_soap_error_handler</methodname> - <methodparam choice="opt"><type>bool</type><parameter>handler</parameter><initializer>true</initializer></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>handler</parameter></methodparam> </methodsynopsis> - &warn.undocumented.func; + <para> + This function sets whether or not to use the SOAP error handler in the SOAP server. + It will return the previous value. If set to <literal>true</literal>, details of errors + in a SoapServer application will be sent to the clients. If <literal>false</literal>, + no information will be sent. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>handler</parameter></term> + <listitem> + <para> + Set to <literal>true</literal> to send error details to clients. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>set_error_handler</function></member> + <member><function>set_exception_handler</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/configure.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/configure.xml +++ phpdoc/en/reference/soap/configure.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <section xml:id="soap.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.install; <!-- There are various PECL related entities in language-snippets.ent --> <para> To enable SOAP support, configure PHP with --enable-soap. </para> </section> <!-- 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/viewvc.cgi/phpdoc/en/reference/soap/soapclient.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient.xml +++ phpdoc/en/reference/soap/soapclient.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <phpdoc:classref xml:id="class.soapclient" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The <classname>SoapClient</classname> class</title> <titleabbrev>SoapClient</titleabbrev> <partintro> <!-- {{{ SoapClient intro --> <section xml:id="soapclient.intro"> &reftitle.intro; <para> The SoapClient class provides a client for <link xlink:href="&spec.soap1.1;">SOAP 1.1</link>, <link xlink:href="&spec.soap1.2;">SOAP 1.2</link> servers. It can be used in WSDL or non-WSDL mode. </para> </section> <!-- }}} --> <section xml:id="soapclient.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SoapClient</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SoapClient</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.soapclient')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> </section> </partintro> &reference.soap.entities.soapclient; </phpdoc:classref> <!-- 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/viewvc.cgi/phpdoc/en/reference/soap/soapfault.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapfault.xml +++ phpdoc/en/reference/soap/soapfault.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <phpdoc:classref xml:id="class.soapfault" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The SoapFault class</title> <titleabbrev>SoapFault</titleabbrev> <partintro> <!-- {{{ SoapFault intro --> <section xml:id="soapfault.intro"> &reftitle.intro; <para> Represents a SOAP fault. </para> </section> <!-- }}} --> <section xml:id="soapfault.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SoapFault</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SoapFault</classname> </ooclass> <ooclass> <modifier>extends</modifier> <classname>Exception</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Properties</classsynopsisinfo> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.soapfault')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> <classsynopsisinfo role="comment">Inherited methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> </section> <!-- {{{ SoapFault properties --> <section xml:id="soapfault.props"> &reftitle.properties; <variablelist> <varlistentry xml:id="soapfault.props.message"> <term><varname>message</varname></term> <listitem> <para>Prop description</para> </listitem> </varlistentry> <varlistentry xml:id="soapfault.props.code"> <term><varname>code</varname></term> <listitem> <para>Prop description</para> </listitem> </varlistentry> <varlistentry xml:id="soapfault.props.file"> <term><varname>file</varname></term> <listitem> <para>Prop description</para> </listitem> </varlistentry> <varlistentry xml:id="soapfault.props.line"> <term><varname>line</varname></term> <listitem> <para>Prop description</para> </listitem> </varlistentry> </variablelist> </section> <!-- }}} --> </partintro> &reference.soap.entities.soapfault; </phpdoc:classref> <!-- 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/viewvc.cgi/phpdoc/en/reference/soap/soapheader.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapheader.xml +++ phpdoc/en/reference/soap/soapheader.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <phpdoc:classref xml:id="class.soapheader" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The SoapHeader class</title> <titleabbrev>SoapHeader</titleabbrev> <partintro> <!-- {{{ SoapHeader intro --> <section xml:id="soapheader.intro"> &reftitle.intro; <para> Represents a SOAP header. </para> </section> <!-- }}} --> <section xml:id="soapheader.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SoapHeader</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SoapHeader</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.soapheader')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> </section> </partintro> &reference.soap.entities.soapheader; </phpdoc:classref> <!-- 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/viewvc.cgi/phpdoc/en/reference/soap/soapparam.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapparam.xml +++ phpdoc/en/reference/soap/soapparam.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <phpdoc:classref xml:id="class.soapparam" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The SoapParam class</title> <titleabbrev>SoapParam</titleabbrev> <partintro> <!-- {{{ SoapParam intro --> <section xml:id="soapparam.intro"> &reftitle.intro; <para> Represents parameter to a SOAP call. </para> </section> <!-- }}} --> <section xml:id="soapparam.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SoapParam</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SoapParam</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.soapparam')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> </section> </partintro> &reference.soap.entities.soapparam; </phpdoc:classref> <!-- 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/viewvc.cgi/phpdoc/en/reference/soap/soapserver.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver.xml +++ phpdoc/en/reference/soap/soapserver.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <phpdoc:classref xml:id="class.soapserver" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The SoapServer class</title> <titleabbrev>SoapServer</titleabbrev> <partintro> <!-- {{{ SoapServer intro --> <section xml:id="soapserver.intro"> &reftitle.intro; <para> The SoapServer class provides a server for the <link xlink:href="&spec.soap1.1;">SOAP 1.1</link> and <link xlink:href="&spec.soap1.2;">SOAP 1.2</link> protocols. It can be used with or without a WSDL service description. </para> </section> <!-- }}} --> <section xml:id="soapserver.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SoapServer</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SoapServer</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.soapserver')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> </section> </partintro> &reference.soap.entities.soapserver; </phpdoc:classref> <!-- 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/viewvc.cgi/phpdoc/en/reference/soap/soapvar.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapvar.xml +++ phpdoc/en/reference/soap/soapvar.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <phpdoc:classref xml:id="class.soapvar" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The SoapVar class</title> <titleabbrev>SoapVar</titleabbrev> <partintro> <!-- {{{ SoapVar intro --> <section xml:id="soapvar.intro"> &reftitle.intro; <para> A class representing a variable or object for use with SOAP services. </para> </section> <!-- }}} --> <section xml:id="soapvar.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SoapVar</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SoapVar</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.soapvar')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> </section> </partintro> &reference.soap.entities.soapvar; </phpdoc:classref> <!-- 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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/call.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/call.xml +++ phpdoc/en/reference/soap/soapclient/call.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.call" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__call</refname> <refpurpose>Calls a SOAP function (deprecated)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapClient::__call</methodname> <methodparam><type>string</type><parameter>function_name</parameter></methodparam> <methodparam><type>string</type><parameter>arguments</parameter></methodparam> </methodsynopsis> <para> This method is deprecated. Use <xref linkend="soapclient.soapcall" /> instead of it. </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/construct.xml +++ phpdoc/en/reference/soap/soapclient/construct.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__construct</refname> <refpurpose>SoapClient constructor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <methodname>SoapClient::SoapClient</methodname> <methodparam><type>mixed</type><parameter>wsdl</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam> </methodsynopsis> <para> &info.function.alias; <methodname>SoapClient::SoapClient</methodname> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/dorequest.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/dorequest.xml +++ phpdoc/en/reference/soap/soapclient/dorequest.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.dorequest" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__doRequest</refname> <refpurpose>Performs a SOAP request</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type><methodname>SoapClient::__doRequest</methodname> <methodparam><type>string</type><parameter>request</parameter></methodparam> <methodparam><type>string</type><parameter>location</parameter></methodparam> <methodparam><type>string</type><parameter>action</parameter></methodparam> <methodparam><type>int</type><parameter>version</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>one_way</parameter><initializer>0</initializer></methodparam> </methodsynopsis> <para> Performs SOAP request over HTTP. </para> <para> This method can be overridden in subclasses to implement different transport layers, perform additional XML processing or other purpose. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>request</parameter></term> <listitem> <para> The XML SOAP request. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>location</parameter></term> <listitem> <para> The URL to request. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>action</parameter></term> <listitem> <para> The SOAP action. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>version</parameter></term> <listitem> <para> The SOAP version. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>one_way</parameter></term> <listitem> <para> If <literal>one_way</literal> is set to 1, this method returns nothing. Use this where a response is not expected. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The XML SOAP response. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapClient::__doRequest</function> example</title> <programlisting role="php"> <![CDATA[ <?php function Add($x,$y) { return $x+$y; } class LocalSoapClient extends SoapClient { function __construct($wsdl, $options) { parent::__construct($wsdl, $options); $this->server = new SoapServer($wsdl, $options); $this->server->addFunction('Add'); } function __doRequest($request, $location, $action, $version) { ob_start(); $this->server->handle($request); $response = ob_get_contents(); ob_end_clean(); return $response; } } $x = new LocalSoapClient(NULL,array('location'=>'test://', 'uri'=>'http://testuri.org')); var_dump($x->Add(3,4)); ?> ]]> </programlisting> </example> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/getfunctions.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/getfunctions.xml +++ phpdoc/en/reference/soap/soapclient/getfunctions.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.getfunctions" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__getFunctions</refname> <refpurpose>Returns list of available SOAP functions</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapClient::__getFunctions</methodname> <void /> </methodsynopsis> <para> Returns a list of available SOAP functions. </para> <para> This function only works in WSDL mode. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The list of SOAP functions. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapClient::__getFunctions</function> example</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient('some.wsdl'); var_dump($client->__getFunctions()); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::SoapClient</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/getlastrequest.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/getlastrequest.xml +++ phpdoc/en/reference/soap/soapclient/getlastrequest.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.getlastrequest" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__getLastRequest</refname> <refpurpose>Returns last SOAP request</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type><methodname>SoapClient::__getLastRequest</methodname> <void /> </methodsynopsis> <para> Returns the XML sent in the last SOAP request. </para> <note> <para> This method works only if the <classname>SoapClient</classname> object was created with the <literal>trace</literal> option set to <literal>true</literal>. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The last SOAP request, as an XML string. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>SoapClient->__getLastRequest() 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> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::__getLastRequestHeaders</methodname></member> <member><methodname>SoapClient::__getLastResponse</methodname></member> <member><methodname>SoapClient::__getLastResponseHeaders</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/getlastrequestheaders.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/getlastrequestheaders.xml +++ phpdoc/en/reference/soap/soapclient/getlastrequestheaders.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.getlastrequestheaders" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__getLastRequestHeaders</refname> <refpurpose>Returns the SOAP headers from the last request</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type><methodname>SoapClient::__getLastRequestHeaders</methodname> <void /> </methodsynopsis> <para> Returns the SOAP headers from the last request. </para> <note> <para> This function only works if the <classname>SoapClient</classname> object was created with the <literal>trace</literal> option set to <literal>true</literal>. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The last SOAP request headers. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>SoapClient->__getLastRequest() example</title> <programlisting role="php"> <![CDATA[ <?php $client = SoapClient("some.wsdl", array('trace' => 1)); $result = $client->SomeFunction(); echo "REQUEST HEADERS:\n" . $client->__getLastRequestHeaders() . "\n"; ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::__getLastResponseHeaders</methodname></member> <member><methodname>SoapClient::__getLastRequest</methodname></member> <member><methodname>SoapClient::__getLastResponse</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/getlastresponse.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/getlastresponse.xml +++ phpdoc/en/reference/soap/soapclient/getlastresponse.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.getlastresponse" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__getLastResponse</refname> <refpurpose>Returns last SOAP response</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type><methodname>SoapClient::__getLastResponse</methodname> <void /> </methodsynopsis> <para> Returns the XML sent in the last SOAP response. </para> <note> <para> This method works only if the <classname>SoapClient</classname> object was created with the <literal>trace</literal> option set to <literal>true</literal>. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The last SOAP response, as an XML string. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>SoapClient->__getLastResponse() 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> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::__getLastResponseHeaders</methodname></member> <member><methodname>SoapClient::__getLastRequest</methodname></member> <member><methodname>SoapClient::__getLastRequestHeaders</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/getlastresponseheaders.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/getlastresponseheaders.xml +++ phpdoc/en/reference/soap/soapclient/getlastresponseheaders.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.getlastresponseheaders" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__getLastResponseHeaders</refname> <refpurpose>Returns the SOAP headers from the last response</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type><methodname>SoapClient::__getLastResponseHeaders</methodname> <void /> </methodsynopsis> <para> Returns the SOAP headers from the last response. </para> <note> <para> This function only works if the <classname>SoapClient</classname> object was created with the <literal>trace</literal> option set to <literal>true</literal>. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The last SOAP response headers. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>SoapClient->__getLastResponse() example</title> <programlisting role="php"> <![CDATA[ <?php $client = SoapClient("some.wsdl", array('trace' => 1)); $result = $client->SomeFunction(); echo "RESPONSE HEADERS:\n" . $client->__getLastResponseHeaders() . "\n"; ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::__getLastRequestHeaders</methodname></member> <member><methodname>SoapClient::__getLastRequest</methodname></member> <member><methodname>SoapClient::__getLastResponse</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/gettypes.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/gettypes.xml +++ phpdoc/en/reference/soap/soapclient/gettypes.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.gettypes" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__getTypes</refname> <refpurpose>Returns a list of SOAP types</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>SoapClient::__getTypes</methodname> <void /> </methodsynopsis> <para> Returns an array of types described in the WSDL for the Web service. </para> <note> <para> This function only works in WSDL mode. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> An <literal>array</literal> of SOAP types. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapClient::__getTypes</function> example</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient("some.wsdl"); var_dump($client->__getTypes()); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::SoapClient</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/setcookie.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/setcookie.xml +++ phpdoc/en/reference/soap/soapclient/setcookie.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.setcookie" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__setCookie</refname> <refpurpose>The __setCookie purpose</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapClient::__setCookie</methodname> <methodparam><type>string</type><parameter>name</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> Defines a cookie to be sent along with the SOAP requests. </para> <note> <para> Calling this method will affect all following calls to <classname>SoapClient</classname> methods. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> The name of the cookie. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>value</parameter></term> <listitem> <para> The value of the cookie. If not specified, the cookie will be deleted. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/setlocation.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/setlocation.xml +++ phpdoc/en/reference/soap/soapclient/setlocation.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.setlocation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__setLocation</refname> <refpurpose>Sets the location of the Web service to use.</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type><methodname>SoapClient::__setLocation</methodname> <methodparam choice="opt"><type>string</type><parameter>new_location</parameter></methodparam> </methodsynopsis> <para> Sets the endpoint URL that will be touched by following SOAP requests. This is equivalent to specifying the <literal>location</literal> option when constructing the SoapClient. </para> <note> <para> Calling this method is optional. The SoapClient uses the endpoint from the WSDL file by default. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>new_location</parameter></term> <listitem> <para> The new endpoint URL. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The old endpoint URL. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapClient::__setLocation</function> example</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient('http://example.com/webservice.php?wsdl'); $client->__setLocation('http://www.somethirdparty.com'); $old_location = $client->__setLocation(); // unsets the location option echo $old_location; ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ http://www.somethirdparty.com ]]> </screen> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::SoapClient</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/setsoapheaders.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/setsoapheaders.xml +++ phpdoc/en/reference/soap/soapclient/setsoapheaders.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.setsoapheaders" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__setSoapHeaders</refname> <refpurpose>Sets SOAP headers for subsequent calls.</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>bool</type><methodname>SoapClient::__setSoapHeaders</methodname> <methodparam choice="opt"><type>mixed</type><parameter>soapheaders</parameter></methodparam> </methodsynopsis> <para> Defines headers to be sent along with the SOAP requests. </para> <note> <para> Calling this method will replace any previous values. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>soapheaders</parameter></term> <listitem> <para> The headers to be set. If not specified, the headers will be deleted. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapClient::__setSoapHeaders</function> example</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient(null, array('location' => "http://localhost/soap.php", 'uri' => "http://test-uri/")); $header = new SoapHeader('http://soapinterop.org/echoheader/', 'echoMeStringRequest', 'hello world')); $client->__setSoapHeaders($header); $client->__soapCall("echoVoid", null); ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[.... ]]> </screen> </example> </para> <para> <example> <title>Set Multiple Headers</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient(null, array('location' => "http://localhost/soap.php", 'uri' => "http://test-uri/")); $headers = array(); $headers[] = new SoapHeader('http://soapinterop.org/echoheader/', 'echoMeStringRequest', 'hello world')); $headers[] = new SoapHeader('http://soapinterop.org/echoheader/', 'echoMeStringRequest', 'hello world again')); $client->__setSoapHeaders($headers); $client->__soapCall("echoVoid", null); ?> ]]> </programlisting> </example> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/soapcall.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/soapcall.xml +++ phpdoc/en/reference/soap/soapclient/soapcall.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.soapcall" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::__soapCall</refname> <refpurpose>Calls a SOAP function</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>mixed</type><methodname>SoapClient::__soapCall</methodname> <methodparam><type>string</type><parameter>function_name</parameter></methodparam> <methodparam><type>array</type><parameter>arguments</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam> <methodparam choice="opt"><type>mixed</type><parameter>input_headers</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter role="reference">output_headers</parameter></methodparam> </methodsynopsis> <para> This is a low level API function that is used to make a SOAP call. Usually, in WSDL mode, you can simply call SOAP functions as <classname>SoapClient</classname> methods. This method useful in non-WSDL mode when <literal>soapaction</literal> is unknown, <literal>uri</literal> differs from the default or when sending and/or receiving SOAP Headers. </para> <para> On error, a call to a SOAP function can cause PHP to throw exceptions or return a <classname>SoapFault</classname> object if exceptions are disabled. To check if the function call failed to catch the SoapFault exceptions, check the result with <function>is_soap_fault</function>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>function_name</parameter></term> <listitem> <para> The name of the SOAP function to call. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>arguments</parameter></term> <listitem> <para> An array of the arguments to pass to the function. This can be either an ordered or an associative array. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>options</parameter></term> <listitem> <para> An associative array of options to pass to the client. </para> <para> The <literal>location</literal> option is the URL of the remote Web service. </para> <para> The <literal>uri</literal> option is the target namespace of the SOAP service. </para> <para> The <literal>soapaction</literal> option is the action to call. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>input_headers</parameter></term> <listitem> <para> An array of headers to be sent along with the SOAP request. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>output_headers</parameter></term> <listitem> <para> If supplied, this array will be filled with the headers from the SOAP response. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> SOAP functions may return one, or multiple values. If only one value is returned by the SOAP function, the return value of <literal>__soapCall</literal> will be a simple value (e.g. an integer, a string, etc). If multiple values are returned, <literal>__soapCall</literal> will return an associative array of named output parameters. </para> <para> On error, if the SoapClient object was constructed with the <literal>trace</literal> option set to <literal>false</literal>, a SoapFault object will be returned. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapClient::__soapCall</function> example</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient("some.wsdl"); $client->SomeFunction($a, $b, $c); $client->__soapCall("SomeFunction", array($a, $b, $c)); $client->__soapCall("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->__soapCall("SomeFunction", array($a, $b, $c)); $client->__soapCall("SomeFunction", array($a, $b, $c), array('soapaction' => 'some_action', 'uri' => 'some_uri')); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::SoapClient</methodname></member> <member><methodname>SoapParam::SoapParam</methodname></member> <member><methodname>SoapVar::SoapVar</methodname></member> <member><methodname>SoapHeader::SoapHeader</methodname></member> <member><methodname>SoapFault::SoapFault</methodname></member> <member><function>is_soap_fault</function></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapclient/soapclient.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapclient/soapclient.xml +++ phpdoc/en/reference/soap/soapclient/soapclient.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapclient.soapclient" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapClient::SoapClient</refname> <refpurpose>SoapClient constructor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <methodname>SoapClient::SoapClient</methodname> <methodparam><type>mixed</type><parameter>wsdl</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam> </methodsynopsis> <para> This constructor creates <classname>SoapClient</classname> objects in <literal>WSDL</literal> or <literal>non-WSDL</literal> mode. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>wsdl</parameter></term> <listitem> <para> URI of the <literal>WSDL</literal> file or &null; if working in <literal>non-WSDL</literal> mode. </para> <note> <para> During development stage, you may want to disable WSDL caching by the mean of the <literal>soap.wsdl_cache_ttl</literal> &php.ini; setting, otherwise changes made to the WSDL file will have no effect until <literal>soap.wsdl_cache_ttl</literal> is expired. </para> </note> </listitem> </varlistentry> <varlistentry> <term><parameter>options</parameter></term> <listitem> <para> An array of options. If working in WSDL mode, this parameter is optional. If working in non-WSDL mode, you must set the <literal>location</literal> and <literal>uri</literal> options, where <literal>location</literal> is the URL to request and <literal>uri</literal> is the target namespace of the SOAP service. </para> <para> The <literal>style</literal> and <literal>use</literal> options only work in non-WSDL mode. In WSDL mode, they come from the WSDL file. </para> <para> The <literal>soap_version</literal> option specifies whether to use SOAP 1.1, or SOAP 1.2 client. </para> <para> For HTTP authentication, you may use the <literal>login</literal> and <literal>password</literal> options. For making an HTTP connection through a proxy server, use the options <literal>proxy_host</literal>, <literal>proxy_port</literal>, <literal>proxy_login</literal> and <literal>proxy_password</literal>. For HTTPS client certificate authentication use <literal>local_cert</literal> and <literal>passphrase</literal> options. </para> <para> The <literal>compression</literal> option allows to use compression of HTTP SOAP requests and responses. </para> <para> The <literal>encoding</literal> option defines internal character encoding. This option does not change the encoding of SOAP requests (it is always utf-8), but converts strings into it. </para> <para> The <literal>classmap</literal> option can be used to map some WSDL types to PHP classes. This option must be an array with WSDL types as keys and names of PHP classes as values. </para> <para> Setting the boolean <literal>trace</literal> option enables use of the methods <link linkend="soapclient.getlastrequest"> SoapClient->__getLastRequest</link>, <link linkend="soapclient.getlastrequestheaders"> SoapClient->__getLastRequestHeaders</link>, <link linkend="soapclient.getlastresponse"> SoapClient->__getLastResponse</link> and <link linkend="soapclient.getlastresponseheaders"> SoapClient->__getLastResponseHeaders</link>. </para> <para> The <literal>exceptions</literal> option is a boolean value defining whether soap errors throw exceptions of type <link linkend="soapfault.soapfault"> SoapFault</link>. </para> <para> The <literal>connection_timeout</literal> option defines a timeout in seconds for the connection to the SOAP service. This option does not define a timeout for services with slow responses. To limit the time to wait for calls to finish the <link linkend="ini.default-socket-timeout">default_socket_timeout</link> setting is available. </para> <para> The <literal>typemap</literal> option is an array of type mappings. Type mapping is an array with keys <literal>type_name</literal>, <literal>type_ns</literal> (namespace URI), <literal>from_xml</literal> (callback accepting one string parameter) and <literal>to_xml</literal> (callback accepting one object parameter). </para> <para> The <literal>cache_wsdl</literal> option is one of <constant>WSDL_CACHE_NONE</constant>, <constant>WSDL_CACHE_DISK</constant>, <constant>WSDL_CACHE_MEMORY</constant> or <constant>WSDL_CACHE_BOTH</constant>. </para> <para> The <literal>user_agent</literal> option specifies string to use in <literal>User-Agent</literal> header. </para> <para> The <literal>stream_context</literal> option is a <type>resource</type> for <link linkend="context">context</link>. </para> <para> The <literal>features</literal> option is a bitmask of <constant>SOAP_SINGLE_ELEMENT_ARRAYS</constant>, <constant>SOAP_USE_XSI_ARRAY_TYPE</constant>, <constant>SOAP_WAIT_ONE_WAY_CALLS</constant>. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapClient::SoapClient</function> example</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient("some.wsdl"); $client = new SoapClient("some.wsdl", array('soap_version' => SOAP_1_2)); $client = new SoapClient("some.wsdl", array('login' => "some_name", 'password' => "some_password")); $client = new SoapClient("some.wsdl", array('proxy_host' => "localhost", 'proxy_port' => 8080)); $client = new SoapClient("some.wsdl", array('proxy_host' => "localhost", 'proxy_port' => 8080, 'proxy_login' => "some_name", 'proxy_password' => "some_password")); $client = new SoapClient("some.wsdl", array('local_cert' => "cert_key.pem")); $client = new SoapClient(null, array('location' => "http://localhost/soap.php", 'uri' => "http://test-uri/")); $client = new SoapClient(null, array('location' => "http://localhost/soap.php", 'uri' => "http://test-uri/", 'style' => SOAP_DOCUMENT, 'use' => SOAP_LITERAL)); $client = new SoapClient("some.wsdl", array('compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP)); $server = new SoapClient("some.wsdl", array('encoding'=>'ISO-8859-1')); class MyBook { public $title; public $author; } $server = new SoapClient("books.wsdl", array('classmap' => array('book' => "MyBook"))); ?> ]]> </programlisting> </example> </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/viewvc.cgi/phpdoc/en/reference/soap/soapfault/soapfault.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapfault/soapfault.xml +++ phpdoc/en/reference/soap/soapfault/soapfault.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapfault.soapfault" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapFault::SoapFault</refname> <refpurpose>SoapFault constructor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <methodname>SoapFault::SoapFault</methodname> <methodparam><type>string</type><parameter>faultcode</parameter></methodparam> <methodparam><type>string</type><parameter>faultstring</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>faultactor</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>detail</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>faultname</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>headerfault</parameter></methodparam> </methodsynopsis> <para> This class is useful when you would like to send SOAP fault responses from the PHP handler. <parameter>faultcode</parameter>, <parameter>faultstring</parameter>, <parameter>faultactor</parameter> and <parameter>details</parameter> are standard elements of a SOAP Fault. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>faultcode</parameter></term> <listitem> <para> The error code of the <classname>SoapFault</classname>. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>faultstring</parameter></term> <listitem> <para> The error message of the <classname>SoapFault</classname>. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>faultactor</parameter></term> <listitem> <para> A string identifying the actor that caused the error. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>detail</parameter></term> <listitem> <para> More details about the cause of the error. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>faultname</parameter></term> <listitem> <para> Can be used to select the proper fault encoding from WSDL. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>headerfault</parameter></term> <listitem> <para> Can be used during SOAP header handling to report an error in the response header. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Some examples</title> <programlisting role="php"> <![CDATA[ <?php function test($x) { return new SoapFault("Server", "Some error message"); } $server = new SoapServer(null, array('uri' => "http://test-uri/")); $server->addFunction("test"); $server->handle(); ?> ]]> </programlisting> </example> </para> <para> It is possible to use PHP exception mechanism to throw SOAP Fault. </para> <para> <example> <title>Some examples</title> <programlisting role="php"> <![CDATA[ <?php function test($x) { throw new SoapFault("Server", "Some error message"); } $server = new SoapServer(null, array('uri' => "http://test-uri/")); $server->addFunction("test"); $server->handle(); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapServer::fault</methodname></member> <member><function>is_soap_fault</function></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapfault/tostring.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapfault/tostring.xml +++ phpdoc/en/reference/soap/soapfault/tostring.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapfault.tostring" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapFault::__toString</refname> <refpurpose>Obtain a string representation of a SoapFault</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapFault::__toString</methodname> <void /> </methodsynopsis> <para> Returns a string representation of the SoapFault. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> A string describing the SoapFault. </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/viewvc.cgi/phpdoc/en/reference/soap/soapheader/soapheader.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapheader/soapheader.xml +++ phpdoc/en/reference/soap/soapheader/soapheader.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapheader.soapheader" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapHeader::SoapHeader</refname> <refpurpose>SoapHeader constructor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <methodname>SoapHeader::SoapHeader</methodname> <methodparam><type>string</type><parameter>namespace</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> <methodparam choice="opt"><type>mixed</type><parameter>data</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>mustunderstand</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>actor</parameter></methodparam> </methodsynopsis> <para> Constructs a new SoapHeader object. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>namespace</parameter></term> <listitem> <para> The namespace of the SOAP header element. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> The name of the SoapHeader object. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>data</parameter></term> <listitem> <para> A SOAP header's content. It can be a PHP value or a <classname>SoapVar</classname> object. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>mustUnderstand</parameter></term> <listitem> <para> Value of the <literal>mustUnderstand</literal> attribute of the SOAP header element. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>actor</parameter></term> <listitem> <para> Value of the <literal>actor</literal> attribute of the SOAP header element. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapHeader::SoapHeader</function> example</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient(null, array('location' => "http://localhost/soap.php", 'uri' => "http://test-uri/")); $client->__soapCall("echoVoid", null, null, new SoapHeader('http://soapinterop.org/echoheader/', 'echoMeStringRequest', 'hello world')); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::__soapCall</methodname></member> <member><methodname>SoapVar::SoapVar</methodname></member> <member><methodname>SoapParam::SoapParam</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapparam/soapparam.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapparam/soapparam.xml +++ phpdoc/en/reference/soap/soapparam/soapparam.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapparam.soapparam" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapParam::SoapParam</refname> <refpurpose>SoapParam constructor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <methodname>SoapParam::SoapParam</methodname> <methodparam><type>mixed</type><parameter>data</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> <para> Constructs a new <classname>SoapParam</classname> object. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>data</parameter></term> <listitem> <para> The data to pass or return. You can pass this parameter directly as PHP value, but in this case it will be named as <literal>paramN</literal> and the SOAP Service may not understand it. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> The parameter name. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapParam::SoapParam</function> example</title> <programlisting role="php"> <![CDATA[ <?php $client = new SoapClient(null,array('location' => "http://localhost/soap.php", 'uri' => "http://test-uri/")); $client->SomeFunction(new SoapParam($a, "a"), new SoapParam($b, "b"), new SoapParam($c, "c")); ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[.... ]]> </screen> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::__soapCall</methodname></member> <member><methodname>SoapVar::SoapVar</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/addfunction.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/addfunction.xml +++ phpdoc/en/reference/soap/soapserver/addfunction.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.addfunction" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::addFunction</refname> <refpurpose>Adds one or more functions to handle SOAP requests</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapServer::addFunction</methodname> <methodparam><type>string</type><parameter>functions</parameter></methodparam> </methodsynopsis> <para> Exports one or more functions for remote clients </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>functions</parameter></term> <listitem> <para> To export one function, pass the function name into this parameter as a string. </para> <para> To export several functions, pass an array of function names. </para> <para> To export all the functions, pass a special constant <constant>SOAP_FUNCTIONS_ALL</constant>. </para> <note> <para> <parameter>functions</parameter> must receive all input arguments in the same order as defined in the WSDL file (They should not receive any output parameters as arguments) and return one or more values. To return several values they must return an array with named output parameters. </para> </note> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapServer::addFunction</function> example</title> <programlisting role="php"> <![CDATA[ <?php function echoString($inputString) { return $inputString; } $server->addFunction("echoString"); function echoTwoStrings($inputString1, $inputString2) { return array("outputString1" => $inputString1, "outputString2" => $inputString2); } $server->addFunction(array("echoString", "echoTwoStrings")); $server->addFunction(SOAP_FUNCTIONS_ALL); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapServer::SoapServer</methodname></member> <member><methodname>SoapServer::setClass</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/addsoapheader.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/addsoapheader.xml +++ phpdoc/en/reference/soap/soapserver/addsoapheader.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.addsoapheader" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::addSoapHeader</refname> <refpurpose>Add a SOAP header to the response</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapServer::addSoapHeader</methodname> <methodparam><type>string</type><parameter>object</parameter></methodparam> </methodsynopsis> <para> Adds a SOAP header to be returned with the response to the current request. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>object</parameter></term> <listitem> <para> The header to be returned. </para> </listitem> </varlistentry> </variablelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/fault.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/fault.xml +++ phpdoc/en/reference/soap/soapserver/fault.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.fault" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::fault</refname> <refpurpose>Issue SoapServer fault indicating an error</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapServer::fault</methodname> <methodparam><type>string</type><parameter>code</parameter></methodparam> <methodparam><type>string</type><parameter>string</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>actor</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>details</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> <para> Sends a response to the client of the current request indicating an error. </para> <note> <para> This can only be called when handling a request. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>code</parameter></term> <listitem> <para> The error code to return </para> </listitem> </varlistentry> <varlistentry> <term><parameter>string</parameter></term> <listitem> <para> A brief description of the error </para> </listitem> </varlistentry> <varlistentry> <term><parameter>actor</parameter></term> <listitem> <para> A string identifying the actor that caused the fault. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>details</parameter></term> <listitem> <para> More details of the fault </para> </listitem> </varlistentry> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> The name of the fault. This can be used to select a name from a WSDL file. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapFault::SoapFault</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/getfunctions.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/getfunctions.xml +++ phpdoc/en/reference/soap/soapserver/getfunctions.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.getfunctions" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::getFunctions</refname> <refpurpose>Returns list of defined functions</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>SoapServer::getFunctions</methodname> <void /> </methodsynopsis> <para> Returns a list of the defined functions in the SoapServer object. This method returns the list of all functions added by <methodname>SoapServer::addFunction</methodname> or <methodname>SoapServer::setClass</methodname>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> An <literal>array</literal> of the defined functions. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapServer::getFunctions</function> example</title> <programlisting role="php"> <![CDATA[ <?php $server = new SoapServer(NULL, array("uri" => "http://test-uri")); $server->addFunction(SOAP_FUNCTIONS_ALL); if ($_SERVER["REQUEST_METHOD"] == "POST") { $server->handle(); } else { echo "This SOAP server can handle following functions: "; $functions = $server->getFunctions(); foreach($functions as $func) { echo $func . "\n"; } } ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapServer::SoapServer</methodname></member> <member><methodname>SoapServer::addFunction</methodname></member> <member><methodname>SoapServer::setClass</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/handle.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/handle.xml +++ phpdoc/en/reference/soap/soapserver/handle.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.handle" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::handle</refname> <refpurpose>Handles a SOAP request</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <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. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>soap_request</parameter></term> <listitem> <para> The SOAP request. If this argument is omitted, the request is assumed to be in the raw POST data of the HTTP request. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapServer::handle</function> example</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> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapServer::SoapServer</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/setclass.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/setclass.xml +++ phpdoc/en/reference/soap/soapserver/setclass.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.setclass" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::setClass</refname> <refpurpose>Sets the class which handles SOAP requests</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapServer::setClass</methodname> <methodparam><type>string</type><parameter>class_name</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>args</parameter></methodparam> </methodsynopsis> <para> Exports all methods from specified class. </para> <para> The object can be made persistent across request for a given PHP session with the <methodname>SoapServer::setPersistence</methodname> method. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>class_name</parameter></term> <listitem> <para> The name of the exported class. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>args</parameter></term> <listitem> <para> These optional parameters will be passed to the default class constructor during object creation. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapServer::SoapServer</methodname></member> <member><methodname>SoapServer::addFunction</methodname></member> <member><methodname>SoapServer::setPersistence</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/setobject.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/setobject.xml +++ phpdoc/en/reference/soap/soapserver/setobject.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.setobject" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::setObject</refname> <refpurpose>Sets the object which will be used to handle SOAP requests</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapServer::setObject</methodname> <methodparam><type>string</type><parameter>object</parameter></methodparam> </methodsynopsis> <para> This sets a specific object as the handler for SOAP requests, rather than just a class as in <methodname>SoapServer::setClass</methodname>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>object</parameter></term> <listitem> <para> The object to handle the requests. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapServer::setClass</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/setpersistence.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/setpersistence.xml +++ phpdoc/en/reference/soap/soapserver/setpersistence.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.setpersistence" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::setPersistence</refname> <refpurpose>Sets SoapServer persistence mode</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>void</type><methodname>SoapServer::setPersistence</methodname> <methodparam><type>string</type><parameter>mode</parameter></methodparam> </methodsynopsis> <para> This function allows saving data between requests in a PHP session. It works only with a server that exports functions from a class with <methodname>SoapServer::setClass</methodname> or <methodname>SoapServer::setObject</methodname>. </para> <note> <para> The persistence <constant>SOAP_PERSISTENCE_SESSION</constant> makes persistent only object of given class, but not the class static data. You may use $this->bar instead of self::$bar. </para> </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>mode</parameter></term> <listitem> <para> One of the <literal>SOAP_PERSISTENCE_XXX</literal> constants. </para> <para> <literal>SOAP_PERSISTENCE_REQUEST</literal> - persist the object for the duration of a request. </para> <para> <literal>SOAP_PERSISTENCE_SESSION</literal> - persist the object for the duration of a session. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapServer::setClass</methodname></member> <member><methodname>SoapServer::setObject</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapserver/soapserver.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapserver/soapserver.xml +++ phpdoc/en/reference/soap/soapserver/soapserver.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapserver.soapserver" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapServer::SoapServer</refname> <refpurpose>SoapServer constructor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <methodname>SoapServer::SoapServer</methodname> <methodparam><type>mixed</type><parameter>wsdl</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam> </methodsynopsis> <para> This constructor allows the creation of <classname>SoapServer</classname> objects in WSDL or non-WSDL mode. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>wsdl</parameter></term> <listitem> <para> To use the SoapServer in WSDL mode, pass the URI of a WSDL file. Otherwise, pass &null; and set the <literal>uri</literal> option to the target namespace for the server. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>options</parameter></term> <listitem> <para> Allow setting a default SOAP version (<literal>soap_version</literal>), internal character encoding (<literal>encoding</literal>), and actor URI (<literal>actor</literal>). </para> <para> The <literal>classmap</literal> option can be used to map some WSDL types to PHP classes. This option must be an array with WSDL types as keys and names of PHP classes as values. </para> <para> The <literal>typemap</literal> option is an array of type mappings. Type mapping is an array with keys <literal>type_name</literal>, <literal>type_ns</literal> (namespace URI), <literal>from_xml</literal> (callback accepting one string parameter) and <literal>to_xml</literal> (callback accepting one object parameter). </para> <para> The <literal>cache_wsdl</literal> option is one of <constant>WSDL_CACHE_NONE</constant>, <constant>WSDL_CACHE_DISK</constant>, <constant>WSDL_CACHE_MEMORY</constant> or <constant>WSDL_CACHE_BOTH</constant>. </para> <para> There is also a <literal>features</literal> option. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapServer::SoapServer</function> example</title> <programlisting role="php"> <![CDATA[ <?php $server = new SoapServer("some.wsdl"); $server = new SoapServer("some.wsdl", array('soap_version' => SOAP_1_2)); $server = new SoapServer("some.wsdl", array('actor' => "http://example.org/ts-tests/C")); $server = new SoapServer("some.wsdl", array('encoding'=>'ISO-8859-1')); $server = new SoapServer(null, array('uri' => "http://test-uri/")); class MyBook { public $title; public $author; } $server = new SoapServer("books.wsdl", array('classmap' => array('book' => "MyBook"))); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::SoapClient</methodname></member> </simplelist> </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/viewvc.cgi/phpdoc/en/reference/soap/soapvar/soapvar.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/soap/soapvar/soapvar.xml +++ phpdoc/en/reference/soap/soapvar/soapvar.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="soapvar.soapvar" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>SoapVar::SoapVar</refname> <refpurpose>SoapVar constructor</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <methodname>SoapVar::SoapVar</methodname> <methodparam><type>string</type><parameter>data</parameter></methodparam> <methodparam><type>string</type><parameter>encoding</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>type_name</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>type_namespace</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>node_name</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>node_namespace</parameter></methodparam> </methodsynopsis> <para> Constructs a new <classname>SoapVar</classname> object. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>data</parameter></term> <listitem> <para> The data to pass or return. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>encoding</parameter></term> <listitem> <para> The encoding ID, one of the <literal>XSD_...</literal> constants. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>type_name</parameter></term> <listitem> <para> The type name. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>type_namespace</parameter></term> <listitem> <para> The type namespace. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>node_name</parameter></term> <listitem> <para> The XML node name. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>node_namespace</parameter></term> <listitem> <para> The XML node namespace. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SoapVar::SoapVar</function> example</title> <programlisting role="php"> <![CDATA[ <?php class SOAPStruct { function SOAPStruct($s, $i, $f) { $this->varString = $s; $this->varInt = $i; $this->varFloat = $f; } } $client = new SoapClient(null, array('location' => "http://localhost/soap.php", 'uri' => "http://test-uri/")); $struct = new SOAPStruct('arg', 34, 325.325); $soapstruct = new SoapVar($struct, SOAP_ENC_OBJECT, "SOAPStruct", "http://soapinterop.org/xsd"); $client->echoStruct(new SoapParam($soapstruct, "inputStruct")); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><methodname>SoapClient::__soapCall</methodname></member> <member><methodname>SoapParam::SoapParam</methodname></member> </simplelist> </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 -->