summaryrefslogtreecommitdiff
path: root/ext/soap/php_soap.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2007-03-20 09:52:14 +0000
committerDmitry Stogov <dmitry@php.net>2007-03-20 09:52:14 +0000
commit3ee54ce92464994cb39f45924a75bc5f31992f49 (patch)
treeae56c8081edefe6db24e92201d168dc1046578ef /ext/soap/php_soap.h
parentef06bfa3ec23b456dc57e47c6542988c44d8e958 (diff)
downloadphp-git-3ee54ce92464994cb39f45924a75bc5f31992f49.tar.gz
Added ability to encode arrays with "SOAP-ENC:Array" type instead of WSDL type. To activate the ability use "feature"=>SOAP_USE_XSI_ARRAY_TYPE option in SoapClient/SoapServer constructors.
Diffstat (limited to 'ext/soap/php_soap.h')
-rw-r--r--ext/soap/php_soap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/soap/php_soap.h b/ext/soap/php_soap.h
index e604e37541..b2da6ff35d 100644
--- a/ext/soap/php_soap.h
+++ b/ext/soap/php_soap.h
@@ -140,7 +140,8 @@ struct _soapService {
#define SOAP_AUTHENTICATION_DIGEST 1
#define SOAP_SINGLE_ELEMENT_ARRAYS (1<<0)
-#define SOAP_WAIT_ONE_WAY_CALLS (2<<0)
+#define SOAP_WAIT_ONE_WAY_CALLS (1<<1)
+#define SOAP_USE_XSI_ARRAY_TYPE (1<<2)
#define WSDL_CACHE_NONE 0x0
#define WSDL_CACHE_DISK 0x1