Lines Matching refs:sdl
58 static sdlFunctionPtr get_function(sdlPtr sdl, const char *function_name);
59 static sdlFunctionPtr get_doc_function(sdlPtr sdl, xmlNodePtr node);
61 static sdlFunctionPtr deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval **parameters, int *version, soapHeader **headers);
140 #define FETCH_SDL_RES(ss,tmp) ss = (sdlPtr) zend_fetch_resource_ex(tmp, "sdl", le_sdl)
319 soap_globals->sdl = NULL;
345 SOAP_GLOBAL(sdl) = NULL;
727 static HashTable* soap_create_typemap(sdlPtr sdl, HashTable *ht) /* {{{ */
771 enc = get_encoder(sdl, type_ns, type_name);
773 enc = get_encoder_ex(sdl, type_name, strlen(type_name));
928 service->sdl = get_sdl(ZEND_THIS, ZSTR_VAL(wsdl), cache_wsdl);
930 if (service->sdl->target_ns) {
931 service->uri = estrdup(service->sdl->target_ns);
940 service->typemap = soap_create_typemap(service->sdl, typemap_ht);
1232 if (service->sdl) {
1234 char *hdr = emalloc(sizeof("Location: ")+strlen(service->sdl->source));
1236 strcat(hdr,service->sdl->source);
1237 sapi_add_header(hdr, sizeof("Location: ")+strlen(service->sdl->source)-1, 1);
1243 ZVAL_STRING(¶m, service->sdl->source);
1342 old_sdl = SOAP_GLOBAL(sdl);
1343 SOAP_GLOBAL(sdl) = service->sdl;
1355 function = deserialize_function_call(service->sdl, doc_request, service->actor, &function_name, &num_params, ¶ms, &soap_version, &soap_headers);
1454 if (service->sdl && !h->function && !h->hdr) {
1610 SOAP_GLOBAL(sdl) = old_sdl;
1915 sdlPtr sdl = NULL;
2113 sdl = get_sdl(this_ptr, ZSTR_VAL(wsdl), cache_wsdl);
2114 res = zend_register_resource(sdl, le_sdl);
2122 HashTable *typemap = soap_create_typemap(sdl, typemap_ht);
2213 sdlPtr sdl = NULL;
2250 FETCH_SDL_RES(sdl,tmp);
2261 old_sdl = SOAP_GLOBAL(sdl);
2262 SOAP_GLOBAL(sdl) = sdl;
2288 if (sdl != NULL) {
2289 fn = get_function(sdl, function);
2309 request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_version, soap_headers);
2404 SOAP_GLOBAL(sdl) = old_sdl;
2558 sdlPtr sdl;
2560 FETCH_THIS_SDL(sdl);
2566 if (sdl) {
2571 ZEND_HASH_FOREACH_PTR(&sdl->functions, function) {
2584 sdlPtr sdl;
2586 FETCH_THIS_SDL(sdl);
2592 if (sdl) {
2597 if (sdl->types) {
2598 ZEND_HASH_FOREACH_PTR(sdl->types, type) {
2957 static sdlFunctionPtr find_function(sdlPtr sdl, xmlNodePtr func, zval* function_name) /* {{{ */
2961 function = get_function(sdl, (char*)func->name);
2972 if (sdl != NULL && function == NULL) {
2973 function = get_doc_function(sdl, func);
3011 static sdlFunctionPtr deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval **parameters, int *version, soapHeader **headers) /* {{{ */
3101 function = get_doc_function(sdl, NULL);
3119 function = find_function(sdl, func, function_name);
3120 if (sdl != NULL && function == NULL) {
3193 h->function = find_function(sdl, hdr_func, &h->function_name);
3194 if (!h->function && sdl && function && function->binding && function->binding->bindingType == BINDING_SOAP) {
4067 static sdlFunctionPtr get_function(sdlPtr sdl, const char *function_name) /* {{{ */
4074 if (sdl != NULL) {
4075 if ((tmp = zend_hash_str_find_ptr(&sdl->functions, str, len)) != NULL) {
4078 } else if (sdl->requests != NULL && (tmp = zend_hash_str_find_ptr(sdl->requests, str, len)) != NULL) {
4088 static sdlFunctionPtr get_doc_function(sdlPtr sdl, xmlNodePtr params) /* {{{ */
4090 if (sdl) {
4094 ZEND_HASH_FOREACH_PTR(&sdl->functions, tmp) {
4444 if (service->sdl) {
4445 delete_sdl(service->sdl);