Lines Matching refs:debug

452     		$this->debug("serialize_val: serialize null");
456 $this->debug("serialize_val returning $xml");
465 $this->debug("serialize_val returning $xml");
471 $this->debug("serialize_val: serialize xsd built-in primitive type");
483 $this->debug("serialize_val returning $xml");
487 $this->debug("serialize_val returning $xml");
495 $this->debug("serialize_val: serialize boolean");
508 $this->debug("serialize_val: serialize int");
516 $this->debug("serialize_val: serialize float");
524 $this->debug("serialize_val: serialize string");
533 $this->debug("serialize_val: serialize object");
535 $this->debug("serialize_val: serialize soapval object");
542 $this->debug("In serialize_val, used class name $name as element name");
544 …$this->debug("In serialize_val, do not override name $name for element name for class " . get_clas…
566 $this->debug("serialize_val: serialize array");
628 $this->debug("serialize_val: serialize struct");
1124 $this->debug('nusoap_xmlschema class instantiated, inside constructor');
1135 $this->debug('initial schema file: '.$schema);
1141 $this->debug('initial xml file: '.$xml);
1162 $this->debug($msg);
1165 $this->debug("parsing $xml");
1167 $this->debug("done parsing $xml");
1209 $this->debug($errstr);
1210 $this->debug("XML payload:\n" . $xml);
1216 $this->debug('no xml passed to parseString()!!');
1707 $this->debug('<' . $this->schemaTargetNamespace . '> '.$string);
2169 $this->debug("ctor url=$url use_curl=$use_curl curl_options:");
2188 $this->debug("setCurlOption option=$option, value=");
2202 $this->debug("set header $name: $value");
2213 $this->debug("unset header $name");
2229 $this->debug("parsed URL $k = $v");
2297 …$this->debug("connect connection_timeout $connection_timeout, response_timeout $response_timeout, …
2310 $this->debug('Re-use persistent connection');
2314 $this->debug('Closed persistent connection at EOF');
2321 …$this->debug('calling fsockopen with host ' . $host . ' connection_timeout ' . $connection_timeout…
2338 $this->debug($msg);
2344 $this->debug('set response timeout to ' . $response_timeout);
2347 $this->debug('socket connected');
2381 $this->debug('connect using cURL');
2391 $this->debug('safe_mode or open_basedir set, so do not set CURLOPT_FOLLOWLOCATION');
2392 $this->debug('safe_mode = ');
2394 $this->debug('open_basedir = ');
2427 $this->debug('set cURL SSL verify options');
2437 $this->debug('set cURL certificate options');
2467 $this->debug('set cURL username/password');
2471 $this->debug('set cURL for Basic authentication');
2475 $this->debug('set cURL for digest authentication');
2479 $this->debug('set cURL for NTLM authentication');
2484 $this->debug('set cURL proxy options');
2491 $this->debug('set cURL proxy authentication options');
2501 $this->debug('cURL connection set up');
2505 $this->debug('Unknown scheme ' . $this->scheme);
2522 $this->debug('entered send() with data of length: '.strlen($data));
2545 $this->debug('end of send()');
2576 $this->debug("setCredentials username=$username authtype=$authtype digestRequest=");
2578 $this->debug("certRequest=");
2632 $this->debug('Authorization header not set for certificate');
2635 $this->debug('Authorization header not set for ntlm');
2696 $this->debug('remove proxy');
2747 $this->debug('no linebreak found in decodeChunked');
2755 $this->debug("chunkstart: $chunkstart chunk_size: $chunk_size");
2810 $this->debug("HTTP request: $req");
2816 $this->debug("HTTP header: $hdr");
2823 $this->debug("HTTP header: $hdr");
2853 $this->debug('couldn\'t write message data to socket');
2856 $this->debug('wrote data to socket, length = ' . strlen($this->outgoing_payload));
2867 $this->debug("Skip cURL header $k: $v");
2876 $this->debug('set cURL HTTP headers');
2880 $this->debug('set cURL POST data');
2888 $this->debug('set cURL payload');
2910 $this->debug('found no headers before EOF after length ' . strlen($data));
2911 $this->debug("received before EOF:\n" . $data);
2918 $this->debug("read line of $tmplen bytes: " . trim($tmp));
2922 $this->debug('socket read of headers timed out after length ' . strlen($data));
2923 $this->debug("read before timeout: " . $data);
2946 $this->debug('found end of headers after length ' . strlen($data));
2962 $this->debug('found cookie: ' . $cookie['name'] . ' = ' . $cookie['value']);
2964 $this->debug('did not find cookie in ' . trim($arr[1]));
2977 $this->debug("want to read chunked content");
2981 $this->debug("want to read content of length $content_length");
2985 $this->debug("want to read content to EOF");
2992 $this->debug("read chunk line of $tmplen bytes");
2995 $this->debug('socket read of chunk length timed out after length ' . strlen($data));
2996 $this->debug("read before timeout:\n" . $data);
3001 $this->debug("chunk length $content_length");
3008 $this->debug("read buffer of $tmplen bytes");
3011 $this->debug('socket read of body timed out after length ' . strlen($data));
3012 $this->debug("read before timeout:\n" . $data);
3022 $this->debug("read chunk terminator of $tmplen bytes");
3025 $this->debug('socket read of chunk terminator timed out after length ' . strlen($data));
3026 $this->debug("read before timeout:\n" . $data);
3033 $this->debug('read to EOF');
3035 $this->debug('read body of length ' . strlen($data));
3037 $this->debug('received a total of '.strlen($this->incoming_payload).' bytes of data from server');
3045 $this->debug('closed socket');
3067 $this->debug('send and receive with cURL');
3078 $this->debug($err);
3088 $this->debug('No cURL error, closing cURL');
3094 $this->debug("Found HTTP header to skip");
3120 $this->debug('no proper separation of headers and document');
3127 $this->debug('found proper separation of headers and document');
3128 $this->debug('cleaned data, stringlen: '.strlen($data));
3140 $this->debug('found cookie: ' . $cookie['name'] . ' = ' . $cookie['value']);
3142 $this->debug('did not find cookie in ' . trim($arr[1]));
3160 …$this->debug("Got $http_status $http_reason with Location: " . $this->incoming_headers['location']…
3168 …$this->debug("Got 401 $http_reason with WWW-Authenticate: " . $this->incoming_headers['www-authent…
3170 $this->debug('Server wants digest authentication');
3188 $this->debug('HTTP authentication failed');
3210 $this->debug('The gzinflate function exists');
3215 $this->debug('The payload has been inflated to ' . strlen($data) . ' bytes');
3218 $this->debug('The inflated payload is smaller than the gzipped one; try again');
3221 $this->debug('The payload has been inflated again to ' . strlen($data) . ' bytes');
3225 $this->debug('Error using gzinflate to inflate the payload');
3231 $this->debug('The payload has been un-gzipped to ' . strlen($data) . ' bytes');
3234 $this->debug('The un-gzipped payload is smaller than the gzipped one; try again');
3237 $this->debug('The payload has been un-gzipped again to ' . strlen($data) . ' bytes');
3241 $this->debug('Error using gzinflate to un-gzip the payload');
3250 …$this->debug('The server sent compressed data. Your php install must have the Zlib extension compi…
3254 $this->debug('Unsupported Content-Encoding ' . $this->incoming_headers['content-encoding']);
3258 $this->debug('No Content-Encoding header');
3262 $this->debug('no data after headers!');
3378 $this->debug("check cookie for validity: ".$cookie['name'].'='.$cookie['value']);
3381 $this->debug('cookie has expired');
3388 $this->debug('cookie has different domain');
3395 $this->debug('cookie is for a different path');
3400 $this->debug('cookie is secure, transport is not');
3404 $this->debug('add cookie to Cookie-String: ' . $cookie['name'] . '=' . $cookie['value']);
3585 global $debug;
3589 $this->debug("_SERVER is defined:");
3592 $this->debug("HTTP_SERVER_VARS is defined:");
3595 $this->debug("Neither _SERVER nor HTTP_SERVER_VARS is defined.");
3598 if (isset($debug)) {
3599 $this->debug("In nusoap_server, set debug_flag=$debug based on global flag");
3600 $this->debug_flag = $debug;
3605 … $this->debug("In nusoap_server, set debug_flag=" . substr($v, 6) . " based on query string #1");
3613 … $this->debug("In nusoap_server, set debug_flag=" . substr($v, 6) . " based on query string #2");
3621 $this->debug("In nusoap_server, WSDL is specified");
3625 $this->debug('Use existing wsdl instance from ' . $this->externalWSDLURL);
3627 $this->debug('Create wsdl from ' . $wsdl);
3655 $this->debug("In service, query string=$qs");
3658 $this->debug("In service, this is a request for WSDL");
3671 $this->debug('wsdl:');
3680 $this->debug("In service, there is no data, so return Web description");
3683 $this->debug("In service, invoke the request");
3713 $this->debug("In parse_http_headers, use getallheaders");
3719 $this->debug("$k: $v");
3738 $this->debug("In parse_http_headers, use _SERVER");
3769 $this->debug("$k: $v");
3772 $this->debug("In parse_http_headers, use HTTP_SERVER_VARS");
3803 $this->debug("$k: $v");
3806 $this->debug("In parse_http_headers, HTTP headers not accessible");
3834 $this->debug('entering parse_request()');
3836 $this->debug('got character encoding: '.$this->xml_encoding);
3839 $this->debug('got content encoding: ' . $this->headers['content-encoding']);
3860 $this->debug('leaving parse_request');
3881 …$this->debug('in invoke_method, methodname=' . $this->methodname . ' methodURI=' . $this->methodUR…
3901 $this->debug('in invoke_method, found WSDL operation=' . $this->methodname);
3905 …$this->debug('in invoke_method, found WSDL soapAction=' . $this->SOAPAction . ' for operation=' . …
3909 $this->debug('in invoke_method, no WSDL for operation=' . $this->methodname);
3914 $this->debug('in invoke_method, no WSDL to validate method');
3937 $this->debug("in invoke_method, class=$class method=$method delim=$delim");
3943 $this->debug("in invoke_method, function '$this->methodname' not found!");
3952 $this->debug("in invoke_method, method '$this->methodname' not found in class '$class'!");
3963 $this->debug('ERROR: request not verified against method signature');
3971 $this->debug('in invoke_method, params:');
3973 $this->debug("in invoke_method, calling '$this->methodname'");
3976 $this->debug('in invoke_method, calling function using eval()');
3980 $this->debug('in invoke_method, calling class method using eval()');
3983 $this->debug('in invoke_method, calling instance method using eval()');
4001 $this->debug('in invoke_method, function call: '.$funcCall);
4005 $this->debug('in invoke_method, calling function using call_user_func_array()');
4008 $this->debug('in invoke_method, calling class method using call_user_func_array()');
4011 $this->debug('in invoke_method, calling instance method using call_user_func_array()');
4027 $this->debug('in invoke_method, methodreturn:');
4029 …$this->debug("in invoke_method, called method $this->methodname, received data of type ".gettype($…
4044 …$this->debug('Entering serialize_return methodname: ' . $this->methodname . ' methodURI: ' . $this…
4047 $this->debug('got a fault object from method');
4054 $this->debug('got a(n) '.gettype($this->methodreturn).' from method');
4055 $this->debug('serializing return value');
4058 $this->debug('more than one output part, so use the method return unchanged');
4061 $this->debug('exactly one output part, so wrap the method return in a simple array');
4072 $this->debug('got wsdl error: '.$errstr);
4081 $this->debug('in absence of WSDL, assume void return for backward compatibility');
4085 $this->debug('return value:');
4088 $this->debug('serializing response');
4090 $this->debug('have WSDL for serialization: style is ' . $this->opData['style']);
4092 $this->debug('style is rpc for serialization: use is ' . $this->opData['output']['use']);
4100 $this->debug('style is not rpc for serialization: assume document');
4104 $this->debug('do not have WSDL for serialization: assume rpc/encoded');
4129 $this->debug("Leaving serialize_return");
4143 $this->debug('Enter send_response');
4242 …$this->debug('Entering parseRequest() for data of length ' . strlen($data) . ' and type ' . $heade…
4249 $this->debug('Got response encoding: ' . $enc);
4259 $this->debug('Use encoding: ' . $this->xml_encoding . ' when creating nusoap_parser');
4263 $this->debug("parser debug: \n".$parser->getDebug());
4273 $this->debug('methodname: '.$this->methodname.' methodURI: '.$this->methodURI);
4274 $this->debug('calling parser->get_soapbody()');
4586 $this->debug("ctor wsdl=$wsdl timeout=$timeout response_timeout=$response_timeout");
4605 $this->debug("parse and process WSDL path=$wsdl");
4638 $this->debug("Unexpected scenario: empty URL for unloaded import");
4664 $this->debug("Unexpected scenario: empty URL for unloaded import");
4674 $this->debug('post-parse data gathering for ' . $operation);
4708 $this->debug("parse WSDL at path=$wsdl");
4711 $this->debug('no wsdl passed to parseWSDL()!!');
4720 $this->debug('getting WSDL http(s) URL ' . $wsdl);
4739 $this->debug($errstr);
4745 $this->debug("got WSDL URL");
4753 $this->debug('getting WSDL file ' . $path);
4762 $this->debug($errstr);
4767 $this->debug('Parse WSDL');
4788 $this->debug($errstr);
4789 $this->debug("XML payload:\n" . $wsdl_string);
4795 $this->debug('Parsing WSDL done');
4818 $this->debug('Parsing WSDL schema');
4875 …$this->debug("msg " . $this->currentMessage . ": found part (with type) $attrs[name]: " . implode(…
4879 …$this->debug("msg " . $this->currentMessage . ": found part (with element) $attrs[name]: " . implo…
4888 … $this->debug("portType $this->currentPortType operation: $this->currentPortOperation");
4924 $this->debug("current binding operation: $this->currentOperation");
4949 $this->debug('current port: ' . $this->currentPort);
4967 …$this->debug('parsing import ' . $attrs['namespace']. ' - ' . $attrs['location'] . ' (' . count($t…
4973 …$this->debug('parsing import ' . $attrs['namespace']. ' - [no location] (' . count($this->import[$…
5000 $this->debug("current binding: $this->currentBinding of portType: " . $attrs['type']);
5006 $this->debug('current service: ' . $this->serviceName);
5031 $this->debug('Parsing WSDL schema done');
5075 $this->debug("setCredentials username=$username authtype=$authtype certRequest=");
5199 $this->debug("in getTypeDef: type=$type, ns=$ns");
5202 $this->debug("in getTypeDef: type namespace forced to $ns");
5207 $this->debug("in getTypeDef: replacing schema namespace $ns with $ns0");
5214 $this->debug("in getTypeDef: have schema for namespace $ns");
5227 $this->debug("found type for [element] $type:");
5228 $this->debug($this->varDump($etype));
5244 $this->debug("in getTypeDef: do not have schema for namespace $ns");
5383 * @param mixed $debug whether to put debug=1 in endpoint URL
5387 function serialize($debug = 0) argument
5509 …$xml .= "\n" . ' <soap:address location="' . $attrs['location'] . ($debug ? '?debug=1' : '') . …
5527 $this->debug("in parametersMatchWrapped type=$type, parameters=");
5534 $this->debug("in parametersMatchWrapped: got a prefixed type: $uqType, $ns");
5537 $this->debug("in parametersMatchWrapped: expanded prefixed type: $uqType, $ns");
5542 $this->debug("in parametersMatchWrapped: No namespace for type $type");
5549 $this->debug("in parametersMatchWrapped: $type ($uqType) is not a supported type.");
5552 $this->debug("in parametersMatchWrapped: found typeDef=");
5559 …$this->debug("in parametersMatchWrapped: uqType: $uqType, ns: $ns, phptype: $phpType, arrayType: $…
5563 $this->debug("in parametersMatchWrapped: not a struct");
5573 …$this->debug("in parametersMatchWrapped: (wrapped return value kludge) correct number of elements …
5578 $this->debug("in parametersMatchWrapped: change parameter $element to name $name");
5583 $this->debug("in parametersMatchWrapped: have parameter named $name");
5586 $this->debug("in parametersMatchWrapped: do not have parameter named $name");
5591 …$this->debug("in parametersMatchWrapped: $matches parameter names match $elements wrapped paramete…
5600 $this->debug("in parametersMatchWrapped: no elements type $ns:$uqType");
5620 …$this->debug("in serializeRPCParameters: operation=$operation, direction=$direction, XMLSchemaVers…
5624 $this->debug('The value of the \$direction argument needs to be either "input" or "output"');
5629 …$this->debug('Unable to retrieve WSDL data for operation: ' . $operation . ' bindingType: ' . $bin…
5633 $this->debug('in serializeRPCParameters: opData:');
5661 $this->debug('wrap the parameters for the caller');
5668 $this->debug("serializing part $name of type $type");
5680 $this->debug('calling serializeType w/indexed param');
5683 $this->debug('calling serializeType w/named param');
5687 $this->debug('calling serializeType w/null param');
5692 $this->debug('no parameters passed.');
5695 $this->debug("serializeRPCParameters returning: $xml");
5715 …$this->debug("in serializeParameters: operation=$operation, direction=$direction, XMLSchemaVersion…
5719 $this->debug('The value of the \$direction argument needs to be either "input" or "output"');
5724 $this->debug('Unable to retrieve WSDL data for operation: ' . $operation);
5728 $this->debug('opData:');
5841 $this->debug('in serializeType: type namespace indicates XML Schema or SOAP Encoding type');
5855 $this->debug("in serializeType: returning: $xml");
5907 $this->debug("in serializeType: returning: $xml");
5910 $this->debug('custom type extends XML Schema or SOAP Encoding namespace (yuck)');
5916 $this->debug('in serializeType: Add namespace for Apache SOAP type');
5924 $this->debug("serializing map element: key $k, value $v");
5939 $this->debug("in serializeType: returning: $xml");
5942 $this->debug('in serializeType: Apache SOAP type, but only support Map');
5947 $this->debug("in serializeType: No namespace for type $type");
5953 $this->debug("in serializeType: $type ($uqType) is not a supported type.");
5956 $this->debug("in serializeType: found typeDef");
5963 …$this->debug("in serializeType: uqType: $uqType, ns: $ns, phptype: $phpType, arrayType: " . (isset…
5988 $this->debug("in serializeType: returning: $xml");
6009 $this->debug("in serializeType: phpType is struct, but value is not an array");
6037 $this->debug("in serializeType: returning: $xml");
6054 $this->debug("serializing array element: $k, $v of type: $typeDef[arrayType]");
6101 $this->debug("in serializeType: returning: $xml");
6118 $this->debug("serialize attributes for XML Schema type $ns:$uqType");
6124 $this->debug("value is neither an array nor an object for XML Schema type $ns:$uqType");
6130 $this->debug("value provided for attribute $aName with key $xname");
6133 $this->debug("value provided for attribute $aName with key $xname");
6137 $this->debug('use default value of ' . $xvalue[$aName] . ' for attribute ' . $aName);
6140 $this->debug("no value provided for attribute $aName");
6147 $this->debug("no attributes to serialize for XML Schema type $ns:$uqType");
6156 $this->debug("serialize attributes for extension base $ns:$uqType");
6159 $this->debug("extension base $ns:$uqType is not a supported type");
6180 …$this->debug("in serializeComplexTypeElements, serialize elements for XML Schema type $ns:$uqType"…
6186 $this->debug("value is neither an array nor an object for XML Schema type $ns:$uqType");
6197 $this->debug('use default value of ' . $xvalue[$eName] . ' for element ' . $eName);
6206 …$this->debug("apparent error: no value provided for element $eName with minOccurs=" . $attrs['minO…
6209 …$this->debug("no value provided for complexType element $eName and element is not nillable, so ser…
6230 $this->debug("calling serialize_val() for $v, $eName, false, false, false, false, $use");
6240 $this->debug("calling serialize_val() for $v, $eName, false, false, false, false, $use");
6247 $this->debug("no elements to serialize for XML Schema type $ns:$uqType");
6256 $this->debug("serialize elements for extension base $ns:$uqType");
6259 $this->debug("extension base $ns:$uqType is not a supported type");
6509 $this->debug($err);
6516 $this->debug('Charset from HTTP Content-Type matches encoding from XML declaration');
6519 $this->debug('No encoding specified in XML declaration');
6522 $this->debug('No XML declaration');
6524 $this->debug('Entering nusoap_parser(), length='.strlen($xml).', encoding='.$encoding);
6543 $this->debug($err);
6544 $this->debug("XML payload:\n" . $xml);
6547 …$this->debug('parsed successfully, found root struct: '.$this->root_struct.' of name '.$this->root…
6557 $this->debug('resolving multirefs for id: '.$id);
6563 $this->debug('resolving href at pos '.$refPos);
6571 $this->debug('xml was empty, didn\'t parse!');
6626 $this->debug("found root struct $this->root_struct_name, pos $this->root_struct");
6711 $this->debug("found root struct $this->root_struct_name, pos $pos");
6930 $this->debug('Decode base64 value');
6960 …$this->debug('in buildVal() for '.$this->message[$pos]['name']."(pos $pos) of type ".$this->messag…
6963 $this->debug('in buildVal, there are children');
6971 $this->debug("in buildVal, got an MD array element: $r, $c");
6981 $this->debug('in buildVal, adding array '.$this->message[$pos]['name']);
7020 $this->debug('in buildVal, handling attributes');
7027 $this->debug('in buildVal, handling simpleContent');
7040 $this->debug('in buildVal, return:');
7044 $this->debug('in buildVal, no children, building scalar');
7048 $this->debug("in buildVal, return: $ret");
7054 $this->debug("in buildVal, return: $ret");
7058 $this->debug("in buildVal, return: $ret");
7175 $this->debug("ctor wsdl=$wsdl timeout=$timeout response_timeout=$response_timeout");
7184 $this->debug('existing wsdl instance created from ' . $this->endpoint);
7189 $this->debug('will use lazy evaluation of wsdl from ' . $this->endpoint);
7193 $this->debug("instantiate SOAP with endpoint at $endpoint");
7329 $this->debug("wrapping RPC request with literal method element");
7339 $this->debug("wrapping RPC request with encoded method element");
7353 …$this->debug("endpoint=$this->endpoint, soapAction=$soapAction, namespace=$namespace, style=$style…
7354 …$this->debug('SOAP message length=' . strlen($soapmsg) . ' contents (max 1000 bytes)=' . substr($s…
7358 $this->debug('Error: '.$errstr);
7362 $this->debug('sent message successfully and got a(n) '.gettype($return));
7367 $this->debug('got fault');
7372 $this->debug("$k = $v<br>");
7389 $this->debug('return shifted value: ');
7408 $this->debug('checkWSDL');
7411 $this->debug('got wsdl error: '.$errstr);
7415 …$this->debug('got '.count($this->operations).' operations from wsdl '.$this->wsdlFile.' for bindin…
7418 …$this->debug('got '.count($this->operations).' operations from wsdl '.$this->wsdlFile.' for bindin…
7419 $this->debug('**************** WARNING: SOAP 1.2 BINDING *****************');
7421 $this->debug('getOperations returned false');
7432 $this->debug('instantiating wsdl class with doc: '.$this->wsdlFile);
7455 $this->debug("No data for operation: $operation");
7478 $this->debug('transporting via HTTP');
7498 $this->debug('sending message, length='.strlen($msg));
7532 …$this->debug('got response, length='. strlen($this->responseData).' type='.$http->incoming_headers…
7552 $this->debug('Entering parseResponse() for data of length ' . strlen($data) . ' headers:');
7560 $this->debug('Got response encoding: ' . $enc);
7570 $this->debug('Use encoding: ' . $this->xml_encoding . ' when creating nusoap_parser');
7604 $this->debug("setCurlOption option=$option, value=");
7616 $this->debug("setEndpoint(\"$endpoint\")");
7627 $this->debug("setHeaders headers=");
7678 $this->debug("setCredentials username=$username authtype=$authtype certRequest=");
7693 $this->debug("setHTTPEncoding(\"$enc\")");
7704 $this->debug("setUseCURL($use)");
7714 $this->debug("useHTTPPersistentConnection");
7760 $this->debug("Error from _getProxyClassCode, so return NULL");
7804 $this->debug("in getProxy endpointType=$this->endpointType");
8026 $this->debug('Update cookie ' . $newName . '=' . $newCookie['value']);
8030 $this->debug('Add cookie ' . $newName . '=' . $newCookie['value']);