Lines Matching refs:sdl
57 static sdlFunctionPtr get_function(sdlPtr sdl, const char *function_name);
58 static sdlFunctionPtr get_doc_function(sdlPtr sdl, xmlNodePtr node);
60 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)
344 soap_globals->sdl = NULL;
370 SOAP_GLOBAL(sdl) = NULL;
678 static HashTable* soap_create_typemap(sdlPtr sdl, HashTable *ht) /* {{{ */
724 enc = get_encoder(sdl, type_ns, type_name);
726 enc = get_encoder_ex(sdl, type_name, strlen(type_name));
883 service->sdl = get_sdl(ZEND_THIS, ZSTR_VAL(wsdl), cache_wsdl);
885 if (service->sdl->target_ns) {
886 service->uri = estrdup(service->sdl->target_ns);
895 service->typemap = soap_create_typemap(service->sdl, typemap_ht);
1192 if (service->sdl) {
1194 char *hdr = emalloc(sizeof("Location: ")+strlen(service->sdl->source));
1196 strcat(hdr,service->sdl->source);
1197 sapi_add_header(hdr, sizeof("Location: ")+strlen(service->sdl->source)-1, 1);
1203 ZVAL_STRING(¶m, service->sdl->source);
1305 old_sdl = SOAP_GLOBAL(sdl);
1306 SOAP_GLOBAL(sdl) = service->sdl;
1318 function = deserialize_function_call(service->sdl, doc_request, service->actor, &function_name, &num_params, ¶ms, &soap_version, &soap_headers);
1417 if (service->sdl && !h->function && !h->hdr) {
1567 SOAP_GLOBAL(sdl) = old_sdl;
1873 sdlPtr sdl = NULL;
2074 sdl = get_sdl(this_ptr, ZSTR_VAL(wsdl), cache_wsdl);
2075 res = zend_register_resource(sdl, le_sdl);
2083 HashTable *typemap = soap_create_typemap(sdl, typemap_ht);
2174 sdlPtr sdl = NULL;
2211 FETCH_SDL_RES(sdl,tmp);
2222 old_sdl = SOAP_GLOBAL(sdl);
2223 SOAP_GLOBAL(sdl) = sdl;
2249 if (sdl != NULL) {
2250 fn = get_function(sdl, function);
2270 request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_version, soap_headers);
2365 SOAP_GLOBAL(sdl) = old_sdl;
2519 sdlPtr sdl;
2521 FETCH_THIS_SDL(sdl);
2527 if (sdl) {
2532 ZEND_HASH_MAP_FOREACH_PTR(&sdl->functions, function) {
2545 sdlPtr sdl;
2547 FETCH_THIS_SDL(sdl);
2553 if (sdl) {
2558 if (sdl->types) {
2559 ZEND_HASH_FOREACH_PTR(sdl->types, type) {
2918 static sdlFunctionPtr find_function(sdlPtr sdl, xmlNodePtr func, zval* function_name) /* {{{ */
2922 function = get_function(sdl, (char*)func->name);
2933 if (sdl != NULL && function == NULL) {
2934 function = get_doc_function(sdl, func);
2972 static sdlFunctionPtr deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval **parameters, int *version, soapHeader **headers) /* {{{ */
3062 function = get_doc_function(sdl, NULL);
3080 function = find_function(sdl, func, function_name);
3081 if (sdl != NULL && function == NULL) {
3154 h->function = find_function(sdl, hdr_func, &h->function_name);
3155 if (!h->function && sdl && function && function->binding && function->binding->bindingType == BINDING_SOAP) {
4028 static sdlFunctionPtr get_function(sdlPtr sdl, const char *function_name) /* {{{ */
4035 if (sdl != NULL) {
4036 if ((tmp = zend_hash_str_find_ptr(&sdl->functions, str, len)) != NULL) {
4039 } else if (sdl->requests != NULL && (tmp = zend_hash_str_find_ptr(sdl->requests, str, len)) != NULL) {
4049 static sdlFunctionPtr get_doc_function(sdlPtr sdl, xmlNodePtr params) /* {{{ */
4051 if (sdl) {
4055 ZEND_HASH_MAP_FOREACH_PTR(&sdl->functions, tmp) {
4409 if (service->sdl) {
4410 delete_sdl(service->sdl);