#print("</pre>"); #print("<hr />"); #print("<pre>"); #print_r($soapClient->__getTypes()); #print("</pre>"); #print("<hr />"); try { $result = $soapClient->capture(array('modificationRequest' => $rr, 'captureResponse' => $ro)); } catch (SoapFault $exception) { print("<pre>"); print($exception); print("<pre>"); print("<hr />"); printHeaders($soapClient); } print("\nresult = " . $result->captureResult->response); print("\npspreference = " . $result->captureResult->pspReference); print("\n\n"); //====================== Debug Functions ====================== function printHeaders($client) { print("<pre>"); print("Request Headers:<br />"); print($client->__getLastRequestHeaders()); #print(htmlspecialchars($client->__getLastRequestHeaders())); print("<br /><br />Request:<br />"); print($client->__getLastRequest());
$upload_handler = new UploadHandler(getOptionsForMultiUpload($pSet, $field)); $upload_handler->pSet = $pSet; $upload_handler->field = $field; $upload_handler->table = $strTableName; $upload_handler->pageType = $pageType; switch ($requestAction) { case 'DELETE': printHeaders(); $formStamp = postvalue("formStamp"); if ($formStamp != "") { $upload_handler->formStamp = $formStamp; $upload_handler->delete(); } break; case 'POST': printHeaders(); $formStamp = postvalue("formStamp"); if ($formStamp != "") { $upload_handler->formStamp = $formStamp; $upload_handler->post(); } break; case 'GET': default: if ($isPDF) { $isDBFile = isset($params["filename"]); $fileName = isset($params["file"]) ? $params["file"] : $params["filename"]; } else { $isDBFile = postvalue("filename") != ""; $fileName = postvalue("file") != "" ? postvalue("file") : postvalue("filename"); $formStamp = postvalue("fkey");
function printResultTable($result, $title, $attributes, $bound) { echo "<h2>" . $title . "</h2>"; echo "<table class=\"mytable\" spacing=\"30\" cellpadding=\"5\">"; printHeaders($attributes); printResultBounded($result, $bound); echo "</table>"; }