8.0

Table Of Contents
5.
5.
Now define the bean id with your new bean ID above this ConfigureManager tag:
5.
<bean id={your newbeanID} class={yourLoadBalancerClass}/>
6.
6.
Restart the Tomcat server.
7.
7.
Log on with the admin client and select the menu option:
7.
Global Setting > Load Balancer Method > Choose Load Balancer.
8.
8.
Locate your new Load Balancer method and select Save.
Generating custom client SDK class
To generate a custom client SDK class, add new classes and generate new stubs as described below.
Adding new classes
To add new classes:
1.
1.
Modify ManagerSDK.xml to reflect changes in Modifier.dtd. ManagerSDK.xml is stored in
1.
Server/utilities/ManagerSDK.xml.
2.
2.
Using a different folder, create backups of managersdkro.jar, managerdomgenerator.jar, and
managerrequestserializer.jar. All of these files are stored in
2.
<Installation Folder>/Server/apache-tomcat-5.5.16/webapps/quark/WEB-INF/lib.
3.
3.
Execute "Server/utilities/ClientSDKRequestObjectGenerator.sh" (Mac OS) or
"Server/utilities/ClientSDKRequestObjectGenerator.bat" (Windows) and look for errors. If you
encounter an error, address the problem and execute "ClientSDKRequestObjectGenerator"
again. When the process completes successfully, "managersdkro.jar",
"managerdomgenerator.jar", and "managerrequestserializer.jar" are regenerated in the
3.
webapps/quark/WEB-INF/lib folder. Check the timestamps to verify that the files are new.
4.
4.
Launch QuarkXPress Server Manager.
5.
5.
Modify "Server/utilities/deploy_sdk.wsdd" to add the bean mapping for the newly generated
class. You can add the mapping to position it within the classes corresponding to changes in the
DTD or XML, which will make it easier to track changes.
6.
6.
Edit "Server/utilities/deploy.sh" (Mac OS) or "Server/utilities/deploy.bat" (Windows) to modify
the port number where QuarkXPress Server Manager is running, if it is different from 8090.
7.
7.
Execute "Server/utilities/deploy.sh" (Mac OS) or "Server/utilities/deploy.bat" (Windows) and
check for errors.
8.
8.
Open a Web browser and type the following URL:
8.
http://localhost:8090/quark/services/qxpsmsdk?wsdl. Verify that the class you just added is
visible in WSDL.
To generate new stubs:
1.
1.
Execute "Server/utilities/stub.sh" (Mac OS) or "Server/utilities/stub.bat"(Windows) and look for
Page 38