2020

Table Of Contents
USING QUARKXPRESS SERVER
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.
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 in points, the number of pages, the names of imported picture files, the
names of any required fonts, the names and IDs of any relevant XTensions modules,
and (for documents saved in QuarkXPress 6.0 or later) information about
synchronized content.
Namespace flushall
Response The message “CACHE FLUSH COMPLETED.”
Alerts
Incorrect
administrati
on realm
user name
and
password.
HTTP Error #401 This alert displays if you specify an invalid
administrator user name and password. What to do: Use the user
name and password set in the QuarkXPress Server Manager client
Server Configuration dialog box.
Logs See “Understanding logging.”
Example GET
URL
http://localhost:8080/flushall
Example,
object model
Request object name: FlushAllRequestsdk.QRequestContext rc = new
sdk.QRequestContext();
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);
Notes
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.When you issue a flushall request, the memory usage value in
the status monitor becomes zero.
Namespace getdocinfo
Response
The XML response looks like the following:<? xml version=”1.0” encoding=”UTF-
8” ?> <PROJINFO> <PLATFORM>WINDOWS</PLATFORM>
<VERSION>7.0</VERSION> <NAME>Sample.qxp</NAME>
<REQUIREDXTENSIONS /> <FONTUSAGE> <FONT>
<NAME>ArialMT</NAME> </FONT> </FONTUSAGE> <LAYOUT>
<NAME>Layout 1</NAME> <TYPE>Print</TYPE> <PAGES>4</PAGES>
<PAGEPROPERTIES> <WIDTH>432</WIDTH> <LENGTH>756</LENGTH>
A GUIDE TO QUARKXPRESS SERVER 2020 | 171