Lines Matching refs:debug

493 					$this->debug("In serialize_val, used class name $name as element name");
495 …$this->debug("In serialize_val, do not override name $name for element name for class " . get_clas…
1043 $this->debug('xmlschema class instantiated, inside constructor');
1054 $this->debug('initial schema file: '.$schema);
1060 $this->debug('initial xml file: '.$xml);
1081 $this->debug($msg);
1084 $this->debug("parsing $xml");
1086 $this->debug("done parsing $xml");
1128 $this->debug($errstr);
1129 $this->debug("XML payload:\n" . $xml);
1135 $this->debug('no xml passed to parseString()!!');
1603 $this->debug('<' . $this->schemaTargetNamespace . '> '.$string);
2046 $this->debug('set User-Agent: ' . $this->outgoing_headers['User-Agent']);
2054 $this->debug("$k = $v");
2081 $this->debug('set Host: ' . $this->outgoing_headers['Host']);
2101 …$this->debug("connect connection_timeout $connection_timeout, response_timeout $response_timeout, …
2106 $this->debug('Re-use persistent connection');
2110 $this->debug('Closed persistent connection at EOF');
2119 …$this->debug('calling fsockopen with host ' . $host . ' connection_timeout ' . $connection_timeout…
2136 $this->debug($msg);
2142 $this->debug('set response timeout to ' . $response_timeout);
2145 $this->debug('socket connected');
2152 $this->debug('connect using https');
2178 $this->debug('set Connection: ' . $this->outgoing_headers['Connection']);
2224 $this->debug('cURL connection set up');
2228 $this->debug('Unknown scheme ' . $this->scheme);
2245 $this->debug('entered send() with data of length: '.strlen($data));
2268 $this->debug('end of send()');
2298 $this->debug("Set credentials for authtype $authtype");
2353 …$this->debug('set Authorization: ' . substr($this->outgoing_headers['Authorization'], 0, 12) . '..…
2355 $this->debug('Authorization header not set');
2367 $this->debug('set SOAPAction: ' . $this->outgoing_headers['SOAPAction']);
2380 $this->debug('set Accept-Encoding: ' . $this->outgoing_headers['Accept-Encoding']);
2384 $this->debug('set Connection: ' . $this->outgoing_headers['Connection']);
2407 $this->debug('set Proxy-Authorization: ' . $this->outgoing_headers['Proxy-Authorization']);
2430 $this->debug('no linebreak found in decodeChunked');
2438 $this->debug("chunkstart: $chunkstart chunk_size: $chunk_size");
2476 $this->debug('set Content-Length: ' . $this->outgoing_headers['Content-Length']);
2480 $this->debug("HTTP request: $req");
2486 $this->debug("HTTP header: $hdr");
2493 $this->debug("HTTP header: $hdr");
2515 $this->debug('couldn\'t write message data to socket');
2518 $this->debug('wrote data to socket, length = ' . strlen($this->outgoing_payload));
2538 $this->debug('set cURL payload');
2554 $this->debug('found no headers before EOF after length ' . strlen($data));
2555 $this->debug("received before EOF:\n" . $data);
2562 $this->debug("read line of $tmplen bytes: " . trim($tmp));
2566 $this->debug('socket read of headers timed out after length ' . strlen($data));
2567 $this->debug("read before timeout: " . $data);
2590 $this->debug('found end of headers after length ' . strlen($data));
2606 $this->debug('found cookie: ' . $cookie['name'] . ' = ' . $cookie['value']);
2608 $this->debug('did not find cookie in ' . trim($arr[1]));
2621 $this->debug("want to read chunked content");
2625 $this->debug("want to read content of length $content_length");
2629 $this->debug("want to read content to EOF");
2636 $this->debug("read chunk line of $tmplen bytes");
2639 $this->debug('socket read of chunk length timed out after length ' . strlen($data));
2640 $this->debug("read before timeout:\n" . $data);
2645 $this->debug("chunk length $content_length");
2652 $this->debug("read buffer of $tmplen bytes");
2655 $this->debug('socket read of body timed out after length ' . strlen($data));
2656 $this->debug("read before timeout:\n" . $data);
2666 $this->debug("read chunk terminator of $tmplen bytes");
2669 $this->debug('socket read of chunk terminator timed out after length ' . strlen($data));
2670 $this->debug("read before timeout:\n" . $data);
2677 $this->debug('read to EOF');
2679 $this->debug('read body of length ' . strlen($data));
2681 $this->debug('received a total of '.strlen($this->incoming_payload).' bytes of data from server');
2689 $this->debug('closed socket');
2711 $this->debug('send and receive with cURL');
2722 $this->debug($err);
2732 $this->debug('No cURL error, closing cURL');
2750 $this->debug('no proper separation of headers and document');
2757 $this->debug('found proper separation of headers and document');
2758 $this->debug('cleaned data, stringlen: '.strlen($data));
2770 $this->debug('found cookie: ' . $cookie['name'] . ' = ' . $cookie['value']);
2772 $this->debug('did not find cookie in ' . trim($arr[1]));
2789 $this->debug("Got 301 $http_reason with Location: " . $this->incoming_headers['location']);
2797 …$this->debug("Got 401 $http_reason with WWW-Authenticate: " . $this->incoming_headers['www-authent…
2799 $this->debug('Server wants digest authentication');
2817 $this->debug('HTTP authentication failed');
2839 $this->debug('The gzinflate function exists');
2844 $this->debug('The payload has been inflated to ' . strlen($data) . ' bytes');
2847 $this->debug('The inflated payload is smaller than the gzipped one; try again');
2850 $this->debug('The payload has been inflated again to ' . strlen($data) . ' bytes');
2854 $this->debug('Error using gzinflate to inflate the payload');
2860 $this->debug('The payload has been un-gzipped to ' . strlen($data) . ' bytes');
2863 $this->debug('The un-gzipped payload is smaller than the gzipped one; try again');
2866 $this->debug('The payload has been un-gzipped again to ' . strlen($data) . ' bytes');
2870 $this->debug('Error using gzinflate to un-gzip the payload');
2879 …$this->debug('The server sent compressed data. Your php install must have the Zlib extension compi…
2883 $this->debug('Unsupported Content-Encoding ' . $this->incoming_headers['content-encoding']);
2887 $this->debug('No Content-Encoding header');
2891 $this->debug('no data after headers!');
2901 $this->debug('set Content-Type: ' . $this->outgoing_headers['Content-Type']);
2911 $this->debug('set Connection: ' . $this->outgoing_headers['Connection']);
2996 $this->debug("check cookie for validity: ".$cookie['name'].'='.$cookie['value']);
2999 $this->debug('cookie has expired');
3006 $this->debug('cookie has different domain');
3013 $this->debug('cookie is for a different path');
3018 $this->debug('cookie is secure, transport is not');
3022 $this->debug('add cookie to Cookie-String: ' . $cookie['name'] . '=' . $cookie['value']);
3198 global $debug;
3202 $this->debug("_SERVER is defined:");
3205 $this->debug("HTTP_SERVER_VARS is defined:");
3208 $this->debug("Neither _SERVER nor HTTP_SERVER_VARS is defined.");
3211 if (isset($debug)) {
3212 $this->debug("In soap_server, set debug_flag=$debug based on global flag");
3213 $this->debug_flag = $debug;
3218 $this->debug("In soap_server, set debug_flag=" . substr($v, 6) . " based on query string #1");
3226 $this->debug("In soap_server, set debug_flag=" . substr($v, 6) . " based on query string #2");
3234 $this->debug("In soap_server, WSDL is specified");
3238 $this->debug('Use existing wsdl instance from ' . $this->externalWSDLURL);
3240 $this->debug('Create wsdl from ' . $wsdl);
3268 $this->debug("In service, query string=$qs");
3271 $this->debug("In service, this is a request for WSDL");
3284 $this->debug('wsdl:');
3293 $this->debug("In service, there is no data, so return Web description");
3296 $this->debug("In service, invoke the request");
3326 $this->debug("In parse_http_headers, use getallheaders");
3332 $this->debug("$k: $v");
3351 $this->debug("In parse_http_headers, use _SERVER");
3382 $this->debug("$k: $v");
3385 $this->debug("In parse_http_headers, use HTTP_SERVER_VARS");
3416 $this->debug("$k: $v");
3419 $this->debug("In parse_http_headers, HTTP headers not accessible");
3447 $this->debug('entering parse_request()');
3449 $this->debug('got character encoding: '.$this->xml_encoding);
3452 $this->debug('got content encoding: ' . $this->headers['content-encoding']);
3473 $this->debug('leaving parse_request');
3494 …$this->debug('in invoke_method, methodname=' . $this->methodname . ' methodURI=' . $this->methodUR…
3498 $this->debug('in invoke_method, found WSDL operation=' . $this->methodname);
3502 …$this->debug('in invoke_method, found WSDL soapAction=' . $this->SOAPAction . ' for operation=' . …
3506 $this->debug('in invoke_method, no WSDL for operation=' . $this->methodname);
3511 $this->debug('in invoke_method, no WSDL to validate method');
3532 $this->debug("in invoke_method, class=$class method=$method delim=$delim");
3538 $this->debug("in invoke_method, function '$this->methodname' not found!");
3546 $this->debug("in invoke_method, method '$this->methodname' not found in class '$class'!");
3557 $this->debug('ERROR: request not verified against method signature');
3565 $this->debug('in invoke_method, params:');
3567 $this->debug("in invoke_method, calling '$this->methodname'");
3570 $this->debug('in invoke_method, calling function using eval()');
3574 $this->debug('in invoke_method, calling class method using eval()');
3577 $this->debug('in invoke_method, calling instance method using eval()');
3595 $this->debug('in invoke_method, function call: '.$funcCall);
3599 $this->debug('in invoke_method, calling function using call_user_func_array()');
3602 $this->debug('in invoke_method, calling class method using call_user_func_array()');
3605 $this->debug('in invoke_method, calling instance method using call_user_func_array()');
3611 $this->debug('in invoke_method, methodreturn:');
3613 …$this->debug("in invoke_method, called method $this->methodname, received $this->methodreturn of t…
3628 …$this->debug('Entering serialize_return methodname: ' . $this->methodname . ' methodURI: ' . $this…
3631 $this->debug('got a fault object from method');
3638 $this->debug('got a(n) '.gettype($this->methodreturn).' from method');
3639 $this->debug('serializing return value');
3652 $this->debug('got wsdl error: '.$errstr);
3661 $this->debug('in absence of WSDL, assume void return for backward compatibility');
3665 $this->debug('return value:');
3668 $this->debug('serializing response');
3670 $this->debug('have WSDL for serialization: style is ' . $this->opData['style']);
3672 $this->debug('style is rpc for serialization: use is ' . $this->opData['output']['use']);
3679 $this->debug('style is not rpc for serialization: assume document');
3683 $this->debug('do not have WSDL for serialization: assume rpc/encoded');
3701 $this->debug("Leaving serialize_return");
3715 $this->debug('Enter send_response');
3813 …$this->debug('Entering parseRequest() for data of length ' . strlen($data) . ' and type ' . $heade…
3820 $this->debug('Got response encoding: ' . $enc);
3830 $this->debug('Use encoding: ' . $this->xml_encoding . ' when creating soap_parser');
3834 $this->debug("parser debug: \n".$parser->getDebug());
3844 $this->debug('methodname: '.$this->methodname.' methodURI: '.$this->methodURI);
3845 $this->debug('calling parser->get_response()');
4135 $this->debug('initial wsdl URL: ' . $wsdl);
4165 $this->debug("Unexpected scenario: empty URL for unloaded import");
4191 $this->debug("Unexpected scenario: empty URL for unloaded import");
4201 $this->debug('post-parse data gathering for ' . $operation);
4236 $this->debug('no wsdl passed to parseWSDL()!!');
4245 $this->debug('getting WSDL http(s) URL ' . $wsdl);
4261 $this->debug($errstr);
4267 $this->debug("got WSDL URL");
4275 $this->debug('getting WSDL file ' . $path);
4284 $this->debug($errstr);
4289 $this->debug('Parse WSDL');
4310 $this->debug($errstr);
4311 $this->debug("XML payload:\n" . $wsdl_string);
4317 $this->debug('Parsing WSDL done');
4340 $this->debug('Parsing WSDL schema');
4397 …$this->debug("msg " . $this->currentMessage . ": found part $attrs[name]: " . implode(',', $attrs)…
4401 …$this->debug("msg " . $this->currentMessage . ": found part $attrs[name]: " . implode(',', $attrs)…
4410 … $this->debug("portType $this->currentPortType operation: $this->currentPortOperation");
4446 $this->debug("current binding operation: $this->currentOperation");
4471 $this->debug('current port: ' . $this->currentPort);
4489 …$this->debug('parsing import ' . $attrs['namespace']. ' - ' . $attrs['location'] . ' (' . count($t…
4495 …$this->debug('parsing import ' . $attrs['namespace']. ' - [no location] (' . count($this->import[$…
4522 $this->debug("current binding: $this->currentBinding of portType: " . $attrs['type']);
4528 $this->debug('current service: ' . $this->serviceName);
4553 $this->debug('Parsing WSDL schema done');
4873 * @param mixed $debug whether to put debug=1 in endpoint URL
4877 function serialize($debug = 0) argument
4995 $xml .= '<soap:address location="' . $attrs['location'] . ($debug ? '?debug=1' : '') . '"/>';
5018 …$this->debug("in serializeRPCParameters: operation=$operation, direction=$direction, XMLSchemaVers…
5022 $this->debug('The value of the \$direction argument needs to be either "input" or "output"');
5027 $this->debug('Unable to retrieve WSDL data for operation: ' . $operation);
5031 $this->debug('opData:');
5097 …$this->debug("in serializeParameters: operation=$operation, direction=$direction, XMLSchemaVersion…
5101 $this->debug('The value of the \$direction argument needs to be either "input" or "output"');
5106 $this->debug('Unable to retrieve WSDL data for operation: ' . $operation);
5110 $this->debug('opData:');
5223 $this->debug('in serializeType: type namespace indicates XML Schema or SOAP Encoding type');
5237 $this->debug("in serializeType: returning: $xml");
5266 $this->debug("in serializeType: returning: $xml");
5269 $this->debug('custom type extends XML Schema or SOAP Encoding namespace (yuck)');
5275 $this->debug('in serializeType: Add namespace for Apache SOAP type');
5283 $this->debug("serializing map element: key $k, value $v");
5298 $this->debug("in serializeType: returning: $xml");
5301 $this->debug('in serializeType: Apache SOAP type, but only support Map');
5306 $this->debug("in serializeType: No namespace for type $type");
5312 $this->debug("in serializeType: $type ($uqType) is not a supported type.");
5315 $this->debug("in serializeType: found typeDef");
5319 …$this->debug("in serializeType: uqType: $uqType, ns: $ns, phptype: $phpType, arrayType: " . (isset…
5344 $this->debug("in serializeType: returning: $xml");
5365 $this->debug("in serializeType: phpType is struct, but value is not an array");
5393 $this->debug("in serializeType: returning: $xml");
5410 $this->debug("serializing array element: $k, $v of type: $typeDef[arrayType]");
5457 $this->debug("in serializeType: returning: $xml");
5474 $this->debug("serialize attributes for XML Schema type $ns:$uqType");
5480 $this->debug("value is neither an array nor an object for XML Schema type $ns:$uqType");
5486 $this->debug("value provided for attribute $aName with key $xname");
5489 $this->debug("value provided for attribute $aName with key $xname");
5493 $this->debug('use default value of ' . $xvalue[$aName] . ' for attribute ' . $aName);
5496 $this->debug("no value provided for attribute $aName");
5503 $this->debug("no attributes to serialize for XML Schema type $ns:$uqType");
5512 $this->debug("serialize attributes for extension base $ns:$uqType");
5515 $this->debug("extension base $ns:$uqType is not a supported type");
5536 …$this->debug("in serializeComplexTypeElements, serialize elements for XML Schema type $ns:$uqType"…
5542 $this->debug("value is neither an array nor an object for XML Schema type $ns:$uqType");
5553 $this->debug('use default value of ' . $xvalue[$eName] . ' for element ' . $eName);
5562 …$this->debug("apparent error: no value provided for element $eName with minOccurs=" . $attrs['minO…
5565 …$this->debug("no value provided for complexType element $eName and element is not nillable, so ser…
5586 $this->debug("calling serialize_val() for $v, $eName, false, false, false, false, $use");
5596 $this->debug("calling serialize_val() for $v, $eName, false, false, false, false, $use");
5603 $this->debug("no elements to serialize for XML Schema type $ns:$uqType");
5612 $this->debug("serialize elements for extension base $ns:$uqType");
5615 $this->debug("extension base $ns:$uqType is not a supported type");
5861 $this->debug($err);
5868 $this->debug('Charset from HTTP Content-Type matches encoding from XML declaration');
5871 $this->debug('No encoding specified in XML declaration');
5874 $this->debug('No XML declaration');
5876 $this->debug('Entering soap_parser(), length='.strlen($xml).', encoding='.$encoding);
5895 $this->debug($err);
5896 $this->debug("XML payload:\n" . $xml);
5899 …$this->debug('parsed successfully, found root struct: '.$this->root_struct.' of name '.$this->root…
5909 $this->debug('resolving multirefs for id: '.$id);
5915 $this->debug('resolving href at pos '.$refPos);
5923 $this->debug('xml was empty, didn\'t parse!');
5978 $this->debug("found root struct $this->root_struct_name, pos $this->root_struct");
6059 $this->debug("found root struct $this->root_struct_name, pos $pos");
6257 $this->debug('Decode base64 value');
6287 …$this->debug('in buildVal() for '.$this->message[$pos]['name']."(pos $pos) of type ".$this->messag…
6290 $this->debug('in buildVal, there are children');
6298 $this->debug("in buildVal, got an MD array element: $r, $c");
6308 $this->debug('in buildVal, adding array '.$this->message[$pos]['name']);
6347 $this->debug('in buildVal, handling attributes');
6354 $this->debug('in buildVal, handling simpleContent');
6368 $this->debug('in buildVal, no children, building scalar');
6490 $this->debug('existing wsdl instance created from ' . $this->endpoint);
6495 $this->debug('instantiating wsdl class with doc: '.$endpoint);
6502 $this->debug('got wsdl error: '.$errstr);
6505 $this->debug( 'got '.count($this->operations).' operations from wsdl '.$this->wsdlFile);
6508 $this->debug( 'getOperations returned false');
6512 $this->debug("instantiate SOAP with endpoint at $endpoint");
6643 $this->debug("wrapping RPC request with literal method element");
6650 $this->debug("wrapping RPC request with encoded method element");
6664 …$this->debug("endpoint=$this->endpoint, soapAction=$soapAction, namespace=$namespace, style=$style…
6665 …$this->debug('SOAP message length=' . strlen($soapmsg) . ' contents (max 1000 bytes)=' . substr($s…
6669 $this->debug('Error: '.$errstr);
6673 $this->debug('sent message successfully and got a(n) '.gettype($return));
6678 $this->debug('got fault');
6683 $this->debug("$k = $v<br>");
6700 $this->debug('return shifted value: ');
6722 $this->debug("No data for operation: $operation");
6745 $this->debug('transporting via HTTP');
6765 $this->debug('sending message, length='.strlen($msg));
6799 …$this->debug('got response, length='. strlen($this->responseData).' type='.$http->incoming_headers…
6819 …$this->debug('Entering parseResponse() for data of length ' . strlen($data) . ' and type ' . $head…
6826 $this->debug('Got response encoding: ' . $enc);
6836 $this->debug('Use encoding: ' . $this->xml_encoding . ' when creating soap_parser');
7230 $this->debug('Update cookie ' . $newName . '=' . $newCookie['value']);
7234 $this->debug('Add cookie ' . $newName . '=' . $newCookie['value']);