10.2.1

Table Of Contents
The XML response looks like the following:
<? xml version="1.0" encoding="UTF-8" ?>
<PROJINFO>
Response
<PLATFORM>WINDOWS</PLATFORM>
<VERSION>6.0</VERSION>
<NAME>Sample.qxp</NAME>
<SIZE>1519616 Bytes</SIZE>
<SYNCHRONIZED/>
<LAYOUT>
<NAME>Layout 1</NAME>
<TYPE>Print</TYPE>
<PAGES>4</PAGES>
<PAGEPROPERTIES>
<WIDTH>432</WIDTH>
<LENGTH>756</LENGTH>
</PAGEPROPERTIES>
<NAMEDBOX>
<BOX>box2</BOX>
<BOX>box1</BOX>
</NAMEDBOX>
</LAYOUT>
</PROJINFO>
HTTP Error #500
The getprojinfo
command can
Alerts
This alert displays if you specify a QuarkXPress 4.0 or 5.0 document.
only be used for
QuarkXPress 6
documents and
later.
HTTP Error #401Incorrect
administration
This alert displays if you specify an invalid administrator user name and
password.
realm user name
and password.
What to do: Use the user name and password set in the QuarkXPress Server
Manager client Server Configuration dialog box.
See Understanding loggingLogs
http://localhost:8080/getprojinfo/sample.qxp
Example GET
URL
Request object name: GetProjectInfoRequest
sdk.QRequestContext rc = new sdk.QRequestContext();
Example, object
model
if(!this.DocumentSettings1.documentName.Text.Equals(""))
rc.documentName = this.DocumentSettings1.documentName.Text;
rc.request = new GetProjectInfoRequest();
//Create the service and call it with QRequestContext object
RequestServiceService svc = new RequestServiceService();
QContentData qc = svc.processRequest(rc);
The getprojinfo parameter only works with projects saved in QuarkXPress 6.0 and later.
Notes
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 getprojinfo parameter request.
Getrendererprefs
The getrendererprefs request handler returns the current preference settings for
QuarkXPress Server in XML format.
getrendererprefs
Namespace
156 | A GUIDE TO QUARKXPRESS SERVER 10.2.1
USING QUARKXPRESS SERVER