9.2

Table Of Contents
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.
The "AddFileRequest" sample shows how to use the Apache HttpClient library 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.
JSP samples
These samples have been developed using JSP, for deployment in the same Web server as
that of QuarkXPress Server Manager. They show how to make local calls to QuarkXPress
Server Manager's RequestService to perform various tasks.
By default, these samples are deployed as a separate webapp named "clientsdksamples".
You can access this webapp from the QuarkXPress Server Manager home page.
Objective-C samples
These samples show how to use Objective-C to make QuarkXPress Server requests via the
Web services interface provided by QuarkXPress Server Manager. They demonstrate
document rendering and modifcation under both Mac OS and iOS.
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.
Sample applications legal notice
©2011 Quark Software Inc. as to the content and arrangement of this material. All rights
reserved.
©19862011 Quark Software Inc. and its licensors as to the technology. All rights reserved.
Protected by one or more of U.S. Patent Nos. 5,541,991, 5,907,704, 6,005,560, 6,052,514,
6,081,262, 6,947,959 B1, 6,940,518 B2, 7,116,843 and other patents pending.
Quark Products and materials are subject to the copyright and other intellectual property
protection of the United States and foreign countries. Unauthorized use or reproduction
without Quarks written consent is prohibited.
QUARK IS NOT THE MANUFACTURER OF THIRD PARTY SOFTWARE OR OTHER THIRD
PARTY HARDWARE (HEREINAFTER THIRD PARTY PRODUCTS) AND SUCH THIRD
254 | QXP SERVER 9.2 WEB INTEGRATION GUIDE
SAMPLE APPLICATIONS