8.0

Table Of Contents
QRequestContext
Description
Argument passed to QManagerSDKSvc. Contain settings that must
be set once per request. All the chained requests are set inside the
request context.
Type
Web Service Data Object
Members
Name
Type
Description
documentName
String
File or object name on which the command will be rendered.
serverName
String
Server name. Default is NULL. Load balancer searches for
the host itself in this case.
serverPort
int
Port at which the desired server is listening.
userName
String
Server admin username.
userPassword
String
Server admin password.
maxRetries
int
Max number of times to try executing the command before
returning failure.
requestTimeout
int
Max time out in milliseconds.
useCache
boolean
Indicates whether the cache should be checked for an
existing result or if the command should be executed again.
responseAsURL
boolean
This value indicates whether the server should send the
response as-is (text or binary) or store the response on the
server and return its location as a URL. Because the object
model works on SOAP, which can be slow when transferring
large binary files, you might choose to set this value to "true" if
you suspect that the response is going to be several
megabytes or larger.
bypassFileInfo
boolean
Indicates whether file info should be fetched before executing
the command.
context
String
Context in which the
command is being
executed.
request
QRequest
QuarkXPress Server request is instances of request objects
chained together.
Example, Object
Model
sdk.QRequestContext rc = new sdk.QRequestContext();
rc.documentName =
this.DocumentSettings1.documentName.Text;
rc.responseAsURL =
this.DocumentSettings1.responseAsURL.Checked;
rc.useCache = this.DocumentSettings1.useCache.Checked;
rc.bypassFileInfo =
this.DocumentSettings1.bypassFileInfo.Checked;
//Create the service and call it QRequestContext object
QManagerSDKSvcService svc = new
QManagerSDKSvcService();
sdk.QContentData qc = svc.processRequest(rc);
Page 12