Component modules are usually designed to run within WorldServer and to be controlled by it, which means that you cannot execute them outside of WorldServer. To access a component module, you need to deploy it first to the WorldServer environment. If you create a new automatic action, for example, you can include it while defining workflows, and then have it used during the execution of a project.
Procedure
- Create a WorldServer component descriptor for your component module.
- Create a component archive (.zip file) that contains the classes of the component and all of their non-WorldServer library dependencies.
- Deploy the component module.
You can do this either through the WorldServer user interface or through the WSComponentManager class.
- To deploy the component module through the user interface, do the following:
- In WorldServer, go to
- In the Custom component type list, select the type of custom component that you want to deploy.
- Select Add.
- In the Add Custom <Component Type> Component dialog box, select Browse.
- Find the .zip file you want to deploy, select it, and then select Open.
- Select OK.
Your component module is uploaded and each component referenced in the desc.xml file is registered.