8.5

Table Of Contents
An XML description of QuarkXPress Server preference settings.Response
HTTP Error #401
Incorrect
administration
Alerts
This alert displays if you specify an invalid administrator user name and password.
realm user
What to do: Use the user name and password set in the QuarkXPress Server Manager
client Server Configuration dialog box.
name and
password.
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/4/2004 10:10:43 getprefs Type: text/xml Size: 2636 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 user name and
password.
http://localhost:8080/getprefs
Example GET
URL
Request object name: GetPreferencesRequest
sdk.QRequestContext rc = new sdk.QRequestContext();
Example, object
model
if(!this.DocumentSettings1.documentName.Text.Equals(""))
rc.documentName = this.DocumentSettings1.documentName.Text;
rc.request = new GetPreferencesRequest();
//Create the service and call it with QRequestContext object
QManagerSDKSvcService svc = new QManagerSDKSvcService();
sdk.QContentData qc = svc.processRequest(rc);
The getprefs request handler returns preference settings for server configuration and Status
Monitor. It does not return other preference settings, such as the settings for Deconstruct and PDF
workflow.
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 getprefs parameter request.
Getprocessid
The getprocessid request handler returns the process IDs of the master QuarkXPress
Server instance and of all subrender processes running on the computer.
getprocessid
Namespace
An XML description of the process IDs of the master QuarkXPress Server instance and of all subrender
processes running on the computer. For example:
<PROCESSID>
<MASTER>
Response
<ID>3936</ID>
<STATUS>BUSY</STATUS>
</MASTER>
<SUBRENDERERS>
<SUBRENDERER>
<ID>1736</ID>
<STATUS>BUSY</STATUS>
</SUBRENDERER>
</SUBRENDERERS>
</PROCESSID>
128 | QXP SERVER 8.5 WEB INTEGRATION GUIDE
USING THE WEB INTERFACE