Lines Matching refs:trav
321 xmlNodePtr root, definitions, trav; in load_wsdl_ex() local
364 trav = definitions->children; in load_wsdl_ex()
365 while (trav != NULL) { in load_wsdl_ex()
366 if (!is_wsdl_element(trav)) { in load_wsdl_ex()
367 trav = trav->next; in load_wsdl_ex()
370 if (node_is_equal(trav,"types")) { in load_wsdl_ex()
372 xmlNodePtr trav2 = trav->children; in load_wsdl_ex()
382 } else if (node_is_equal(trav,"import")) { in load_wsdl_ex()
384 xmlAttrPtr tmp = get_attribute(trav->properties, "location"); in load_wsdl_ex()
387 xmlChar *base = xmlNodeGetBase(trav->doc, trav); in load_wsdl_ex()
390 uri = xmlBuildURI(tmp->children->content, trav->doc->URL); in load_wsdl_ex()
399 } else if (node_is_equal(trav,"message")) { in load_wsdl_ex()
400 xmlAttrPtr name = get_attribute(trav->properties, "name"); in load_wsdl_ex()
402 …ctx->messages, (char*)name->children->content, xmlStrlen(name->children->content), trav) == NULL) { in load_wsdl_ex()
409 } else if (node_is_equal(trav,"portType")) { in load_wsdl_ex()
410 xmlAttrPtr name = get_attribute(trav->properties, "name"); in load_wsdl_ex()
412 …tx->portTypes, (char*)name->children->content, xmlStrlen(name->children->content), trav) == NULL) { in load_wsdl_ex()
419 } else if (node_is_equal(trav,"binding")) { in load_wsdl_ex()
420 xmlAttrPtr name = get_attribute(trav->properties, "name"); in load_wsdl_ex()
422 …ctx->bindings, (char*)name->children->content, xmlStrlen(name->children->content), trav) == NULL) { in load_wsdl_ex()
429 } else if (node_is_equal(trav,"service")) { in load_wsdl_ex()
430 xmlAttrPtr name = get_attribute(trav->properties, "name"); in load_wsdl_ex()
432 …ctx->services, (char*)name->children->content, xmlStrlen(name->children->content), trav) == NULL) { in load_wsdl_ex()
438 } else if (!node_is_equal(trav,"documentation")) { in load_wsdl_ex()
439 soap_error1(E_ERROR, "Parsing WSDL: Unexpected WSDL element <%s>", trav->name); in load_wsdl_ex()
441 trav = trav->next; in load_wsdl_ex()
527 xmlNodePtr trav = header->children; in wsdl_soap_binding_header() local
528 while (trav != NULL) { in wsdl_soap_binding_header()
529 if (node_is_equal_ex(trav, "headerfault", wsdl_soap_namespace)) { in wsdl_soap_binding_header()
530 … sdlSoapBindingFunctionHeaderPtr hf = wsdl_soap_binding_header(ctx, trav, wsdl_soap_namespace, 1); in wsdl_soap_binding_header()
548 } else if (is_wsdl_element(trav) && !node_is_equal(trav,"documentation")) { in wsdl_soap_binding_header()
549 soap_error1(E_ERROR, "Parsing WSDL: Unexpected WSDL element <%s>", trav->name); in wsdl_soap_binding_header()
551 trav = trav->next; in wsdl_soap_binding_header()
559 xmlNodePtr body, trav; in wsdl_soap_binding_body() local
562 trav = node->children; in wsdl_soap_binding_body()
563 while (trav != NULL) { in wsdl_soap_binding_body()
564 if (node_is_equal_ex(trav, "body", wsdl_soap_namespace)) { in wsdl_soap_binding_body()
565 body = trav; in wsdl_soap_binding_body()
631 } else if (node_is_equal_ex(trav, "header", wsdl_soap_namespace)) { in wsdl_soap_binding_body()
632 sdlSoapBindingFunctionHeaderPtr h = wsdl_soap_binding_header(ctx, trav, wsdl_soap_namespace, 0); in wsdl_soap_binding_body()
650 } else if (is_wsdl_element(trav) && !node_is_equal(trav,"documentation")) { in wsdl_soap_binding_body()
651 soap_error1(E_ERROR, "Parsing WSDL: Unexpected WSDL element <%s>", trav->name); in wsdl_soap_binding_body()
653 trav = trav->next; in wsdl_soap_binding_body()
659 xmlNodePtr trav, part, message = NULL, tmp; in wsdl_message() local
677 trav = message->children; in wsdl_message()
678 while (trav != NULL) { in wsdl_message()
682 if (trav->ns != NULL && strcmp((char*)trav->ns->href, WSDL_NAMESPACE) != 0) { in wsdl_message()
683 soap_error1(E_ERROR, "Parsing WSDL: Unexpected extensibility element <%s>", trav->name); in wsdl_message()
685 if (node_is_equal(trav,"documentation")) { in wsdl_message()
686 trav = trav->next; in wsdl_message()
689 if (!node_is_equal(trav,"part")) { in wsdl_message()
690 soap_error1(E_ERROR, "Parsing WSDL: Unexpected WSDL element <%s>", trav->name); in wsdl_message()
692 part = trav; in wsdl_message()
719 trav = trav->next; in wsdl_message()
749 xmlNodePtr trav, port; in load_wsdl() local
754 trav = service->children; in load_wsdl()
755 while (trav != NULL) { in load_wsdl()
763 if (!is_wsdl_element(trav) || node_is_equal(trav,"documentation")) { in load_wsdl()
764 trav = trav->next; in load_wsdl()
767 if (!node_is_equal(trav,"port")) { in load_wsdl()
768 soap_error1(E_ERROR, "Parsing WSDL: Unexpected WSDL element <%s>", trav->name); in load_wsdl()
771 port = trav; in load_wsdl()
812 if (has_soap_port || trav->next || i < n-1) { in load_wsdl()
814 trav = trav->next; in load_wsdl()
865 trav = trav->next; in load_wsdl()
1070 xmlNodePtr trav = soap_fault->children; in load_wsdl() local
1071 while (trav != NULL) { in load_wsdl()
1072 if (node_is_equal_ex(trav, "fault", wsdl_soap_namespace)) { in load_wsdl()
1079 tmp = get_attribute(trav->properties, "use"); in load_wsdl()
1086 tmp = get_attribute(trav->properties, "namespace"); in load_wsdl()
1092 tmp = get_attribute(trav->properties, "encodingStyle"); in load_wsdl()
1105 } else if (is_wsdl_element(trav) && !node_is_equal(trav,"documentation")) { in load_wsdl()
1106 soap_error1(E_ERROR, "Parsing WSDL: Unexpected WSDL element <%s>", trav->name); in load_wsdl()
1108 trav = trav->next; in load_wsdl()
1155 trav= trav->next; in load_wsdl()