Lines Matching refs:NULL
24 char* envelope_ns = NULL; in parse_packet_soap()
30 HashTable *hdrs = NULL; in parse_packet_soap()
43 add_soap_fault(this_ptr, "Client", "looks like we got no XML document", NULL, NULL); in parse_packet_soap()
46 if (xmlGetIntSubset(response) != NULL) { in parse_packet_soap()
47 add_soap_fault(this_ptr, "Client", "DTD are not supported by SOAP", NULL, NULL); in parse_packet_soap()
53 env = NULL; in parse_packet_soap()
55 while (trav != NULL) { in parse_packet_soap()
57 if (env == NULL && node_is_equal_ex(trav,"Envelope",SOAP_1_1_ENV_NAMESPACE)) { in parse_packet_soap()
61 } else if (env == NULL && node_is_equal_ex(trav,"Envelope",SOAP_1_2_ENV_NAMESPACE)) { in parse_packet_soap()
66 add_soap_fault(this_ptr, "VersionMismatch", "Wrong Version", NULL, NULL); in parse_packet_soap()
73 if (env == NULL) { in parse_packet_soap()
74 …d_soap_fault(this_ptr, "Client", "looks like we got XML without \"Envelope\" element", NULL, NULL); in parse_packet_soap()
80 while (attr != NULL) { in parse_packet_soap()
81 if (attr->ns == NULL) { in parse_packet_soap()
82 …r, "Client", "A SOAP Envelope element cannot have non Namespace qualified attributes", NULL, NULL); in parse_packet_soap()
87 …dd_soap_fault(this_ptr, "Client", "encodingStyle cannot be specified on the Envelope", NULL, NULL); in parse_packet_soap()
91 add_soap_fault(this_ptr, "Client", "Unknown data encoding style", NULL, NULL); in parse_packet_soap()
100 head = NULL; in parse_packet_soap()
102 while (trav != NULL && trav->type != XML_ELEMENT_NODE) { in parse_packet_soap()
105 if (trav != NULL && node_is_equal_ex(trav,"Header",envelope_ns)) { in parse_packet_soap()
111 body = NULL; in parse_packet_soap()
112 while (trav != NULL && trav->type != XML_ELEMENT_NODE) { in parse_packet_soap()
115 if (trav != NULL && node_is_equal_ex(trav,"Body",envelope_ns)) { in parse_packet_soap()
119 while (trav != NULL && trav->type != XML_ELEMENT_NODE) { in parse_packet_soap()
122 if (body == NULL) { in parse_packet_soap()
123 add_soap_fault(this_ptr, "Client", "Body must be present in a SOAP envelope", NULL, NULL); in parse_packet_soap()
128 while (attr != NULL) { in parse_packet_soap()
129 if (attr->ns == NULL) { in parse_packet_soap()
131 …s_ptr, "Client", "A SOAP Body element cannot have non Namespace qualified attributes", NULL, NULL); in parse_packet_soap()
137 add_soap_fault(this_ptr, "Client", "encodingStyle cannot be specified on the Body", NULL, NULL); in parse_packet_soap()
141 add_soap_fault(this_ptr, "Client", "Unknown data encoding style", NULL, NULL); in parse_packet_soap()
148 if (trav != NULL && soap_version == SOAP_1_2) { in parse_packet_soap()
149 …soap_fault(this_ptr, "Client", "A SOAP 1.2 envelope can contain only Header and Body", NULL, NULL); in parse_packet_soap()
154 if (head != NULL) { in parse_packet_soap()
156 while (attr != NULL) { in parse_packet_soap()
157 if (attr->ns == NULL) { in parse_packet_soap()
158 …ptr, "Client", "A SOAP Header element cannot have non Namespace qualified attributes", NULL, NULL); in parse_packet_soap()
163 … add_soap_fault(this_ptr, "Client", "encodingStyle cannot be specified on the Header", NULL, NULL); in parse_packet_soap()
167 add_soap_fault(this_ptr, "Client", "Unknown data encoding style", NULL, NULL); in parse_packet_soap()
178 if (fault != NULL) { in parse_packet_soap()
179 char *faultcode = NULL; in parse_packet_soap()
180 zend_string *faultstring = NULL, *faultactor = NULL; in parse_packet_soap()
187 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
192 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
199 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
206 if (tmp != NULL) { in parse_packet_soap()
207 master_to_zval(&details, NULL, tmp); in parse_packet_soap()
211 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
213 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
219 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
222 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
230 if (tmp != NULL) { in parse_packet_soap()
231 master_to_zval(&details, NULL, tmp); in parse_packet_soap()
234 …tr, faultcode, faultstring ? ZSTR_VAL(faultstring) : NULL, faultactor ? ZSTR_VAL(faultactor) : NUL… in parse_packet_soap()
251 while (resp != NULL && resp->type != XML_ELEMENT_NODE) { in parse_packet_soap()
254 if (resp != NULL) { in parse_packet_soap()
255 if (fn != NULL && fn->binding && fn->binding->bindingType == BINDING_SOAP) { in parse_packet_soap()
257 sdlParamPtr param = NULL; in parse_packet_soap()
258 xmlNodePtr val = NULL; in parse_packet_soap()
259 char *name, *ns = NULL; in parse_packet_soap()
300 if (val == NULL) { in parse_packet_soap()
303 if (val == NULL) { in parse_packet_soap()
306 if (val == NULL && cur->children && cur->children->next == NULL) { in parse_packet_soap()
323 if (param != NULL) { in parse_packet_soap()
326 master_to_zval(&tmp, NULL, val); in parse_packet_soap()
338 while (val != NULL) { in parse_packet_soap()
342 if (val != NULL) { in parse_packet_soap()
347 master_to_zval(&tmp, NULL, val); in parse_packet_soap()
349 …end_hash_str_find(Z_ARRVAL_P(return_value), (char*)val->name, strlen((char*)val->name))) != NULL) { in parse_packet_soap()
392 while (trav != NULL) { in parse_packet_soap()
394 encodePtr enc = NULL; in parse_packet_soap()
407 if ((hdr = zend_hash_find_ptr(hdrs, key.s)) != NULL) { in parse_packet_soap()