Lines Matching refs:trav

325 	xmlNodePtr root, definitions, trav;  in load_wsdl_ex()  local
368 trav = definitions->children; in load_wsdl_ex()
369 while (trav != NULL) { in load_wsdl_ex()
370 if (!is_wsdl_element(trav)) { in load_wsdl_ex()
371 trav = trav->next; in load_wsdl_ex()
374 if (node_is_equal(trav,"types")) { in load_wsdl_ex()
376 xmlNodePtr trav2 = trav->children; in load_wsdl_ex()
386 } else if (node_is_equal(trav,"import")) { in load_wsdl_ex()
388 xmlAttrPtr tmp = get_attribute(trav->properties, "location"); in load_wsdl_ex()
391 xmlChar *base = xmlNodeGetBase(trav->doc, trav); in load_wsdl_ex()
394 uri = xmlBuildURI(tmp->children->content, trav->doc->URL); in load_wsdl_ex()
403 } else if (node_is_equal(trav,"message")) { in load_wsdl_ex()
404 xmlAttrPtr name = get_attribute(trav->properties, "name"); in load_wsdl_ex()
406 …ctx->messages, (char*)name->children->content, xmlStrlen(name->children->content), trav) == NULL) { in load_wsdl_ex()
413 } else if (node_is_equal(trav,"portType")) { in load_wsdl_ex()
414 xmlAttrPtr name = get_attribute(trav->properties, "name"); in load_wsdl_ex()
416 …tx->portTypes, (char*)name->children->content, xmlStrlen(name->children->content), trav) == NULL) { in load_wsdl_ex()
423 } else if (node_is_equal(trav,"binding")) { in load_wsdl_ex()
424 xmlAttrPtr name = get_attribute(trav->properties, "name"); in load_wsdl_ex()
426 …ctx->bindings, (char*)name->children->content, xmlStrlen(name->children->content), trav) == NULL) { in load_wsdl_ex()
433 } else if (node_is_equal(trav,"service")) { in load_wsdl_ex()
434 xmlAttrPtr name = get_attribute(trav->properties, "name"); in load_wsdl_ex()
436 …ctx->services, (char*)name->children->content, xmlStrlen(name->children->content), trav) == NULL) { in load_wsdl_ex()
442 } else if (!node_is_equal(trav,"documentation")) { in load_wsdl_ex()
443 soap_error1(E_ERROR, "Parsing WSDL: Unexpected WSDL element <%s>", SAFE_STR(trav->name)); in load_wsdl_ex()
445 trav = trav->next; in load_wsdl_ex()
531 xmlNodePtr trav = header->children; in wsdl_soap_binding_header() local
532 while (trav != NULL) { in wsdl_soap_binding_header()
533 if (node_is_equal_ex(trav, "headerfault", wsdl_soap_namespace)) { in wsdl_soap_binding_header()
534 … sdlSoapBindingFunctionHeaderPtr hf = wsdl_soap_binding_header(ctx, trav, wsdl_soap_namespace, 1); in wsdl_soap_binding_header()
552 } else if (is_wsdl_element(trav) && !node_is_equal(trav,"documentation")) { in wsdl_soap_binding_header()
553 soap_error1(E_ERROR, "Parsing WSDL: Unexpected WSDL element <%s>", SAFE_STR(trav->name)); in wsdl_soap_binding_header()
555 trav = trav->next; in wsdl_soap_binding_header()
563 xmlNodePtr body, trav; in wsdl_soap_binding_body() local
566 trav = node->children; in wsdl_soap_binding_body()
567 while (trav != NULL) { in wsdl_soap_binding_body()
568 if (node_is_equal_ex(trav, "body", wsdl_soap_namespace)) { in wsdl_soap_binding_body()
569 body = trav; in wsdl_soap_binding_body()
635 } else if (node_is_equal_ex(trav, "header", wsdl_soap_namespace)) { in wsdl_soap_binding_body()
636 sdlSoapBindingFunctionHeaderPtr h = wsdl_soap_binding_header(ctx, trav, wsdl_soap_namespace, 0); in wsdl_soap_binding_body()
654 } else if (is_wsdl_element(trav) && !node_is_equal(trav,"documentation")) { in wsdl_soap_binding_body()
655 soap_error1(E_ERROR, "Parsing WSDL: Unexpected WSDL element <%s>", SAFE_STR(trav->name)); in wsdl_soap_binding_body()
657 trav = trav->next; in wsdl_soap_binding_body()
663 xmlNodePtr trav, part, message = NULL, tmp; in wsdl_message() local
681 trav = message->children; in wsdl_message()
682 while (trav != NULL) { in wsdl_message()
686 if (trav->ns != NULL && strcmp((char*)trav->ns->href, WSDL_NAMESPACE) != 0) { in wsdl_message()
687 …soap_error1(E_ERROR, "Parsing WSDL: Unexpected extensibility element <%s>", SAFE_STR(trav->name)); in wsdl_message()
689 if (node_is_equal(trav,"documentation")) { in wsdl_message()
690 trav = trav->next; in wsdl_message()
693 if (!node_is_equal(trav,"part")) { in wsdl_message()
694 soap_error1(E_ERROR, "Parsing WSDL: Unexpected WSDL element <%s>", SAFE_STR(trav->name)); in wsdl_message()
696 part = trav; in wsdl_message()
723 trav = trav->next; in wsdl_message()
754 xmlNodePtr trav, port; in load_wsdl() local
759 trav = service->children; in load_wsdl()
760 while (trav != NULL) { in load_wsdl()
768 if (!is_wsdl_element(trav) || node_is_equal(trav,"documentation")) { in load_wsdl()
769 trav = trav->next; in load_wsdl()
772 if (!node_is_equal(trav,"port")) { in load_wsdl()
773 soap_error1(E_ERROR, "Parsing WSDL: Unexpected WSDL element <%s>", SAFE_STR(trav->name)); in load_wsdl()
776 port = trav; in load_wsdl()
817 if (has_soap_port || trav->next || i < n-1) { in load_wsdl()
819 trav = trav->next; in load_wsdl()
870 trav = trav->next; in load_wsdl()
1075 xmlNodePtr trav = soap_fault->children; in load_wsdl() local
1076 while (trav != NULL) { in load_wsdl()
1077 if (node_is_equal_ex(trav, "fault", wsdl_soap_namespace)) { in load_wsdl()
1084 tmp = get_attribute(trav->properties, "use"); in load_wsdl()
1091 tmp = get_attribute(trav->properties, "namespace"); in load_wsdl()
1097 tmp = get_attribute(trav->properties, "encodingStyle"); in load_wsdl()
1110 } else if (is_wsdl_element(trav) && !node_is_equal(trav,"documentation")) { in load_wsdl()
1111 … soap_error1(E_ERROR, "Parsing WSDL: Unexpected WSDL element <%s>", SAFE_STR(trav->name)); in load_wsdl()
1113 trav = trav->next; in load_wsdl()
1162 trav= trav->next; in load_wsdl()