8.1

Table Of Contents
You can also use this parameter to save a copy of a template as
a project. For example:
http://localhost:8080/saveas/
qxpdoc/template.qpt?saveastemplate=false
Lets you specify a layout by name or ID. The first layout is
Layout 1.
String
layout
Render modifier
parameters
A QuarkXPress project.Response
HTTP Error #500QuarkXPress
document return
is disabled.
Alerts
This alert displays if Disable QuarkXPress Document Return is checked in
the Server tab of the QuarkXPress Server Server Configuration dialog box
(QuarkXPress Server > Server Configuration).
HTTP Error #406The renderer for
this image type
This alert displays if you submit a qxpdoc render request with the page, pages,
box, or spread parameter.
has no way of
rendering the
desired objects.
HTTP Error #500Cannot save a
QuarkXPress
This alert displays if you attempt to save a QuarkXPress 6.x project to an earlier
version of QuarkXPress with the qxpdocver parameter.
Project down to an
earlier version.
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/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.
http://localhost:8080/qxpdoc/sample.qxp
Example, GET
URL
Request object name: QuarkXPressRenderRequest
//STEP1: Create the QuarkXPress Server Request
//Context and set the nescessary properties
Example, object
model
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();
QXP SERVER 8.1 WEB INTEGRATION GUIDE | 53
USING THE WEB INTERFACE