24#if defined(HAVE_PHP_SESSION) && !defined(COMPILE_DL_SESSION)
30#include <libxml/parser.h>
31#include <libxml/xpath.h>
33#define PHP_SOAP_VERSION PHP_VERSION
38# define stricmp strcasecmp
107#define SOAP_FUNCTIONS 2
109#define SOAP_FUNCTIONS_ALL 999
111#define SOAP_MAP_FUNCTION 1
112#define SOAP_MAP_CLASS 2
114#define SOAP_PERSISTENCE_SESSION 1
115#define SOAP_PERSISTENCE_REQUEST 2
120#define SOAP_ACTOR_NEXT 1
121#define SOAP_ACTOR_NONE 2
122#define SOAP_ACTOR_UNLIMATERECEIVER 3
124#define SOAP_1_1_ACTOR_NEXT "http://schemas.xmlsoap.org/soap/actor/next"
126#define SOAP_1_2_ACTOR_NEXT "http://www.w3.org/2003/05/soap-envelope/role/next"
127#define SOAP_1_2_ACTOR_NONE "http://www.w3.org/2003/05/soap-envelope/role/none"
128#define SOAP_1_2_ACTOR_UNLIMATERECEIVER "http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
130#define SOAP_COMPRESSION_ACCEPT 0x20
131#define SOAP_COMPRESSION_GZIP 0x00
132#define SOAP_COMPRESSION_DEFLATE 0x10
134#define SOAP_AUTHENTICATION_BASIC 0
135#define SOAP_AUTHENTICATION_DIGEST 1
137#define SOAP_SINGLE_ELEMENT_ARRAYS (1<<0)
138#define SOAP_WAIT_ONE_WAY_CALLS (1<<1)
139#define SOAP_USE_XSI_ARRAY_TYPE (1<<2)
141#define WSDL_CACHE_NONE 0x0
142#define WSDL_CACHE_DISK 0x1
143#define WSDL_CACHE_MEMORY 0x2
144#define WSDL_CACHE_BOTH 0x3
147#define SOAP_SSL_METHOD_TLS 0
148#define SOAP_SSL_METHOD_SSLv2 1
149#define SOAP_SSL_METHOD_SSLv3 2
150#define SOAP_SSL_METHOD_SSLv23 3
183#define soap_module_ptr &soap_module_entry
184#define phpext_soap_ptr soap_module_ptr
187#define SOAP_GLOBAL(v) ZEND_MODULE_GLOBALS_ACCESSOR(soap, v)
189#if defined(ZTS) && defined(COMPILE_DL_SOAP)
198void add_soap_fault(
zval *obj,
char *fault_code,
char *fault_string,
char *fault_actor,
zval *fault_detail);
200#define soap_error0(severity, format) \
201 php_error(severity, "SOAP-ERROR: " format)
203#define soap_error1(severity, format, param1) \
204 php_error(severity, "SOAP-ERROR: " format, param1)
206#define soap_error2(severity, format, param1, param2) \
207 php_error(severity, "SOAP-ERROR: " format, param1, param2)
209#define soap_error3(severity, format, param1, param2, param3) \
210 php_error(severity, "SOAP-ERROR: " format, param1, param2, param3)
219#define Z_CLIENT_URI_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 0))
220#define Z_CLIENT_STYLE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 1))
221#define Z_CLIENT_USE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 2))
222#define Z_CLIENT_LOCATION_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 3))
223#define Z_CLIENT_TRACE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 4))
224#define Z_CLIENT_COMPRESSION_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 5))
225#define Z_CLIENT_SDL_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 6))
226#define Z_CLIENT_TYPEMAP_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 7))
227#define Z_CLIENT_HTTPSOCKET_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 8))
228#define Z_CLIENT_HTTPURL_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 9))
229#define Z_CLIENT_LOGIN_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 10))
230#define Z_CLIENT_PASSWORD_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 11))
231#define Z_CLIENT_USE_DIGEST_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 12))
232#define Z_CLIENT_DIGEST_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 13))
233#define Z_CLIENT_PROXY_HOST_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 14))
234#define Z_CLIENT_PROXY_PORT_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 15))
235#define Z_CLIENT_PROXY_LOGIN_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 16))
236#define Z_CLIENT_PROXY_PASSWORD_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 17))
237#define Z_CLIENT_EXCEPTIONS_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 18))
238#define Z_CLIENT_ENCODING_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 19))
239#define Z_CLIENT_CLASSMAP_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 20))
240#define Z_CLIENT_FEATURES_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 21))
241#define Z_CLIENT_CONNECTION_TIMEOUT_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 22))
242#define Z_CLIENT_STREAM_CONTEXT_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 23))
243#define Z_CLIENT_USER_AGENT_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 24))
244#define Z_CLIENT_KEEP_ALIVE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 25))
245#define Z_CLIENT_SSL_METHOD_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 26))
246#define Z_CLIENT_SOAP_VERSION_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 27))
247#define Z_CLIENT_USE_PROXY_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 28))
248#define Z_CLIENT_COOKIES_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 29))
249#define Z_CLIENT_DEFAULT_HEADERS_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 30))
250#define Z_CLIENT_SOAP_FAULT_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 31))
251#define Z_CLIENT_LAST_REQUEST_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 32))
252#define Z_CLIENT_LAST_RESPONSE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 33))
253#define Z_CLIENT_LAST_REQUEST_HEADERS_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 34))
254#define Z_CLIENT_LAST_RESPONSE_HEADERS_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 35))
266#define Z_SOAP_URL_P(zv) soap_url_object_fetch(Z_OBJ_P(zv))
php_json_error_code error_code
zend_class_entry * soap_sdl_class_entry
struct _sdlFunction sdlFunction
struct _sdlSoapBinding sdlSoapBinding
zend_module_entry soap_module_entry
struct _sdlRestrictionChar * sdlRestrictionCharPtr
zend_class_entry * soap_url_class_entry
struct _encode * encodePtr
struct _sdlRestrictionChar sdlRestrictionChar
struct _encodeType * encodeTypePtr
struct _soapMapping soapMapping
struct _encodeType encodeType
struct _soapService * soapServicePtr
zend_class_entry * soap_var_class_entry
struct _sdlBinding sdlBinding
void add_soap_fault(zval *obj, char *fault_code, char *fault_string, char *fault_actor, zval *fault_detail)
struct _sdlRestrictions sdlRestrictions
struct _sdlFunction * sdlFunctionPtr
struct _sdlSoapBindingFunctionBody sdlSoapBindingFunctionBody
struct _sdlRestrictionInt * sdlRestrictionIntPtr
xmlCharEncodingHandlerPtr encoding
struct _sdlRestrictionInt sdlRestrictionInt
zend_class_entry * soap_class_entry
struct _sdlBinding * sdlBindingPtr
struct _sdlSoapBindingFunction sdlSoapBindingFunction
struct _sdlSoapBindingFunction * sdlSoapBindingFunctionPtr
struct _sdlType * sdlTypePtr
struct _soapMapping * soapMappingPtr
struct _soapService soapService
struct _sdlAttribute sdlAttribute
struct _sdlRestrictions * sdlRestrictionsPtr
bool use_soap_error_handler
struct _sdlAttribute * sdlAttributePtr
struct _sdlParam sdlParam
struct _sdlParam * sdlParamPtr
struct _sdlSoapBinding * sdlSoapBindingPtr
struct _sdlSoapBindingFunctionBody * sdlSoapBindingFunctionBodyPtr
struct _soapService::_soap_functions soap_functions
struct _soapHeader ** soap_headers_ptr
xmlCharEncodingHandlerPtr encoding
zend_string * last_response_body
struct _soapService::_soap_class soap_class
#define ZEND_TSRMLS_CACHE_EXTERN()
#define ZEND_END_MODULE_GLOBALS(module_name)
#define ZEND_EXTERN_MODULE_GLOBALS(module_name)
#define ZEND_BEGIN_MODULE_GLOBALS(module_name)
struct _zend_string zend_string
struct _zend_module_entry zend_module_entry
#define zend_always_inline
#define XtOffsetOf(s_type, field)
#define UNEXPECTED(condition)
struct _zend_class_entry zend_class_entry
struct _zend_object zend_object
#define Z_REFVAL_P(zval_p)
struct _zend_array HashTable