Setting Up the wccApiSample Application

Procedure

  1. Copy the following directory...

    StudioHome\wcc\version\samples\wccApiSample\JSXAPPS\wccApiSample

    ... to the following directory:

    StudioHome\wcc\version\JSXAPPS\

    where:

    • StudioHome is the directory in which TIBCO Business Studio was installed.
    • version is the version number of Workspace that was installed with TIBCO Business Studio.
  2. Open the wccApiSample application’s configuration file, which is located as follows:

    StudioHome\wcc\version\JSXAPPS\wccApiSample\config.xml

  3. Locate the ActionProcessors record in the config.xml file.
  4. Set the baseUrl attribute to the URL of the Action Processor. The string in the baseUrl attribute must be in the form:

    http://Host:Port/bpm/actionprocessor/actionprocessor.servlet

    where:

    • Host is the name of the machine hosting the BPM runtime
    • Port is the port number used by the ActiveMatrix WebApp Implementation Type to communicate with web applications.

      Note that the weighting attribute is not used at this time.

      Tip: You might also want to also set the disable attribute in the SessionMonitor record to “true”, which will prevent the application from timing out while you are using it.
  5. Save and close the config.xml file.
  6. Copy the wccApiSample application launch fragment from here...

    StudioHome\wcc\version\Samples\wccApiSample\wccApiSample.html

    ... to here:

    StudioHome\wcc\version\