8.1

Table Of Contents
rc.request = new FlushRequest();
//Create the service and call it with QRequestContext object
QManagerSDKSvcService svc = new QManagerSDKSvcService();
sdk.QContentData qc = svc.processRequest(rc);
If a user name and password have been set in the Server Configuration dialog box, the browser
requests that user name and password when you submit a flush parameter request.
Notes
Flushall
Flushes all documents from the cache. When this request is sent to Server Manager using
either HTTP or Web services, the cache of all registered QuarkXPress servers is flushed.
flushall
Namespace
The message "CACHE FLUSH COMPLETED."Response
HTTP Error #401
Incorrect
administration
Alerts
This alert displays if you specify an invalid administrator user name and password.
realm user
What to do: Use the user name and password set in the QuarkXPress Server Manager
client Server Configuration dialog box.
name and
password.
If the request succeeds, a transaction success message is written to the QuarkXPress Server transaction
log file. This message includes the date, time, request type, project name, response type, response
size in bytes, and client IP address. For example:
Logs
11/30/2005 17:37:46 flushall Type: text/html Size: 21 Client: 127.0.0.1
If an alert displays, an error message is written to the QuarkXPress Server error log file. For example:
8/3/2005 17:49:23 Error Error Code: 10022 Incorrect administration realm user name and
password
http://localhost:8080/flushall
Example GET
URL
Request object name: FlushAllRequest
sdk.QRequestContext rc = new sdk.QRequestContext();
Example, object
model
if(!this.DocumentSettings1.documentName.Text.Equals(""))
rc.documentName = this.DocumentSettings1.documentName.Text;
rc.request = new FlushAllRequest();
//Create the service and call it with QRequestContext object
QManagerSDKSvcService svc = new QManagerSDKSvcService();
sdk.QContentData qc = svc.processRequest(rc);
If a user name and password have been set in the Server Configuration dialog box, the browser
requests that user name and password when you submit a flushall parameter request.
Notes
When you issue a flushall request, the memory usage value in the status monitor becomes zero.
Getdocinfo
The getdocinfo request handler returns XML information about a QuarkXPress project
in the document pool. The returned information includes the project version, the platform
on which it was saved, the number of layers, page properties, the length and width of the
page in points, the number of pages, the names of imported picture files, the names of
128 | QXP SERVER 8.1 WEB INTEGRATION GUIDE
USING THE WEB INTERFACE