8.1

Table Of Contents
8
Open a Web browser and enter the following URL:
http://localhost:8090/quark/services/qxpsmsdk?wsdl. Verify that the class you
just added is visible in WSDL.
Generating new SDK stubs
To generate new stubs:
1
Execute Server/utilities/stub.sh (Mac OS) or Server/utilities/stub.bat
(Windows) and look for errors. If you encounter an error, address the problem, then execute
Server/utilities/stub.sh or Server/utilities/stub.bat again. If the process
succeeds, "managerwebservicestubs.jar" is generated in the Server/utilities directory.
You can use these Java stubs in Java applications that communicate with QuarkXPress Server
Manager.
2
If the application you are developing is in Visual Studio .NET, then you need to generate
stubs again. Simply open your solution in Visual Studio, then either refresh the Web service
reference or remove the Web service reference and then add it again.
Understanding ManagerSDK.xml
"ManagerSDK.xml" is used to generate client SDK classes for QuarkXPress Server requests.
Each element in "ManagerSDK.xml" corresponds to a request handler, a render type, or
an element in the DTD.
A client SDK class is generated for each element in the XML. Each property in the DTD
and each parameter of the request handler or render type also corresponds to a unique
element in the XML.
A Class variable is generated for each property, as follows.
<Class>: One element for each SDK class generated. The class generated is derived from
QRequest. Attributes are:
name: The name of the generated class.
namespace: The namespace recognized by QuarkXPress Server when this request
class is translated into a QuarkXPress Server request.
description: A description of the class. Unless this value is null, the description
forms the header of the generated class and is included in the generated API docs.
alias: The alias to be used as an element name if this request class is serialized to
XML. For example, when the Project class is serialized to XML, the element used
is Project.
serializeAs: Determines how the class is serialized. The valid values are:
nameValue indicates that all members of the class should be handled as
name-value pairs in the request to QuarkXPress Server. (This is the default
option in JPEGRenderRequest and ModifierStreamRequest.)
QXP SERVER 8.1 WEB INTEGRATION GUIDE | 31
GETTING STARTED