定義済み定数

以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。

SOAP 定数
定数 説明
SOAP_1_1 (int) 1 soap_version オプションを SoapServer::__construct()SoapClient::__construct() に渡す際、SOAP 1.1 を使うように指定します。
SOAP_1_2 (int) 2 soap_version オプションを SoapServer::__construct()SoapClient::__construct() に渡す際、SOAP 1.2 を使うように指定します。
SOAP_PERSISTENCE_SESSION (int) 1  
SOAP_PERSISTENCE_REQUEST (int) 2  
SOAP_FUNCTIONS_ALL (int) 999  
SOAP_ENCODED (int) 1 use オプションを SoapClient::__construct() に渡す際、SOAP エンコーディングを使うように指定します。
SOAP_LITERAL (int) 2 use オプションを SoapClient::__construct() に渡す際、サービス特有のエンコーディングを使うように指定します。
SOAP_RPC (int) 1 style オプションを SoapClient::__construct() に渡す際、RPC スタイルのバインディングを使うように指定します。
SOAP_DOCUMENT (int) 2 style オプションを SoapClient::__construct() に渡す際、ドキュメントのバインディングを使うよに指定します。
SOAP_ACTOR_NEXT (int) 1  
SOAP_ACTOR_NONE (int) 2  
SOAP_ACTOR_UNLIMATERECEIVER (int) 3  
SOAP_COMPRESSION_ACCEPT (int) 32 compression オプション の一部を SoapClient::__construct() に渡す際、"Accept-Encoding" を使うことを指定します。
SOAP_COMPRESSION_GZIP (int) 0 compression オプション の一部を SoapClient::__construct() に渡す際、gzip 圧縮 を使うことを指定します。
SOAP_COMPRESSION_DEFLATE (int) 16 compression オプション の一部を SoapClient::__construct() に渡す際、deflate 圧縮 を使うことを指定します。
SOAP_AUTHENTICATION_BASIC (int) 0 authentication オプションを SoapClient::__construct() に渡す際、Basic 認証を使うことを指定します。
SOAP_AUTHENTICATION_DIGEST (int) 1 authentication オプションを SoapClient::__construct() に渡す際、Digest 認証を使うことを指定します。
SOAP_SSL_METHOD_TLS (int) 0 推奨されていない ssl_methodオプション と一緒に、 SoapClient::__construct() で使います。
SOAP_SSL_METHOD_SSLv2 (int) 1 推奨されていない ssl_methodオプション と一緒に、 SoapClient::__construct() で使います。
SOAP_SSL_METHOD_SSLv3 (int) 2 推奨されていない ssl_methodオプション と一緒に、 SoapClient::__construct() で使います。
SOAP_SSL_METHOD_SSLv23 (int) 3 推奨されていない ssl_methodオプション と一緒に、 SoapClient::__construct() で使います。
UNKNOWN_TYPE (int) 999998  
XSD_STRING (int) 101  
XSD_BOOLEAN (int) 102  
XSD_DECIMAL (int) 103  
XSD_FLOAT (int) 104  
XSD_DOUBLE (int) 105  
XSD_DURATION (int) 106  
XSD_DATETIME (int) 107  
XSD_TIME (int) 108  
XSD_DATE (int) 109  
XSD_GYEARMONTH (int) 110  
XSD_GYEAR (int) 111  
XSD_GMONTHDAY (int) 112  
XSD_GDAY (int) 113  
XSD_GMONTH (int) 114  
XSD_HEXBINARY (int) 115  
XSD_BASE64BINARY (int) 116  
XSD_ANYURI (int) 117  
XSD_QNAME (int) 118  
XSD_NOTATION (int) 119  
XSD_NORMALIZEDSTRING (int) 120  
XSD_TOKEN (int) 121  
XSD_LANGUAGE (int) 122  
XSD_NMTOKEN (int) 123  
XSD_NAME (int) 124  
XSD_NCNAME (int) 125  
XSD_ID (int) 126  
XSD_IDREF (int) 127  
XSD_IDREFS (int) 128  
XSD_ENTITY (int) 129  
XSD_ENTITIES (int) 130  
XSD_INTEGER (int) 131  
XSD_NONPOSITIVEINTEGER (int) 132  
XSD_NEGATIVEINTEGER (int) 133  
XSD_LONG (int) 134  
XSD_INT (int) 135  
XSD_SHORT (int) 136  
XSD_BYTE (int) 137  
XSD_NONNEGATIVEINTEGER (int) 138  
XSD_UNSIGNEDLONG (int) 139  
XSD_UNSIGNEDINT (int) 140  
XSD_UNSIGNEDSHORT (int) 141  
XSD_UNSIGNEDBYTE (int) 142  
XSD_POSITIVEINTEGER (int) 143  
XSD_NMTOKENS (int) 144  
XSD_ANYTYPE (int) 145  
XSD_ANYXML (int) 147  
APACHE_MAP (int) 200  
SOAP_ENC_OBJECT (int) 301  
SOAP_ENC_ARRAY (int) 300  
XSD_1999_TIMEINSTANT (int) 401  
XSD_NAMESPACE (string) http://www.w3.org/2001/XMLSchema  
XSD_1999_NAMESPACE (string) http://www.w3.org/1999/XMLSchema  
SOAP_SINGLE_ELEMENT_ARRAYS (int) 1 features オプション と一緒に、 SoapClient::__construct() で使います。
SOAP_WAIT_ONE_WAY_CALLS (int) 2 features オプション と一緒に、 SoapClient::__construct() で使います。
SOAP_USE_XSI_ARRAY_TYPE (int) 4 features オプション と一緒に、 SoapClient::__construct() で使います。
WSDL_CACHE_NONE (int) 0 SoapClient::__construct()SoapServer::__construct() に渡す soap.wsdl_cachewsdl_cache オプションで使う WDSL キャッシュを無効にします。
WSDL_CACHE_DISK (int) 1 SoapClient::__construct()SoapServer::__construct() に渡す soap.wsdl_cachewsdl_cache オプションで ディスク上の WDSL キャッシュだけを使うことを指定します。
WSDL_CACHE_MEMORY (int) 2 SoapClient::__construct()SoapServer::__construct() に渡す soap.wsdl_cachewsdl_cache オプションで オンメモリの WDSL キャッシュだけを使うことを指定します。
WSDL_CACHE_BOTH (int) 3 SoapClient::__construct()SoapServer::__construct() に渡す soap.wsdl_cachewsdl_cache オプションで オンメモリとディスク上の WDSL キャッシュを両方使うように指定します。
add a note

User Contributed Notes 1 note

up
-22
User
13 years ago
We are casting the values (float) to simulate the 64-bits long. seem to work fine, of course, the values we are using have no decimal point.
To Top