2017

Table Of Contents
USING QUARKXPRESS SERVER
188 | A Guide to QuarkXPress Server 2017
Using the QXPSM SDK
The QXPSM (QuarkXPress Server Manager) SDK lets you create applications that
communicate with QuarkXPress Server Manager in a variety of languages, including
the following:
.NET
Java
Objective-C
The QXPSM SDK includes the following folders:
Documentation: Includes Javadoc for the classes in the Java SDK.
Extensibility: Includes the Extensibility tool, for extending QuarkXPress Server
Manager. For more information, see “
Extending QuarkXPress Manager.”
Samples: Includes sample applications in ASP.NET, C#, Java, JSP, and Objective-
C.
WebServiceStubs: Includes remoting stubs for .NET (C#), Java, and Objective-C.
To use the QXPSM SDK in ASP.NET/Visual C#, you must have the .NET 3.5/4.0
framework and development environment (Visual Studio).
Writing a Java QXPSM client
To write a QuarkXPress Server Manager client in Java:
Include the QXPSM stub jar file in the project classpath. This jar file can be
1.
found at the following location:
[QXPSM_Home]/XDK/WebServiceStubs/java/qxpsm-
webservicestubs.jar
Include all client-side third-party-dependent jar files in the project classpath.2.
These can be found at the following location:
[QXPSM_Home]/XDK/WebServiceStubs/java/dependencies
Get a reference to the RequestService:3.
RequestService requestService = new RequestServiceStub(
“http://[server]:[port]/qxpsm/services/RequestService”);
invalid administrator user name
and password. What to do: Use
the user name and password set
in the QuarkXPress Server
Manager client Server
Configuration dialog box.
Logs See “Understanding logging.”
E
xample GET URL
h
ttp://localhost:8080/updateprefsfromjj
Notes
If a user name and password have been set in the Server
Configuration dialog box, the browser requests that user name
and password when you submit a setrendererprefs parameter
request.