Lines Matching refs:sdl
58 static sdlFunctionPtr get_function(sdlPtr sdl, const char *function_name, size_t function_name_length);
59 static sdlFunctionPtr get_doc_function(sdlPtr sdl, xmlNodePtr params);
61 static sdlFunctionPtr deserialize_function_call(sdlPtr sdl, xmlDocPtr request, const char* actor, const char *soap_action, zval *function_name, uint32_t *num_params, zval **parameters, int *version, soapHeader **headers);
133 ss = Z_SOAP_SDL_P(__tmp)->sdl; \
278 if (sdl_obj->sdl) {
279 delete_sdl(sdl_obj->sdl);
280 sdl_obj->sdl = NULL;
448 soap_globals->sdl = NULL;
481 SOAP_GLOBAL(sdl) = NULL;
795 static HashTable* soap_create_typemap(sdlPtr sdl, HashTable *ht) /* {{{ */
841 enc = get_encoder(sdl, type_ns, type_name);
843 enc = get_encoder_ex(sdl, type_name, strlen(type_name));
1005 service->sdl = get_sdl(ZEND_THIS, ZSTR_VAL(wsdl), cache_wsdl);
1007 if (service->sdl->target_ns) {
1008 service->uri = estrdup(service->sdl->target_ns);
1017 service->typemap = soap_create_typemap(service->sdl, typemap_ht);
1302 if (service->sdl) {
1304 char *hdr = emalloc(sizeof("Location: ")+strlen(service->sdl->source));
1306 strcat(hdr,service->sdl->source);
1307 sapi_add_header(hdr, sizeof("Location: ")+strlen(service->sdl->source)-1, 1);
1313 ZVAL_STRING(¶m, service->sdl->source);
1417 old_sdl = SOAP_GLOBAL(sdl);
1418 SOAP_GLOBAL(sdl) = service->sdl;
1430 function = deserialize_function_call(service->sdl, doc_request, service->actor, soap_action, &function_name, &num_params, ¶ms, &soap_version, &soap_headers);
1527 if (service->sdl && !h->function && !h->hdr) {
1674 SOAP_GLOBAL(sdl) = old_sdl;
1986 sdlPtr sdl = NULL;
2186 sdl = get_sdl(this_ptr, ZSTR_VAL(wsdl), cache_wsdl);
2195 sdl_object->sdl = sdl;
2201 HashTable *typemap = soap_create_typemap(sdl, typemap_ht);
2290 sdlPtr sdl = NULL;
2330 sdl = Z_SOAP_SDL_P(tmp)->sdl;
2341 old_sdl = SOAP_GLOBAL(sdl);
2342 SOAP_GLOBAL(sdl) = sdl;
2368 if (sdl != NULL) {
2369 fn = get_function(sdl, ZSTR_VAL(function), ZSTR_LEN(function));
2392 request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_version, soap_headers);
2487 SOAP_GLOBAL(sdl) = old_sdl;
2678 sdl *sdl;
2679 FETCH_THIS_SDL(sdl);
2681 if (sdl) {
2686 ZEND_HASH_MAP_FOREACH_PTR(&sdl->functions, function) {
2703 sdl *sdl;
2704 FETCH_THIS_SDL(sdl);
2706 if (sdl) {
2711 if (sdl->types) {
2712 ZEND_HASH_FOREACH_PTR(sdl->types, type) {
3075 static sdlFunctionPtr find_function(sdlPtr sdl, xmlNodePtr func, zval* function_name) /* {{{ */
3080 function = get_function(sdl, (char*)func->name, xml_func_name_length);
3091 if (sdl != NULL && function == NULL) {
3092 function = get_doc_function(sdl, func);
3105 static sdlFunctionPtr find_function_using_soap_action(const sdl *sdl, const char *soap_action, zval* function_name)
3107 if (!sdl) {
3124 ZEND_HASH_FOREACH_PTR(&sdl->functions, function) {
3161 static sdlFunctionPtr deserialize_function_call(sdlPtr sdl, xmlDocPtr request, const char* actor, const char *soap_action, zval *function_name, uint32_t *num_params, zval **parameters, int *version, soapHeader **headers) /* {{{ */
3251 function = find_function_using_soap_action(sdl, soap_action, function_name);
3255 function = get_doc_function(sdl, NULL);
3275 function = find_function(sdl, func, function_name);
3277 if (sdl != NULL && function == NULL) {
3350 h->function = find_function(sdl, hdr_func, &h->function_name);
3351 if (!h->function && sdl && function && function->binding && function->binding->bindingType == BINDING_SOAP) {
4225 static sdlFunctionPtr get_function(sdlPtr sdl, const char *function_name, size_t function_name_length) /* {{{ */
4229 if (sdl != NULL) {
4230 if ((tmp = zend_hash_str_find_ptr_lc(&sdl->functions, function_name, function_name_length)) != NULL) {
4232 } else if (sdl->requests != NULL && (tmp = zend_hash_str_find_ptr_lc(sdl->requests, function_name, function_name_length)) != NULL) {
4244 static sdlFunctionPtr get_doc_function(sdlPtr sdl, xmlNodePtr params) /* {{{ */
4246 if (sdl) {
4250 ZEND_HASH_MAP_FOREACH_PTR(&sdl->functions, tmp) {
4596 if (service->sdl) {
4597 delete_sdl(service->sdl);