9.2

Table Of Contents
Server name. Default is NULL. Load balancer searches for the host
itself in this case.
String
serverName
Port at which the desired server is listening.Integer
serverPort
Server admin username.String
userName
Server admin password.String
userPassword
Max number of times to try executing the command before
returning failure.
Integer
maxRetries
Max time out in milliseconds.Integer
requestTimeout
Indicates whether the cache should be checked for an existing
result or if the command should be executed again.
Boolean
useCache
This value indicates whether the server should send the response
as-is (text or binary) or store the response on the server and return
Boolean
responseAsURL
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.
Indicates whether file info should be fetched before executing the
command.
Boolean
bypassFileInfo
Context in which the command is being executed.String
context
QuarkXPress Server request is instances of request objects chained
together.
QRequestrequest
com.quark.qxpsm.QRequestContext rc = new com.quark.qxpsm.QRequestContext();
rc.documentName = this.DocumentSettings1.documentName.Text;
Example, object
model
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
RequestService svc = new RequestService();
com.quark.qxpsm.QContentData qc = svc.processRequest(rc);
RequestService
Web service called to process the QuarkXPress Server request. RequestService has a generic method
named processRequest() that takes QRequestContext as an argument and returns QContentData
as the QuarkXPress Server response.
Description
Web serviceType
Processes the request context and returns the result.
processRequest
Methods
DescriptionTypeParameter
Argument passed to
RequestService. Contains settings
QRequestContextrequestCmd
that must be set once per request.
All chained requests are set inside
the request context.
QXP SERVER 9.2 WEB INTEGRATION GUIDE | 21
GETTING STARTED