Lines Matching refs:binding
182 sdlBindingPtr binding; in get_binding_from_type() local
188 ZEND_HASH_FOREACH_PTR(sdl->bindings, binding) { in get_binding_from_type()
189 if (binding->bindingType == type) { in get_binding_from_type()
190 return binding; in get_binding_from_type()
198 sdlBindingPtr binding; in get_binding_from_name() local
206 binding = zend_hash_find_ptr(sdl->bindings, key.s); in get_binding_from_name()
209 return binding; in get_binding_from_name()
557 … xmlNodePtr node, char* wsdl_soap_namespace, sdlSoapBindingFunctionBody *binding, HashTable* param… in wsdl_soap_binding_body() argument
569 binding->use = SOAP_LITERAL; in wsdl_soap_binding_body()
571 binding->use = SOAP_ENCODED; in wsdl_soap_binding_body()
576 binding->ns = estrdup((char*)tmp->children->content); in wsdl_soap_binding_body()
617 if (binding->use == SOAP_ENCODED) { in wsdl_soap_binding_body()
621 binding->encodingStyle = SOAP_ENCODING_1_1; in wsdl_soap_binding_body()
623 binding->encodingStyle = SOAP_ENCODING_1_2; in wsdl_soap_binding_body()
635 if (binding->headers == NULL) { in wsdl_soap_binding_body()
636 binding->headers = emalloc(sizeof(HashTable)); in wsdl_soap_binding_body()
637 zend_hash_init(binding->headers, 0, NULL, delete_header, 0); in wsdl_soap_binding_body()
646 if (zend_hash_add_ptr(binding->headers, key.s, h) == NULL) { in wsdl_soap_binding_body()
758 xmlNodePtr address, binding, trav2; in load_wsdl() local
838 binding = tmp; in load_wsdl()
849 soapBindingNode = get_node_ex(binding->children, "binding", wsdl_soap_namespace); in load_wsdl()
873 name = get_attribute(binding->properties, "name"); in load_wsdl()
879 type = get_attribute(binding->properties, "type"); in load_wsdl()
895 trav2 = binding->children; in load_wsdl()
1074 sdlSoapBindingFunctionFaultPtr binding; in load_wsdl() local
1076 binding = f->bindingAttributes = emalloc(sizeof(sdlSoapBindingFunctionFault)); in load_wsdl()
1081 binding->use = SOAP_ENCODED; in load_wsdl()
1083 binding->use = SOAP_LITERAL; in load_wsdl()
1088 binding->ns = estrdup((char*)tmp->children->content); in load_wsdl()
1091 if (binding->use == SOAP_ENCODED) { in load_wsdl()
1095 binding->encodingStyle = SOAP_ENCODING_1_1; in load_wsdl()
1097 binding->encodingStyle = SOAP_ENCODING_1_2; in load_wsdl()
1123 function->binding = tmpbinding; in load_wsdl()
1669 sdlBindingPtr binding = emalloc(sizeof(sdlBinding)); in get_sdl_from_cache() local
1670 memset(binding, 0, sizeof(sdlBinding)); in get_sdl_from_cache()
1671 sdl_deserialize_key(sdl->bindings, binding, &in); in get_sdl_from_cache()
1672 binding->name = sdl_deserialize_string(&in); in get_sdl_from_cache()
1673 binding->location = sdl_deserialize_string(&in); in get_sdl_from_cache()
1674 WSDL_CACHE_GET_1(binding->bindingType,sdlBindingType,&in); in get_sdl_from_cache()
1675 if (binding->bindingType == BINDING_SOAP && *in != 0) { in get_sdl_from_cache()
1676 sdlSoapBindingPtr soap_binding = binding->bindingAttributes = emalloc(sizeof(sdlSoapBinding)); in get_sdl_from_cache()
1682 bindings[i] = binding; in get_sdl_from_cache()
1701 func->binding = NULL; in get_sdl_from_cache()
1703 func->binding = bindings[binding_num-1]; in get_sdl_from_cache()
1705 if (func->binding && func->binding->bindingType == BINDING_SOAP && *in != 0) { in get_sdl_from_cache()
1706 …sdlSoapBindingFunctionPtr binding = func->bindingAttributes = emalloc(sizeof(sdlSoapBindingFunctio… in get_sdl_from_cache() local
1707 memset(binding, 0, sizeof(sdlSoapBindingFunction)); in get_sdl_from_cache()
1708 WSDL_CACHE_GET_1(binding->style,sdlEncodingStyle,&in); in get_sdl_from_cache()
1709 binding->soapAction = sdl_deserialize_string(&in); in get_sdl_from_cache()
1710 sdl_deserialize_soap_body(&binding->input, encoders, types, &in); in get_sdl_from_cache()
1711 sdl_deserialize_soap_body(&binding->output, encoders, types, &in); in get_sdl_from_cache()
1734 …sdlSoapBindingFunctionFaultPtr binding = fault->bindingAttributes = emalloc(sizeof(sdlSoapBindingF… in get_sdl_from_cache() local
1735 memset(binding, 0, sizeof(sdlSoapBindingFunctionFault)); in get_sdl_from_cache()
1736 WSDL_CACHE_GET_1(binding->use,sdlEncodingUse,&in); in get_sdl_from_cache()
1737 if (binding->use == SOAP_ENCODED) { in get_sdl_from_cache()
1738 WSDL_CACHE_GET_1(binding->encodingStyle, sdlRpcEncodingStyle, &in); in get_sdl_from_cache()
1740 binding->encodingStyle = SOAP_ENCODING_DEFAULT; in get_sdl_from_cache()
1742 binding->ns = sdl_deserialize_string(&in); in get_sdl_from_cache()
2269 sdlSoapBindingPtr binding = (sdlSoapBindingPtr)tmp->bindingAttributes; in add_sdl_to_cache() local
2270 WSDL_CACHE_PUT_1(binding->style, out); in add_sdl_to_cache()
2271 WSDL_CACHE_PUT_1(binding->transport, out); in add_sdl_to_cache()
2297 if (tmp->binding) { in add_sdl_to_cache()
2298 binding_num = zend_hash_str_find(&tmp_bindings,(char*)&tmp->binding, sizeof(tmp->binding)); in add_sdl_to_cache()
2302 if (tmp->binding->bindingType == BINDING_SOAP && tmp->bindingAttributes != NULL) { in add_sdl_to_cache()
2303 sdlSoapBindingFunctionPtr binding = (sdlSoapBindingFunctionPtr)tmp->bindingAttributes; in add_sdl_to_cache() local
2304 WSDL_CACHE_PUT_1(binding->style, out); in add_sdl_to_cache()
2305 sdl_serialize_string(binding->soapAction, out); in add_sdl_to_cache()
2306 sdl_serialize_soap_body(&binding->input, &tmp_encoders, &tmp_types, out); in add_sdl_to_cache()
2307 sdl_serialize_soap_body(&binding->output, &tmp_encoders, &tmp_types, out); in add_sdl_to_cache()
2327 if (tmp->binding->bindingType == BINDING_SOAP && fault->bindingAttributes != NULL) { in add_sdl_to_cache()
2328 … sdlSoapBindingFunctionFaultPtr binding = (sdlSoapBindingFunctionFaultPtr)fault->bindingAttributes; in add_sdl_to_cache() local
2329 WSDL_CACHE_PUT_1(binding->use, out); in add_sdl_to_cache()
2330 if (binding->use == SOAP_ENCODED) { in add_sdl_to_cache()
2331 WSDL_CACHE_PUT_1(binding->encodingStyle, out); in add_sdl_to_cache()
2333 sdl_serialize_string(binding->ns, out); in add_sdl_to_cache()
2564 if (func->binding->bindingType == BINDING_SOAP && pfault->bindingAttributes) { in make_persistent_sdl_function_faults()
2885 if (pfunc->binding) { in make_persistent_sdl_function()
2888 …if ((tmp = zend_hash_str_find_ptr(ptr_map, (char*)&pfunc->binding, sizeof(pfunc->binding))) == NUL… in make_persistent_sdl_function()
2891 pfunc->binding = tmp; in make_persistent_sdl_function()
2893 if (pfunc->binding->bindingType == BINDING_SOAP && pfunc->bindingAttributes) { in make_persistent_sdl_function()
3434 sdlBindingPtr binding = Z_PTR_P(zv); in delete_binding() local
3436 if (binding->location) { in delete_binding()
3437 efree(binding->location); in delete_binding()
3439 if (binding->name) { in delete_binding()
3440 efree(binding->name); in delete_binding()
3443 if (binding->bindingType == BINDING_SOAP) { in delete_binding()
3444 sdlSoapBindingPtr soapBind = binding->bindingAttributes; in delete_binding()
3449 efree(binding); in delete_binding()
3454 sdlBindingPtr binding = Z_PTR_P(zv); in delete_binding_persistent() local
3456 if (binding->location) { in delete_binding_persistent()
3457 free(binding->location); in delete_binding_persistent()
3459 if (binding->name) { in delete_binding_persistent()
3460 free(binding->name); in delete_binding_persistent()
3463 if (binding->bindingType == BINDING_SOAP) { in delete_binding_persistent()
3464 sdlSoapBindingPtr soapBind = binding->bindingAttributes; in delete_binding_persistent()
3469 free(binding); in delete_binding_persistent()
3521 function->binding && function->binding->bindingType == BINDING_SOAP) { in delete_function()
3560 function->binding && function->binding->bindingType == BINDING_SOAP) { in delete_function_persistent()
3637 sdlSoapBindingFunctionFaultPtr binding = (sdlSoapBindingFunctionFaultPtr)fault->bindingAttributes; in delete_fault() local
3639 if (binding->ns) { in delete_fault()
3640 efree(binding->ns); in delete_fault()
3658 sdlSoapBindingFunctionFaultPtr binding = (sdlSoapBindingFunctionFaultPtr)fault->bindingAttributes; in delete_fault_persistent() local
3660 if (binding->ns) { in delete_fault_persistent()
3661 free(binding->ns); in delete_fault_persistent()