2015

Table Of Contents
http://localhost:8080/flush/sample.qxp
Example GET
URL
Request object name: FlushRequest
sdk.QRequestContext rc = new sdk.QRequestContext();
Example, object
model
if(!this.DocumentSettings1.documentName.Text.Equals(""))
rc.documentName = this.DocumentSettings1.documentName.Text;
rc.request = new FlushRequest();
//Create the service and call it with QRequestContext object
RequestServiceService svc = new RequestServiceService();
com.quark.qxpsm.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
name and
password.
What to do: Use the user name and password set in the QuarkXPress Server
Manager client Server Configuration dialog box.
See Understanding loggingLogs
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
RequestServiceService svc = new RequestServiceService();
com.quark.qxpsm.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 that is in the document pool or has been supplied as part of a multipart HTTP
request. 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
152 | A GUIDE TO QUARKXPRESS SERVER 2015
USING QUARKXPRESS SERVER