Lines Matching refs:binding

39 static void delete_binding(void *binding);
40 static void delete_binding_persistent(void *binding);
182 sdlBindingPtr *binding; in get_binding_from_type() local
189 zend_hash_get_current_data(sdl->bindings, (void **) &binding) == SUCCESS; in get_binding_from_type()
191 if ((*binding)->bindingType == type) { in get_binding_from_type()
192 return *binding; in get_binding_from_type()
200 sdlBindingPtr binding = NULL; in get_binding_from_name() local
208 zend_hash_find(sdl->bindings, key.c, key.len, (void **)&binding); in get_binding_from_name()
211 return binding; in get_binding_from_name()
561 … xmlNodePtr node, char* wsdl_soap_namespace, sdlSoapBindingFunctionBody *binding, HashTable* param… in wsdl_soap_binding_body() argument
573 binding->use = SOAP_LITERAL; in wsdl_soap_binding_body()
575 binding->use = SOAP_ENCODED; in wsdl_soap_binding_body()
580 binding->ns = estrdup((char*)tmp->children->content); in wsdl_soap_binding_body()
624 if (binding->use == SOAP_ENCODED) { in wsdl_soap_binding_body()
628 binding->encodingStyle = SOAP_ENCODING_1_1; in wsdl_soap_binding_body()
630 binding->encodingStyle = SOAP_ENCODING_1_2; in wsdl_soap_binding_body()
642 if (binding->headers == NULL) { in wsdl_soap_binding_body()
643 binding->headers = emalloc(sizeof(HashTable)); in wsdl_soap_binding_body()
644 zend_hash_init(binding->headers, 0, NULL, delete_header, 0); in wsdl_soap_binding_body()
653 …if (zend_hash_add(binding->headers, key.c, key.len+1, (void**)&h, sizeof(sdlSoapBindingFunctionHea… in wsdl_soap_binding_body()
766 xmlNodePtr address, binding, trav2; in load_wsdl() local
846 binding = *tmp; in load_wsdl()
857 soapBindingNode = get_node_ex(binding->children, "binding", wsdl_soap_namespace); in load_wsdl()
881 name = get_attribute(binding->properties, "name"); in load_wsdl()
887 type = get_attribute(binding->properties, "type"); in load_wsdl()
903 trav2 = binding->children; in load_wsdl()
1082 sdlSoapBindingFunctionFaultPtr binding; in load_wsdl() local
1084 binding = f->bindingAttributes = emalloc(sizeof(sdlSoapBindingFunctionFault)); in load_wsdl()
1089 binding->use = SOAP_ENCODED; in load_wsdl()
1091 binding->use = SOAP_LITERAL; in load_wsdl()
1096 binding->ns = estrdup((char*)tmp->children->content); in load_wsdl()
1099 if (binding->use == SOAP_ENCODED) { in load_wsdl()
1103 binding->encodingStyle = SOAP_ENCODING_1_1; in load_wsdl()
1105 binding->encodingStyle = SOAP_ENCODING_1_2; in load_wsdl()
1131 function->binding = tmpbinding; in load_wsdl()
1675 sdlBindingPtr binding = emalloc(sizeof(sdlBinding)); in get_sdl_from_cache() local
1676 memset(binding, 0, sizeof(sdlBinding)); in get_sdl_from_cache()
1677 sdl_deserialize_key(sdl->bindings, binding, &in); in get_sdl_from_cache()
1678 binding->name = sdl_deserialize_string(&in); in get_sdl_from_cache()
1679 binding->location = sdl_deserialize_string(&in); in get_sdl_from_cache()
1680 WSDL_CACHE_GET_1(binding->bindingType,sdlBindingType,&in); in get_sdl_from_cache()
1681 if (binding->bindingType == BINDING_SOAP && *in != 0) { in get_sdl_from_cache()
1682 sdlSoapBindingPtr soap_binding = binding->bindingAttributes = emalloc(sizeof(sdlSoapBinding)); in get_sdl_from_cache()
1688 bindings[i] = binding; in get_sdl_from_cache()
1707 func->binding = NULL; in get_sdl_from_cache()
1709 func->binding = bindings[binding_num-1]; in get_sdl_from_cache()
1711 if (func->binding && func->binding->bindingType == BINDING_SOAP && *in != 0) { in get_sdl_from_cache()
1712 …sdlSoapBindingFunctionPtr binding = func->bindingAttributes = emalloc(sizeof(sdlSoapBindingFunctio… in get_sdl_from_cache() local
1713 memset(binding, 0, sizeof(sdlSoapBindingFunction)); in get_sdl_from_cache()
1714 WSDL_CACHE_GET_1(binding->style,sdlEncodingStyle,&in); in get_sdl_from_cache()
1715 binding->soapAction = sdl_deserialize_string(&in); in get_sdl_from_cache()
1716 sdl_deserialize_soap_body(&binding->input, encoders, types, &in); in get_sdl_from_cache()
1717 sdl_deserialize_soap_body(&binding->output, encoders, types, &in); in get_sdl_from_cache()
1740 …sdlSoapBindingFunctionFaultPtr binding = fault->bindingAttributes = emalloc(sizeof(sdlSoapBindingF… in get_sdl_from_cache() local
1741 memset(binding, 0, sizeof(sdlSoapBindingFunctionFault)); in get_sdl_from_cache()
1742 WSDL_CACHE_GET_1(binding->use,sdlEncodingUse,&in); in get_sdl_from_cache()
1743 if (binding->use == SOAP_ENCODED) { in get_sdl_from_cache()
1744 WSDL_CACHE_GET_1(binding->encodingStyle, sdlRpcEncodingStyle, &in); in get_sdl_from_cache()
1746 binding->encodingStyle = SOAP_ENCODING_DEFAULT; in get_sdl_from_cache()
1748 binding->ns = sdl_deserialize_string(&in); in get_sdl_from_cache()
2277 sdlSoapBindingPtr binding = (sdlSoapBindingPtr)(*tmp)->bindingAttributes; in add_sdl_to_cache() local
2278 WSDL_CACHE_PUT_1(binding->style, out); in add_sdl_to_cache()
2279 WSDL_CACHE_PUT_1(binding->transport, out); in add_sdl_to_cache()
2305 if ((*tmp)->binding == NULL || in add_sdl_to_cache()
2306 …zend_hash_find(&tmp_bindings,(char*)&(*tmp)->binding,sizeof((*tmp)->binding), (void**)&binding_num… in add_sdl_to_cache()
2310 if ((*tmp)->binding->bindingType == BINDING_SOAP && (*tmp)->bindingAttributes != NULL) { in add_sdl_to_cache()
2311 sdlSoapBindingFunctionPtr binding = (sdlSoapBindingFunctionPtr)(*tmp)->bindingAttributes; in add_sdl_to_cache() local
2312 WSDL_CACHE_PUT_1(binding->style, out); in add_sdl_to_cache()
2313 sdl_serialize_string(binding->soapAction, out); in add_sdl_to_cache()
2314 sdl_serialize_soap_body(&binding->input, &tmp_encoders, &tmp_types, out); in add_sdl_to_cache()
2315 sdl_serialize_soap_body(&binding->output, &tmp_encoders, &tmp_types, out); in add_sdl_to_cache()
2333 if ((*tmp)->binding->bindingType == BINDING_SOAP && (*fault)->bindingAttributes != NULL) { in add_sdl_to_cache()
2334 …sdlSoapBindingFunctionFaultPtr binding = (sdlSoapBindingFunctionFaultPtr)(*fault)->bindingAttribut… in add_sdl_to_cache() local
2335 WSDL_CACHE_PUT_1(binding->use, out); in add_sdl_to_cache()
2336 if (binding->use == SOAP_ENCODED) { in add_sdl_to_cache()
2337 WSDL_CACHE_PUT_1(binding->encodingStyle, out); in add_sdl_to_cache()
2339 sdl_serialize_string(binding->ns, out); in add_sdl_to_cache()
2580 if (func->binding->bindingType == BINDING_SOAP && pfault->bindingAttributes) { in make_persistent_sdl_function_faults()
2914 if (pfunc->binding) { in make_persistent_sdl_function()
2917 …if (zend_hash_find(ptr_map, (char*)&pfunc->binding, sizeof(pfunc->binding), (void**)&tmp) == FAILU… in make_persistent_sdl_function()
2920 pfunc->binding = *tmp; in make_persistent_sdl_function()
2922 if (pfunc->binding->bindingType == BINDING_SOAP && pfunc->bindingAttributes) { in make_persistent_sdl_function()
3471 sdlBindingPtr binding = *((sdlBindingPtr*)data); in delete_binding() local
3473 if (binding->location) { in delete_binding()
3474 efree(binding->location); in delete_binding()
3476 if (binding->name) { in delete_binding()
3477 efree(binding->name); in delete_binding()
3480 if (binding->bindingType == BINDING_SOAP) { in delete_binding()
3481 sdlSoapBindingPtr soapBind = binding->bindingAttributes; in delete_binding()
3486 efree(binding); in delete_binding()
3491 sdlBindingPtr binding = *((sdlBindingPtr*)data); in delete_binding_persistent() local
3493 if (binding->location) { in delete_binding_persistent()
3494 free(binding->location); in delete_binding_persistent()
3496 if (binding->name) { in delete_binding_persistent()
3497 free(binding->name); in delete_binding_persistent()
3500 if (binding->bindingType == BINDING_SOAP) { in delete_binding_persistent()
3501 sdlSoapBindingPtr soapBind = binding->bindingAttributes; in delete_binding_persistent()
3506 free(binding); in delete_binding_persistent()
3558 function->binding && function->binding->bindingType == BINDING_SOAP) { in delete_function()
3597 function->binding && function->binding->bindingType == BINDING_SOAP) { in delete_function_persistent()
3670 sdlSoapBindingFunctionFaultPtr binding = (sdlSoapBindingFunctionFaultPtr)fault->bindingAttributes; in delete_fault() local
3672 if (binding->ns) { in delete_fault()
3673 efree(binding->ns); in delete_fault()
3691 sdlSoapBindingFunctionFaultPtr binding = (sdlSoapBindingFunctionFaultPtr)fault->bindingAttributes; in delete_fault_persistent() local
3693 if (binding->ns) { in delete_fault_persistent()
3694 free(binding->ns); in delete_fault_persistent()