8.5

Table Of Contents
literal
The literal render type returns the contents of a file without any attempt to process it
as a template. Depending on the file's MIME type, the requested project can be displayed
within the browser (for example, if the response is a JPEG file) or saved to disk (for example,
if the response is a Microsoft Word document).
literal
Namespace
The requested file returned in the HTTP response.Response
HTTP Error #401
Incorrect
administration
Alerts
This alert displays if you specify an invalid administrator user name and
password.
realm username
and password.
What to do: Use the user name and password set in theQuarkXPress Server
Manager client Server Configuration dialog box.
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/10/2005 10:04:52 literal/Test1.doc Type: application/vnd.Quark.QuarkXPress Size:
800768 Client: 127.0.0.1
If an alert displays, an error message is written to the QuarkXPress Server error log file. For example:
8/3/2005 17:49:23 Error Error Code: 10022 Incorrect administration realm username and
password.
http://localhost:8080/literal/Story.doc
Example, GET URL
Request object name: LiteralRequest
sdk.QRequestContext rc = new sdk.QRequestContext();
if(!this.DocumentSettings1.documentName.Text.Equals(""))
Example, object
model
rc.documentName = this.DocumentSettings1.documentName.Text;
rc.request = new LiteralRequest();
//Create the service and call it with QRequestContext object
QManagerSDKSvcService svc = new QManagerSDKSvcService();
sdk.QContentData qc = svc.processRequest(rc);
pdf
The pdf render type returns a PDF rendering of a project.
PDF
Namespace
Lets you specify an output style. To use a named
output style, use the name of that output style.
For example:
http://localhost:8080/pdf/
sample.qxp?outputstyle=stylename
stylename,
document
outputstyle
Parameters
To use settings that have been captured with the
Capture Settings in the QuarkXPress Print dialog
box, use document. For example:
http://localhost:8080/pdf/
sample.qxp?outputstyle=document
40 | QXP SERVER 8.5 WEB INTEGRATION GUIDE
USING THE WEB INTERFACE