8.1

Table Of Contents
8/3/2005 17:49:23 Error Error Code: 10022 Incorrect administration realm user name and
password.
http://localhost:8080/getserverinfo
Example GET
URL
Request object name: GetServerInfoRequest
sdk.QRequestContext rc = new sdk.QRequestContext();
Example, object
model
if(!this.DocumentSettings1.documentName.Text.Equals(""))
rc.documentName = this.DocumentSettings1.documentName.Text;
rc.request = new GetServerInfoRequest();
//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 getserverinfo 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.
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 does not exist in the document
pool.
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
8/3/2004 19:24:12 preflight/p1.qxp Type: text/xml Size: 22 Client: 127.0.0.1
If an alert displays, an error message is written to the QuarkXPress Server error log file.
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
134 | QXP SERVER 8.1 WEB INTEGRATION GUIDE
USING THE WEB INTERFACE