8.0

Table Of Contents
same or higher version in which it was created.
Logs
If the project is successfully rendered, a transaction success message is written to
the QuarkXPress Server Transaction Log file. The transaction entry consists of the
date and time of the request, render type, project name, type of response
produced by server, size of response returned in bytes, and client IP address.
The following is a sample of a transaction entry:
8/3/2005 12:15:21 - qxpdoc/sample.qxp - Type:
application/vnd.Quark.QuarkXPress - Size: 1519616 - Client: 127.0.0.1
If an alert is displayed, an error message is written to the QuarkXPress Server
error log file. The transaction entry in the error log contains the date and time of the
request, the error code, and the error message.
The following is a sample of an error log transaction entry:
8/3/2005 12:05:00 - Error - Error Code: 10123 - QuarkXPress document return
is disabled.
Example GET
URL
http://localhost:8080/qxpdoc/sample.qxp
Example, Object
Model
Request Object Name :
QuarkXPressRenderRequest
Code Snippet :
//STEP1: Create the QuarkXPress Server Request Context and set the nescessary
properties
sdk.QRequestContext requestCtx = new sdk.QRequestContext();
boolean responseAsURL = false;
requestCtx.setDocumentName(docName);
//STEP 2(SPECIFIC TO REQUESTS):Create the QuarkXpress renderer
request and embed it in the request context.
QuarkXPressRenderRequest qxpreq = new QuarkXPressRenderRequest();
qxpreq.setDocumentVersion(request.getParameter("XpressDocVersion"));
qxpreq.setLayout(request.getParameter("Layout"));
requestCtx.setRequest(qxpreq);
//STEP3: Create the WIG service and call the processRequest() API
QManagerSDKSvcServiceLocator serviceLocator = new
QManagerSDKSvcServiceLocator();
QManagerSDKSvc service = serviceLocator.getqxpsmsdk();
sdk.QContentData data = service.processRequest(requestCtx);
Please refer to the samples for further details on the use of the WIG object model.
Notes
A QuarkXPress project cannot be saved to an earlier version. This
includes QuarkXPress 7 and QuarkXPress 8 projects. However, a
QuarkXPress 8 project can be downsaved to a QuarkXPress 7 project.
To generate a QuarkXPress document without using the qxpdoc
namespace
Click the Server tab in the Server Configuration dialog box. Choose
QuarkXPress Document from the Type drop-down menu in the
Default Render area. Click OK. Now submit the request to generate the
QuarkXPress project without using the qxpdoc namespace.
The following is a sample URL for this type of request:
Page 73