2016

Table Of Contents
that the reference class should be declared using "type=reference" as
explained above.
readonly: If this value is true, this field is for read-only purposes and
should be ignored during serialization.
hidden: If this value is true, this field should be generated as a private
variable. As such, it would not be included in WSDL.
deprecated: If this value is true, this field has been deprecated, should
not be used, is not supported, and will be removed in a future version of
QuarkXPress Server.
cdata: If this value is true, the value of this field is to be wrapped in
a cdata section before being sent to QuarkXPress Server. This is valid
only if the field is "value", that is value of the element in modifier XML.
<others>: If any other attributes are defined, a class field with the
name as <name>_<others> is created, and you can write your own
implementation for it.
Using the RequestParameters class
RequestParameters is a generic request class that can be used in lieu of any class, existing
or otherwise.
RequestParameters has a namespace property, which can be used to send any request.
For example:
RequestParameters requestParameters = new RequestParameters();
requestParameters.setRequestNamespace("jpeg");
It also has an array of dynamic parameters, which can be used to parameterize the
request. For example:
NameValueParam param = new NameValueParam();
param.setParamName("scale");
param.setTextValue("1");
requestParameters.setParams(new NameValueParam[]{param });
It can also be executed using the QuarkXPress Server Manager Web service API. For
example:
QRequestContext qRequestContext = new QRequestContext();
qRequestContext.setRequest(requestParameters);
Sample applications
The topics below describe the sample applications distributed with QuarkXPress Server.
Sample applications: QXP Server Manager
These sample applications are available in the QuarkXPress Server installation package.
ASP.NET samples
This sample application consists of Web pages that demonstrate different ways the
object model can be used to post QuarkXPress Server requests for various operations.
To use this application:
A GUIDE TO QUARKXPRESS SERVER 2016 | 179
USING QUARKXPRESS SERVER