10.1

Table Of Contents
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:
1
Create a virtual directory (for example, "ClientSDKSamplesSite") in IIS.
2
Copy the sample from [QuarkXPress Server Manager application
folder]\XDK\samples\asp.net\clientsdksamples and set the home path of
the Web demo to the virtual directory.
3
Set the endpoint address for Web services calls in the "web.config" file like so:
configuration - >appSettings - >add
key="com.quark.qxpsm.RequestService" value= "End Point Address"
A GUIDE TO QUARKXPRESS SERVER 10.1 | 175
USING QUARKXPRESS SERVER