Lines Matching refs:NULL
27 char* envelope_ns = NULL; in parse_packet_soap()
33 HashTable *hdrs = NULL; in parse_packet_soap()
46 add_soap_fault(this_ptr, "Client", "looks like we got no XML document", NULL, NULL); in parse_packet_soap()
49 if (xmlGetIntSubset(response) != NULL) { in parse_packet_soap()
50 add_soap_fault(this_ptr, "Client", "DTD are not supported by SOAP", NULL, NULL); in parse_packet_soap()
56 env = NULL; in parse_packet_soap()
58 while (trav != NULL) { in parse_packet_soap()
60 if (env == NULL && node_is_equal_ex(trav,"Envelope",SOAP_1_1_ENV_NAMESPACE)) { in parse_packet_soap()
64 } else if (env == NULL && node_is_equal_ex(trav,"Envelope",SOAP_1_2_ENV_NAMESPACE)) { in parse_packet_soap()
69 add_soap_fault(this_ptr, "VersionMismatch", "Wrong Version", NULL, NULL); in parse_packet_soap()
76 if (env == NULL) { in parse_packet_soap()
77 …d_soap_fault(this_ptr, "Client", "looks like we got XML without \"Envelope\" element", NULL, NULL); in parse_packet_soap()
83 while (attr != NULL) { in parse_packet_soap()
84 if (attr->ns == NULL) { in parse_packet_soap()
85 …r, "Client", "A SOAP Envelope element cannot have non Namespace qualified attributes", NULL, NULL); in parse_packet_soap()
90 …dd_soap_fault(this_ptr, "Client", "encodingStyle cannot be specified on the Envelope", NULL, NULL); in parse_packet_soap()
94 add_soap_fault(this_ptr, "Client", "Unknown data encoding style", NULL, NULL); in parse_packet_soap()
103 head = NULL; in parse_packet_soap()
105 while (trav != NULL && trav->type != XML_ELEMENT_NODE) { in parse_packet_soap()
108 if (trav != NULL && node_is_equal_ex(trav,"Header",envelope_ns)) { in parse_packet_soap()
114 body = NULL; in parse_packet_soap()
115 while (trav != NULL && trav->type != XML_ELEMENT_NODE) { in parse_packet_soap()
118 if (trav != NULL && node_is_equal_ex(trav,"Body",envelope_ns)) { in parse_packet_soap()
122 while (trav != NULL && trav->type != XML_ELEMENT_NODE) { in parse_packet_soap()
125 if (body == NULL) { in parse_packet_soap()
126 add_soap_fault(this_ptr, "Client", "Body must be present in a SOAP envelope", NULL, NULL); in parse_packet_soap()
131 while (attr != NULL) { in parse_packet_soap()
132 if (attr->ns == NULL) { in parse_packet_soap()
134 …s_ptr, "Client", "A SOAP Body element cannot have non Namespace qualified attributes", NULL, NULL); in parse_packet_soap()
140 add_soap_fault(this_ptr, "Client", "encodingStyle cannot be specified on the Body", NULL, NULL); in parse_packet_soap()
144 add_soap_fault(this_ptr, "Client", "Unknown data encoding style", NULL, NULL); in parse_packet_soap()
151 if (trav != NULL && soap_version == SOAP_1_2) { in parse_packet_soap()
152 …soap_fault(this_ptr, "Client", "A SOAP 1.2 envelope can contain only Header and Body", NULL, NULL); in parse_packet_soap()
157 if (head != NULL) { in parse_packet_soap()
159 while (attr != NULL) { in parse_packet_soap()
160 if (attr->ns == NULL) { in parse_packet_soap()
161 …ptr, "Client", "A SOAP Header element cannot have non Namespace qualified attributes", NULL, NULL); in parse_packet_soap()
166 … add_soap_fault(this_ptr, "Client", "encodingStyle cannot be specified on the Header", NULL, NULL); in parse_packet_soap()
170 add_soap_fault(this_ptr, "Client", "Unknown data encoding style", NULL, NULL); in parse_packet_soap()
181 if (fault != NULL) { in parse_packet_soap()
182 char *faultcode = NULL; in parse_packet_soap()
183 zend_string *faultstring = NULL, *faultactor = NULL; in parse_packet_soap()
190 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
195 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
202 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
209 if (tmp != NULL) { in parse_packet_soap()
210 master_to_zval(&details, NULL, tmp); in parse_packet_soap()
214 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
216 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
222 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
225 if (tmp != NULL && tmp->children != NULL) { in parse_packet_soap()
233 if (tmp != NULL) { in parse_packet_soap()
234 master_to_zval(&details, NULL, tmp); in parse_packet_soap()
237 …tr, faultcode, faultstring ? ZSTR_VAL(faultstring) : NULL, faultactor ? ZSTR_VAL(faultactor) : NUL… in parse_packet_soap()
254 while (resp != NULL && resp->type != XML_ELEMENT_NODE) { in parse_packet_soap()
257 if (resp != NULL) { in parse_packet_soap()
258 if (fn != NULL && fn->binding && fn->binding->bindingType == BINDING_SOAP) { in parse_packet_soap()
260 sdlParamPtr param = NULL; in parse_packet_soap()
261 xmlNodePtr val = NULL; in parse_packet_soap()
262 char *name, *ns = NULL; in parse_packet_soap()
303 if (val == NULL) { in parse_packet_soap()
306 if (val == NULL) { in parse_packet_soap()
309 if (val == NULL && cur->children && cur->children->next == NULL) { in parse_packet_soap()
326 if (param != NULL) { in parse_packet_soap()
329 master_to_zval(&tmp, NULL, val); in parse_packet_soap()
341 while (val != NULL) { in parse_packet_soap()
345 if (val != NULL) { in parse_packet_soap()
350 master_to_zval(&tmp, NULL, val); in parse_packet_soap()
352 …end_hash_str_find(Z_ARRVAL_P(return_value), (char*)val->name, strlen((char*)val->name))) != NULL) { in parse_packet_soap()
395 while (trav != NULL) { in parse_packet_soap()
397 encodePtr enc = NULL; in parse_packet_soap()
410 if ((hdr = zend_hash_find_ptr(hdrs, key.s)) != NULL) { in parse_packet_soap()