Lines Matching refs:SOAP_GLOBAL

75 	zend_bool _old_handler = SOAP_GLOBAL(use_soap_error_handler);\
76 char* _old_error_code = SOAP_GLOBAL(error_code);\
77 zend_object* _old_error_object = Z_OBJ(SOAP_GLOBAL(error_object));\
78 int _old_soap_version = SOAP_GLOBAL(soap_version);\
79 SOAP_GLOBAL(use_soap_error_handler) = 1;\
80 SOAP_GLOBAL(error_code) = "Server";\
81 Z_OBJ(SOAP_GLOBAL(error_object)) = Z_OBJ(EX(This));
84 SOAP_GLOBAL(use_soap_error_handler) = _old_handler;\
85 SOAP_GLOBAL(error_code) = _old_error_code;\
86 Z_OBJ(SOAP_GLOBAL(error_object)) = _old_error_object;\
87 SOAP_GLOBAL(soap_version) = _old_soap_version;
90 zend_bool _old_handler = SOAP_GLOBAL(use_soap_error_handler);\
91 char* _old_error_code = SOAP_GLOBAL(error_code);\
92 zend_object* _old_error_object = Z_OBJ(SOAP_GLOBAL(error_object));\
93 int _old_soap_version = SOAP_GLOBAL(soap_version);\
98 SOAP_GLOBAL(use_soap_error_handler) = 1;\
99 SOAP_GLOBAL(error_code) = "Client";\
100 Z_OBJ(SOAP_GLOBAL(error_object)) = Z_OBJ(EX(This));\
123 SOAP_GLOBAL(use_soap_error_handler) = _old_handler;\
124 SOAP_GLOBAL(error_code) = _old_error_code;\
125 Z_OBJ(SOAP_GLOBAL(error_object)) = _old_error_object;\
126 SOAP_GLOBAL(soap_version) = _old_soap_version;\
587 zend_hash_destroy(&SOAP_GLOBAL(defEnc)); in PHP_MSHUTDOWN_FUNCTION()
588 zend_hash_destroy(&SOAP_GLOBAL(defEncIndex)); in PHP_MSHUTDOWN_FUNCTION()
589 zend_hash_destroy(&SOAP_GLOBAL(defEncNs)); in PHP_MSHUTDOWN_FUNCTION()
590 if (SOAP_GLOBAL(mem_cache)) { in PHP_MSHUTDOWN_FUNCTION()
591 zend_hash_destroy(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
592 free(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
603 SOAP_GLOBAL(typemap) = NULL; in PHP_RINIT_FUNCTION()
604 SOAP_GLOBAL(use_soap_error_handler) = 0; in PHP_RINIT_FUNCTION()
605 SOAP_GLOBAL(error_code) = NULL; in PHP_RINIT_FUNCTION()
606 ZVAL_OBJ(&SOAP_GLOBAL(error_object), NULL); in PHP_RINIT_FUNCTION()
607 SOAP_GLOBAL(sdl) = NULL; in PHP_RINIT_FUNCTION()
608 SOAP_GLOBAL(soap_version) = SOAP_1_1; in PHP_RINIT_FUNCTION()
609 SOAP_GLOBAL(encoding) = NULL; in PHP_RINIT_FUNCTION()
610 SOAP_GLOBAL(class_map) = NULL; in PHP_RINIT_FUNCTION()
611 SOAP_GLOBAL(features) = 0; in PHP_RINIT_FUNCTION()
612 SOAP_GLOBAL(ref_map) = NULL; in PHP_RINIT_FUNCTION()
993 if (zend_hash_index_exists(&SOAP_GLOBAL(defEncIndex), Z_LVAL_P(type))) { in PHP_METHOD()
1149 cache_wsdl = SOAP_GLOBAL(cache_enabled) ? SOAP_GLOBAL(cache_mode) : 0; in PHP_METHOD()
1529 SOAP_GLOBAL(soap_version) = service->version;
1649 SOAP_GLOBAL(soap_version) = SOAP_1_1;
1651 SOAP_GLOBAL(soap_version) = SOAP_1_2;
1658 old_sdl = SOAP_GLOBAL(sdl);
1659 SOAP_GLOBAL(sdl) = service->sdl;
1660 old_encoding = SOAP_GLOBAL(encoding);
1661 SOAP_GLOBAL(encoding) = service->encoding;
1662 old_class_map = SOAP_GLOBAL(class_map);
1663 SOAP_GLOBAL(class_map) = service->class_map;
1664 old_typemap = SOAP_GLOBAL(typemap);
1665 SOAP_GLOBAL(typemap) = service->typemap;
1666 old_features = SOAP_GLOBAL(features);
1667 SOAP_GLOBAL(features) = service->features;
1668 old_soap_version = SOAP_GLOBAL(soap_version);
1955 SOAP_GLOBAL(soap_version) = old_soap_version;
1956 SOAP_GLOBAL(encoding) = old_encoding;
1957 SOAP_GLOBAL(sdl) = old_sdl;
1958 SOAP_GLOBAL(class_map) = old_class_map;
1959 SOAP_GLOBAL(typemap) = old_typemap;
1960 SOAP_GLOBAL(features) = old_features;
2008 old_encoding = SOAP_GLOBAL(encoding);
2009 SOAP_GLOBAL(encoding) = service->encoding;
2019 SOAP_GLOBAL(encoding) = old_encoding;
2066 soap_version = SOAP_GLOBAL(soap_version);
2128 …if (!PG(modules_activated) || !SOAP_GLOBAL(use_soap_error_handler) || !EG(objects_store).object_bu…
2133 if (Z_OBJ(SOAP_GLOBAL(error_object)) &&
2134 instanceof_function(Z_OBJCE(SOAP_GLOBAL(error_object)), soap_class_entry)) {
2138 …if ((tmp = zend_hash_str_find(Z_OBJPROP(SOAP_GLOBAL(error_object)), "_exceptions", sizeof("_except…
2150 char* code = SOAP_GLOBAL(error_code);
2167 add_soap_fault_ex(&fault, &SOAP_GLOBAL(error_object), code, buffer, NULL, NULL);
2172 !SOAP_GLOBAL(error_code) ||
2173 strcmp(SOAP_GLOBAL(error_code),"WSDL") != 0) {
2189 char* code = SOAP_GLOBAL(error_code);
2199 if (Z_OBJ(SOAP_GLOBAL(error_object)) &&
2200 instanceof_function(Z_OBJCE(SOAP_GLOBAL(error_object)), soap_server_class_entry) &&
2201 …(tmp = zend_hash_str_find(Z_OBJPROP(SOAP_GLOBAL(error_object)), "service", sizeof("service")-1)) !…
2256 ZVAL_BOOL(return_value, SOAP_GLOBAL(use_soap_error_handler));
2258 SOAP_GLOBAL(use_soap_error_handler) = handler;
2299 cache_wsdl = SOAP_GLOBAL(cache_enabled) ? SOAP_GLOBAL(cache_mode) : 0;
2484 old_soap_version = SOAP_GLOBAL(soap_version);
2485 SOAP_GLOBAL(soap_version) = soap_version;
2492 SOAP_GLOBAL(soap_version) = old_soap_version;
2649 SOAP_GLOBAL(soap_version) = soap_version;
2650 old_sdl = SOAP_GLOBAL(sdl);
2651 SOAP_GLOBAL(sdl) = sdl;
2652 old_encoding = SOAP_GLOBAL(encoding);
2655 SOAP_GLOBAL(encoding) = xmlFindCharEncodingHandler(Z_STRVAL_P(tmp));
2657 SOAP_GLOBAL(encoding) = NULL;
2659 old_class_map = SOAP_GLOBAL(class_map);
2662 SOAP_GLOBAL(class_map) = Z_ARRVAL_P(tmp);
2664 SOAP_GLOBAL(class_map) = NULL;
2666 old_typemap = SOAP_GLOBAL(typemap);
2667 SOAP_GLOBAL(typemap) = typemap;
2668 old_features = SOAP_GLOBAL(features);
2671 SOAP_GLOBAL(features) = Z_LVAL_P(tmp);
2673 SOAP_GLOBAL(features) = 0;
2787 if (SOAP_GLOBAL(encoding) != NULL) {
2788 xmlCharEncCloseFunc(SOAP_GLOBAL(encoding));
2791 SOAP_GLOBAL(features) = old_features;
2792 SOAP_GLOBAL(typemap) = old_typemap;
2793 SOAP_GLOBAL(class_map) = old_class_map;
2794 SOAP_GLOBAL(encoding) = old_encoding;
2795 SOAP_GLOBAL(sdl) = old_sdl;
3078 if (SOAP_GLOBAL(features) & SOAP_WAIT_ONE_WAY_CALLS) {
3254 int soap_version = SOAP_GLOBAL(soap_version);
3431 SOAP_GLOBAL(soap_version) = SOAP_1_1;
3436 SOAP_GLOBAL(soap_version) = SOAP_1_2;