9.5

Table Of Contents
http://localhost:8080/jobjacket/myproject.qxp
Example GET
URL
Request object name: JobJacketRequest
com.quark.qxpsm.QRequestContext rc = new com.quark.qxpsm.QRequestContext();
Example, object
model
if(!this.DocumentSettings1.documentName.Text.Equals(""))
rc.documentName = this.DocumentSettings1.documentName.Text;
rc.request = new JobJacketRequest();
//Create the service and call it with QRequestContext object
RequestService svc = new RequestService();
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 getrendererprefs parameter request.
Notes
Preflight
Use the preflight request handler to check a project for missing fonts and missing
pictures prior to output. You can also use this request handler to determine if the platform
on which a project was created is different from the platform on which QuarkXPress Server
is running.
The preflight request handler has been deprecated. Use the evaluate request handler
instead. For more information, see "Evaluate."
preflight
Namespace
The XML response looks like the following:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<PREFLIGHT>
Response
<PLATFORMMISMATCH>TRUE</PLATFORMMISMATCH>
<MISSINGFONT>MidashiGoPro-MB31</MISSINGFONT>
<MISSINGPICTURE>/QuarkXPress Server Documents/images/illus_eps.eps
</MISSINGPICTURE>
</PREFLIGHT>
HTTP Error #404
File not foundAlerts
QuarkXPress Server Error #43
This alert displays if you try to delete a file that is not available to QuarkXPress
Server.
See Understanding loggingLogs
To preflight a project in the root folder:
http://localhost:8080/preflight/abc.qxp
Example GET
URL
To preflight a binary file in a subfolder:
http://localhost:8080/preflight/sub1/abc.qxp
Request object name: PreflightRequest
com.quark.qxpsm.QRequestContext rc = new com.quark.qxpsm.QRequestContext();
Example, object
model
if(!this.DocumentSettings1.documentName.Text.Equals(""))
rc.documentName = this.DocumentSettings1.documentName.Text;
A GUIDE TO QUARKXPRESS SERVER 9.5 | 163
USING QUARKXPRESS SERVER