9.5

Table Of Contents
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"
4
Restart IIS.
5
In a browser, enter the following URL: http://<IIS Server
Name>:<Port>/ClientSDKSamplesSite/Index.htm
C# samples
These samples show how to use C# to take advantage of bullets and numbering, callouts,
and conditional styles with QuarkXPress Server requests transmitted via the QuarkXPress
Server Manager Web services interface. They use .NET Web service stubs provided by the
QuarkXPress Server Manager SDK.
The "AddFileRequest" sample shows how to make servlet requests to QuarkXPress Server
Manager, instead of using QuarkXPress Server Manager Web service stubs. Web services
use SOAP to pass data, and SOAP is not designed to transfer large amounts of data, so
Quark recommends using the servlet interface to upload and download files in a production
environment.
Java samples
These samples show how to use Java to take advantage of bullets and numbering, callouts,
and conditional styles with QuarkXPress Server requests transmitted via the QuarkXPress
Server Manager Web services interface. They use Java Web service stubs provided by the
QuarkXPress Server Manager SDK.
A GUIDE TO QUARKXPRESS SERVER 9.5 | 183
USING QUARKXPRESS SERVER