8.0

Table Of Contents
Getting started: Web services
The Web services interface is a collection of request classes. You can easily download and use the
corresponding SDK WSDL class definitions from here:
http://<server>:<port>/quark/services/qxpsmsdk?wsdl
Note: Replace <server> above with the IP address of the QuarkXPress Server Manager computer, and
<port> with the port number on which to contact QuarkXPress Server Manager. The default port is
8090 for QuarkXPress Server Manager.
These classes can be chained together to form compound QuarkXPress Server requests. The samples
distributed as part of this documentation demonstrate how these classes can be used to invoke a
QuarkXPress Server command and manipulate the response.
To determine which class provides access to a particular QuarkXPress Server functionality, see the
Function overview
. In addition to the classes listed there, the Web services interface includes the following:
QManagerSDKSvc processes QuarkXPress Server requests. This object's generic
processRequest() method takes a QRequestContext argument and returns a QContentData
object containing the QuarkXPress Server response. See the samples distributed or the code
snippets in the function documentation
for details on how this service can be used.
QRequestContext
is the argument you pass to QManagerSDKSvc. This object contains settings which must be set
once per request. All chained requests are set inside the request context.
QRequest
is the base class for all request objects (such as PDFRenderRequest). Consequently, all request
objects share some common data members.
RequestParameters
is a generic class for executing any request and for adding dynamic properties to a request.
NameValueParam is a generic class for adding dynamic properties to a request. This class is
specifically for requests that take box name/id
as the parameter name and its content as the value.
QContentData
is the response returned when a request is executed. QContentData is a hyperlink that follows
the same pattern as the classes above.
QException
is the exception class for the Manager. It is returned by the getErrorObject method.
QManagerScriptingSvc
is the Web services scripting interface.
Page 10