8.5

Table Of Contents
//Create the service and call it with QRequestContext object
QManagerSDKSvcService svc = new QManagerSDKSvcService();
sdk.QContentData qc = svc.processRequest(rc);
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 setprefs parameter request.
Notes
Shutdown
The shutdown request handler shuts down QuarkXPress Server. QuarkXPress Server then
stops accepting new requests and shuts down after completing all pending transactions.
If you send this request to QuarkXPress Server Manager, a shutdown request is sent to all
registered QuarkXPress servers.
shutdown
Namespace
The message "Shutdown request posted."Response
HTTP Error #401
Incorrect
administration
Alerts
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.
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
11/30/2005 17:40:16 shutdown Type: text/html Size: 24 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/shutdown
Example GET
URL
Request object name: ShutdownRequest
sdk.QRequestContext rc = new sdk.QRequestContext();
if(!this.DocumentSettings1.documentName.Text.Equals(""))
Example, object
model
rc.documentName = this.DocumentSettings1.documentName.Text;
rc.request = new ShutdownRequest();
//Create the service and call it with QRequestContext object
QManagerSDKSvcService svc = new QManagerSDKSvcService();
sdk.QContentData qc = svc.processRequest(rc);
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 fileinfo parameter request.
Notes
When issuing a shutdown request through Web services, the user name and password to be used
for realm verification should be specified using the setUserName and setUserPassword methods
of the QContextRequest object that contains this ShutdownRequest object.
QXP SERVER 8.5 WEB INTEGRATION GUIDE | 133
USING THE WEB INTERFACE