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 FIND_SDL_PROPERTY(ss,tmp) (tmp = zend_hash_str_find(Z_OBJPROP_P(ss), "sdl", sizeof("sdl")-1))
141 #define FETCH_SDL_RES(ss,tmp) ss = (sdlPtr) zend_fetch_resource_ex(tmp, "sdl", le_sdl)
307 soap_globals->sdl = NULL;
333 SOAP_GLOBAL(sdl) = NULL;
731 static HashTable* soap_create_typemap(sdlPtr sdl, HashTable *ht) /* {{{ */
779 enc = get_encoder(sdl, type_ns, type_name);
781 enc = get_encoder_ex(sdl, type_name, strlen(type_name));
936 service->sdl = get_sdl(ZEND_THIS, ZSTR_VAL(wsdl), cache_wsdl);
938 if (service->sdl->target_ns) {
939 service->uri = estrdup(service->sdl->target_ns);
948 service->typemap = soap_create_typemap(service->sdl, typemap_ht);
1240 if (service->sdl) {
1242 char *hdr = emalloc(sizeof("Location: ")+strlen(service->sdl->source));
1244 strcat(hdr,service->sdl->source);
1245 sapi_add_header(hdr, sizeof("Location: ")+strlen(service->sdl->source)-1, 1);
1251 ZVAL_STRING(&param, service->sdl->source);
1353 old_sdl = SOAP_GLOBAL(sdl);
1354 SOAP_GLOBAL(sdl) = service->sdl;
1366 function = deserialize_function_call(service->sdl, doc_request, service->actor, &function_name, &num_params, &params, &soap_version, &soap_headers);
1499 if (service->sdl && !h->function && !h->hdr) {
1660 SOAP_GLOBAL(sdl) = old_sdl;
1972 sdlPtr sdl = NULL;
2170 sdl = get_sdl(this_ptr, ZSTR_VAL(wsdl), cache_wsdl);
2171 res = zend_register_resource(sdl, le_sdl);
2173 add_property_resource(this_ptr, "sdl", res);
2179 HashTable *typemap = soap_create_typemap(sdl, typemap_ht);
2284 sdlPtr sdl = NULL;
2320 FETCH_SDL_RES(sdl,tmp);
2329 old_sdl = SOAP_GLOBAL(sdl);
2330 SOAP_GLOBAL(sdl) = sdl;
2356 if (sdl != NULL) {
2357 fn = get_function(sdl, function);
2377 request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_version, soap_headers);
2475 SOAP_GLOBAL(sdl) = old_sdl;
2628 sdlPtr sdl;
2630 FETCH_THIS_SDL(sdl);
2636 if (sdl) {
2641 ZEND_HASH_FOREACH_PTR(&sdl->functions, function) {
2654 sdlPtr sdl;
2656 FETCH_THIS_SDL(sdl);
2662 if (sdl) {
2667 if (sdl->types) {
2668 ZEND_HASH_FOREACH_PTR(sdl->types, type) {
3075 static sdlFunctionPtr find_function(sdlPtr sdl, xmlNodePtr func, zval* function_name) /* {{{ */
3079 function = get_function(sdl, (char*)func->name);
3090 if (sdl != NULL && function == NULL) {
3091 function = get_doc_function(sdl, func);
3129 static sdlFunctionPtr deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval **parameters, int *version, soapHeader **headers) /* {{{ */
3219 function = get_doc_function(sdl, NULL);
3237 function = find_function(sdl, func, function_name);
3238 if (sdl != NULL && function == NULL) {
3311 h->function = find_function(sdl, hdr_func, &h->function_name);
3312 if (!h->function && sdl && function && function->binding && function->binding->bindingType == BINDING_SOAP) {
4191 static sdlFunctionPtr get_function(sdlPtr sdl, const char *function_name) /* {{{ */
4198 if (sdl != NULL) {
4199 if ((tmp = zend_hash_str_find_ptr(&sdl->functions, str, len)) != NULL) {
4202 } else if (sdl->requests != NULL && (tmp = zend_hash_str_find_ptr(sdl->requests, str, len)) != NULL) {
4212 static sdlFunctionPtr get_doc_function(sdlPtr sdl, xmlNodePtr params) /* {{{ */
4214 if (sdl) {
4218 ZEND_HASH_FOREACH_PTR(&sdl->functions, tmp) {
4568 if (service->sdl) {
4569 delete_sdl(service->sdl);