Lines Matching refs:SOAP_GLOBAL

73 	bool _old_handler = SOAP_GLOBAL(use_soap_error_handler);\
74 char* _old_error_code = SOAP_GLOBAL(error_code);\
75 zend_object* _old_error_object = Z_OBJ(SOAP_GLOBAL(error_object));\
76 int _old_soap_version = SOAP_GLOBAL(soap_version);\
77 SOAP_GLOBAL(use_soap_error_handler) = 1;\
78 SOAP_GLOBAL(error_code) = "Server";\
79 Z_OBJ(SOAP_GLOBAL(error_object)) = Z_OBJ_P(ZEND_THIS);
82 SOAP_GLOBAL(use_soap_error_handler) = _old_handler;\
83 SOAP_GLOBAL(error_code) = _old_error_code;\
84 Z_OBJ(SOAP_GLOBAL(error_object)) = _old_error_object;\
85 SOAP_GLOBAL(soap_version) = _old_soap_version;
88 bool _old_handler = SOAP_GLOBAL(use_soap_error_handler);\
89 char* _old_error_code = SOAP_GLOBAL(error_code);\
90 zend_object* _old_error_object = Z_OBJ(SOAP_GLOBAL(error_object));\
91 int _old_soap_version = SOAP_GLOBAL(soap_version);\
96 SOAP_GLOBAL(use_soap_error_handler) = 1;\
97 SOAP_GLOBAL(error_code) = "Client";\
98 Z_OBJ(SOAP_GLOBAL(error_object)) = Z_OBJ_P(ZEND_THIS);\
121 SOAP_GLOBAL(use_soap_error_handler) = _old_handler;\
122 SOAP_GLOBAL(error_code) = _old_error_code;\
123 Z_OBJ(SOAP_GLOBAL(error_object)) = _old_error_object;\
124 SOAP_GLOBAL(soap_version) = _old_soap_version;\
464 zend_hash_destroy(&SOAP_GLOBAL(defEnc)); in PHP_MSHUTDOWN_FUNCTION()
465 zend_hash_destroy(&SOAP_GLOBAL(defEncIndex)); in PHP_MSHUTDOWN_FUNCTION()
466 zend_hash_destroy(&SOAP_GLOBAL(defEncNs)); in PHP_MSHUTDOWN_FUNCTION()
467 if (SOAP_GLOBAL(mem_cache)) { in PHP_MSHUTDOWN_FUNCTION()
468 zend_hash_destroy(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
469 free(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
477 SOAP_GLOBAL(typemap) = NULL; in PHP_RINIT_FUNCTION()
478 SOAP_GLOBAL(use_soap_error_handler) = 0; in PHP_RINIT_FUNCTION()
479 SOAP_GLOBAL(error_code) = NULL; in PHP_RINIT_FUNCTION()
480 ZVAL_OBJ(&SOAP_GLOBAL(error_object), NULL); in PHP_RINIT_FUNCTION()
481 SOAP_GLOBAL(sdl) = NULL; in PHP_RINIT_FUNCTION()
482 SOAP_GLOBAL(soap_version) = SOAP_1_1; in PHP_RINIT_FUNCTION()
483 SOAP_GLOBAL(encoding) = NULL; in PHP_RINIT_FUNCTION()
484 SOAP_GLOBAL(class_map) = NULL; in PHP_RINIT_FUNCTION()
485 SOAP_GLOBAL(features) = 0; in PHP_RINIT_FUNCTION()
486 SOAP_GLOBAL(ref_map) = NULL; in PHP_RINIT_FUNCTION()
768 if (zend_hash_index_exists(&SOAP_GLOBAL(defEncIndex), type)) { in PHP_METHOD()
917 cache_wsdl = SOAP_GLOBAL(cache_enabled) ? SOAP_GLOBAL(cache_mode) : 0; in PHP_METHOD()
1289 SOAP_GLOBAL(soap_version) = service->version; in PHP_METHOD()
1408 SOAP_GLOBAL(soap_version) = SOAP_1_1; in PHP_METHOD()
1410 SOAP_GLOBAL(soap_version) = SOAP_1_2; in PHP_METHOD()
1417 old_sdl = SOAP_GLOBAL(sdl); in PHP_METHOD()
1418 SOAP_GLOBAL(sdl) = service->sdl; in PHP_METHOD()
1419 old_encoding = SOAP_GLOBAL(encoding); in PHP_METHOD()
1420 SOAP_GLOBAL(encoding) = service->encoding; in PHP_METHOD()
1421 old_class_map = SOAP_GLOBAL(class_map); in PHP_METHOD()
1422 SOAP_GLOBAL(class_map) = service->class_map; in PHP_METHOD()
1423 old_typemap = SOAP_GLOBAL(typemap); in PHP_METHOD()
1424 SOAP_GLOBAL(typemap) = service->typemap; in PHP_METHOD()
1425 old_features = SOAP_GLOBAL(features); in PHP_METHOD()
1426 SOAP_GLOBAL(features) = service->features; in PHP_METHOD()
1427 old_soap_version = SOAP_GLOBAL(soap_version); in PHP_METHOD()
1672 SOAP_GLOBAL(soap_version) = old_soap_version; in PHP_METHOD()
1673 SOAP_GLOBAL(encoding) = old_encoding; in PHP_METHOD()
1674 SOAP_GLOBAL(sdl) = old_sdl; in PHP_METHOD()
1675 SOAP_GLOBAL(class_map) = old_class_map; in PHP_METHOD()
1676 SOAP_GLOBAL(typemap) = old_typemap; in PHP_METHOD()
1677 SOAP_GLOBAL(features) = old_features; in PHP_METHOD()
1734 old_encoding = SOAP_GLOBAL(encoding); in PHP_METHOD()
1735 SOAP_GLOBAL(encoding) = service->encoding; in PHP_METHOD()
1739 SOAP_GLOBAL(encoding) = old_encoding; in PHP_METHOD()
1793 soap_version = SOAP_GLOBAL(soap_version); in soap_server_fault_ex()
1857 if (Z_OBJ(SOAP_GLOBAL(error_object)) && in soap_real_error_handler()
1858 instanceof_function(Z_OBJCE(SOAP_GLOBAL(error_object)), soap_class_entry)) { in soap_real_error_handler()
1860 Z_TYPE_P(Z_CLIENT_EXCEPTIONS_P(&SOAP_GLOBAL(error_object))) != IS_FALSE; in soap_real_error_handler()
1863 char *code = SOAP_GLOBAL(error_code); in soap_real_error_handler()
1868 add_soap_fault_ex(&fault, &SOAP_GLOBAL(error_object), code, ZSTR_VAL(message), NULL, NULL); in soap_real_error_handler()
1873 !SOAP_GLOBAL(error_code) || in soap_real_error_handler()
1874 strcmp(SOAP_GLOBAL(error_code),"WSDL") != 0) { in soap_real_error_handler()
1884 char *code = SOAP_GLOBAL(error_code); in soap_real_error_handler()
1885 zval *error_object = &SOAP_GLOBAL(error_object); in soap_real_error_handler()
1941 if (EXPECTED(!SOAP_GLOBAL(use_soap_error_handler))) { in soap_error_handler()
1954 ZVAL_BOOL(return_value, SOAP_GLOBAL(use_soap_error_handler)); in PHP_FUNCTION()
1956 SOAP_GLOBAL(use_soap_error_handler) = handler; in PHP_FUNCTION()
1996 cache_wsdl = SOAP_GLOBAL(cache_enabled) ? SOAP_GLOBAL(cache_mode) : 0; in PHP_METHOD()
2183 old_soap_version = SOAP_GLOBAL(soap_version); in PHP_METHOD()
2184 SOAP_GLOBAL(soap_version) = soap_version; in PHP_METHOD()
2197 SOAP_GLOBAL(soap_version) = old_soap_version; in PHP_METHOD()
2340 SOAP_GLOBAL(soap_version) = soap_version; in do_soap_call()
2341 old_sdl = SOAP_GLOBAL(sdl); in do_soap_call()
2342 SOAP_GLOBAL(sdl) = sdl; in do_soap_call()
2343 old_encoding = SOAP_GLOBAL(encoding); in do_soap_call()
2346 SOAP_GLOBAL(encoding) = xmlFindCharEncodingHandler(Z_STRVAL_P(tmp)); in do_soap_call()
2348 SOAP_GLOBAL(encoding) = NULL; in do_soap_call()
2350 old_class_map = SOAP_GLOBAL(class_map); in do_soap_call()
2353 SOAP_GLOBAL(class_map) = Z_ARRVAL_P(tmp); in do_soap_call()
2355 SOAP_GLOBAL(class_map) = NULL; in do_soap_call()
2357 old_typemap = SOAP_GLOBAL(typemap); in do_soap_call()
2358 SOAP_GLOBAL(typemap) = typemap; in do_soap_call()
2359 old_features = SOAP_GLOBAL(features); in do_soap_call()
2362 SOAP_GLOBAL(features) = Z_LVAL_P(tmp); in do_soap_call()
2364 SOAP_GLOBAL(features) = 0; in do_soap_call()
2479 if (SOAP_GLOBAL(encoding) != NULL) { in do_soap_call()
2480 xmlCharEncCloseFunc(SOAP_GLOBAL(encoding)); in do_soap_call()
2483 SOAP_GLOBAL(features) = old_features; in do_soap_call()
2484 SOAP_GLOBAL(typemap) = old_typemap; in do_soap_call()
2485 SOAP_GLOBAL(class_map) = old_class_map; in do_soap_call()
2486 SOAP_GLOBAL(encoding) = old_encoding; in do_soap_call()
2487 SOAP_GLOBAL(sdl) = old_sdl; in do_soap_call()
2788 if (SOAP_GLOBAL(features) & SOAP_WAIT_ONE_WAY_CALLS) { in PHP_METHOD()
2940 int soap_version = SOAP_GLOBAL(soap_version); in set_soap_fault()
3142 SOAP_GLOBAL(soap_version) = SOAP_1_1; in get_envelope()
3149 SOAP_GLOBAL(soap_version) = SOAP_1_2; in get_envelope()