Lines Matching refs:children

217 		     attr->children && attr->children->content &&  in is_wsdl_element()
218 (strcmp((char*)attr->children->content, "1") == 0 || in is_wsdl_element()
219 strcmp((char*)attr->children->content, "true") == 0)) { in is_wsdl_element()
348 root = wsdl->children; in load_wsdl_ex()
364 tmpsdl->target_ns = estrdup((char*)targetNamespace->children->content); in load_wsdl_ex()
368 trav = definitions->children; in load_wsdl_ex()
376 xmlNodePtr trav2 = trav->children; in load_wsdl_ex()
394 uri = xmlBuildURI(tmp->children->content, trav->doc->URL); in load_wsdl_ex()
396 uri = xmlBuildURI(tmp->children->content, base); in load_wsdl_ex()
405 if (name && name->children && name->children->content) { in load_wsdl_ex()
406 …if (zend_hash_str_add_ptr(&ctx->messages, (char*)name->children->content, xmlStrlen(name->children in load_wsdl_ex()
407 soap_error1(E_ERROR, "Parsing WSDL: <message> '%s' already defined", name->children->content); in load_wsdl_ex()
415 if (name && name->children && name->children->content) { in load_wsdl_ex()
416 …f (zend_hash_str_add_ptr(&ctx->portTypes, (char*)name->children->content, xmlStrlen(name->children in load_wsdl_ex()
417 soap_error1(E_ERROR, "Parsing WSDL: <portType> '%s' already defined", name->children->content); in load_wsdl_ex()
425 if (name && name->children && name->children->content) { in load_wsdl_ex()
426 …if (zend_hash_str_add_ptr(&ctx->bindings, (char*)name->children->content, xmlStrlen(name->children in load_wsdl_ex()
427 soap_error1(E_ERROR, "Parsing WSDL: <binding> '%s' already defined", name->children->content); in load_wsdl_ex()
435 if (name && name->children && name->children->content) { in load_wsdl_ex()
436 …if (zend_hash_str_add_ptr(&ctx->services, (char*)name->children->content, xmlStrlen(name->children in load_wsdl_ex()
437 soap_error1(E_ERROR, "Parsing WSDL: <service> '%s' already defined", name->children->content); in load_wsdl_ex()
461 ctype = strrchr((char*)tmp->children->content,':'); in wsdl_soap_binding_header()
463 ctype = (char*)tmp->children->content; in wsdl_soap_binding_header()
468 soap_error1(E_ERROR, "Parsing WSDL: Missing <message> with name '%s'", tmp->children->content); in wsdl_soap_binding_header()
475 …part = get_node_with_attribute_ex(message->children, "part", WSDL_NAMESPACE, "name", (char*)tmp->c… in wsdl_soap_binding_header()
477 soap_error1(E_ERROR, "Parsing WSDL: Missing part '%s' in <message>", tmp->children->content); in wsdl_soap_binding_header()
482 h->name = estrdup((char*)tmp->children->content); in wsdl_soap_binding_header()
485 if (tmp && !strncmp((char*)tmp->children->content, "encoded", sizeof("encoded"))) { in wsdl_soap_binding_header()
493 h->ns = estrdup((char*)tmp->children->content); in wsdl_soap_binding_header()
499 …if (strncmp((char*)tmp->children->content, SOAP_1_1_ENC_NAMESPACE, sizeof(SOAP_1_1_ENC_NAMESPACE))… in wsdl_soap_binding_header()
501 …} else if (strncmp((char*)tmp->children->content, SOAP_1_2_ENC_NAMESPACE, sizeof(SOAP_1_2_ENC_NAME… in wsdl_soap_binding_header()
504 soap_error1(E_ERROR, "Parsing WSDL: Unknown encodingStyle '%s'", tmp->children->content); in wsdl_soap_binding_header()
513 h->encode = get_encoder_from_prefix(ctx->sdl, part, tmp->children->content); in wsdl_soap_binding_header()
517 h->element = get_element(ctx->sdl, part, tmp->children->content); in wsdl_soap_binding_header()
531 xmlNodePtr trav = header->children; in wsdl_soap_binding_header()
566 trav = node->children; in wsdl_soap_binding_body()
572 if (tmp && !strncmp((char*)tmp->children->content, "literal", sizeof("literal"))) { in wsdl_soap_binding_body()
580 binding->ns = estrdup((char*)tmp->children->content); in wsdl_soap_binding_body()
586 char *parts = (char*)tmp->children->content; in wsdl_soap_binding_body()
624 …if (strncmp((char*)tmp->children->content, SOAP_1_1_ENC_NAMESPACE, sizeof(SOAP_1_1_ENC_NAMESPACE))… in wsdl_soap_binding_body()
626 …} else if (strncmp((char*)tmp->children->content, SOAP_1_2_ENC_NAMESPACE, sizeof(SOAP_1_2_ENC_NAME… in wsdl_soap_binding_body()
629 soap_error1(E_ERROR, "Parsing WSDL: Unknown encodingStyle '%s'", tmp->children->content); in wsdl_soap_binding_body()
681 trav = message->children; in wsdl_message()
706 param->paramName = estrdup((char*)name->children->content); in wsdl_message()
710 param->encode = get_encoder_from_prefix(ctx->sdl, part, type->children->content); in wsdl_message()
714 param->element = get_element(ctx->sdl, part, element->children->content); in wsdl_message()
759 trav = service->children; in load_wsdl()
788 trav2 = port->children; in load_wsdl()
832 tmpbinding->location = estrdup((char*)location->children->content); in load_wsdl()
834 ctype = strrchr((char*)bindingAttr->children->content,':'); in load_wsdl()
836 ctype = (char*)bindingAttr->children->content; in load_wsdl()
854 soapBindingNode = get_node_ex(binding->children, "binding", wsdl_soap_namespace); in load_wsdl()
857 if (tmp && !strncmp((char*)tmp->children->content, "rpc", sizeof("rpc"))) { in load_wsdl()
863 …if (strncmp((char*)tmp->children->content, WSDL_HTTP_TRANSPORT, sizeof(WSDL_HTTP_TRANSPORT)) == 0)… in load_wsdl()
882 tmpbinding->name = estrdup((char*)name->children->content); in load_wsdl()
889 ctype = strchr((char*)type->children->content,':'); in load_wsdl()
891 ctype = (char*)type->children->content; in load_wsdl()
896 … soap_error1(E_ERROR, "Parsing WSDL: Missing <portType> with name '%s'", name->children->content); in load_wsdl()
900 trav2 = binding->children; in load_wsdl()
924 trav3 = operation->children; in load_wsdl()
938 …n = get_node_with_attribute_ex(portType->children, "operation", WSDL_NAMESPACE, "name", (char*)op_… in load_wsdl()
940 …_ERROR, "Parsing WSDL: Missing <portType>/<operation> with name '%s'", op_name->children->content); in load_wsdl()
945 function->functionName = estrdup((char*)op_name->children->content); in load_wsdl()
958 soapOperation = get_node_ex(operation->children, "operation", wsdl_soap_namespace); in load_wsdl()
962 soapFunctionBinding->soapAction = estrdup((char*)tmp->children->content); in load_wsdl()
967 if (!strncmp((char*)tmp->children->content, "rpc", sizeof("rpc"))) { in load_wsdl()
980 input = get_node_ex(portTypeOperation->children, "input", WSDL_NAMESPACE); in load_wsdl()
986 …soap_error1(E_ERROR, "Parsing WSDL: Missing name for <input> of '%s'", op_name->children->content); in load_wsdl()
988 function->requestParameters = wsdl_message(&ctx, message->children->content); in load_wsdl()
1001 input = get_node_ex(operation->children, "input", WSDL_NAMESPACE); in load_wsdl()
1009 output = get_node_ex(portTypeOperation->children, "output", WSDL_NAMESPACE); in load_wsdl()
1015 …soap_error1(E_ERROR, "Parsing WSDL: Missing name for <output> of '%s'", op_name->children->content… in load_wsdl()
1017 function->responseParameters = wsdl_message(&ctx, message->children->content); in load_wsdl()
1035 output = get_node_ex(operation->children, "output", WSDL_NAMESPACE); in load_wsdl()
1048 fault = portTypeOperation->children; in load_wsdl()
1056 …soap_error1(E_ERROR, "Parsing WSDL: Missing name for <fault> of '%s'", op_name->children->content); in load_wsdl()
1060 …soap_error1(E_ERROR, "Parsing WSDL: Missing name for <output> of '%s'", op_name->children->content… in load_wsdl()
1066 f->name = estrdup((char*)name->children->content); in load_wsdl()
1067 f->details = wsdl_message(&ctx, message->children->content); in load_wsdl()
1069 …ERROR, "Parsing WSDL: The fault message '%s' must have a single part", message->children->content); in load_wsdl()
1073 …xmlNodePtr soap_fault = get_node_with_attribute_ex(operation->children, "fault", WSDL_NAMESPACE, "… in load_wsdl()
1075 xmlNodePtr trav = soap_fault->children; in load_wsdl()
1085 if (tmp && !strncmp((char*)tmp->children->content, "encoded", sizeof("encoded"))) { in load_wsdl()
1093 binding->ns = estrdup((char*)tmp->children->content); in load_wsdl()
1099 …if (strncmp((char*)tmp->children->content, SOAP_1_1_ENC_NAMESPACE, sizeof(SOAP_1_1_ENC_NAMESPACE))… in load_wsdl()
1101 …} else if (strncmp((char*)tmp->children->content, SOAP_1_2_ENC_NAMESPACE, sizeof(SOAP_1_2_ENC_NAME… in load_wsdl()
1104 … soap_error1(E_ERROR, "Parsing WSDL: Unknown encodingStyle '%s'", tmp->children->content); in load_wsdl()
1122 …arsing WSDL: <fault> with name '%s' already defined in '%s'", f->name, op_name->children->content); in load_wsdl()