Designing with Application Adapters

Adding the HTTP Publication Handler

This procedure describes how to add the HTTP publication handler. Before you start, verify that the HTTP publication handler is installed. Also, obtain the HTTP configuration values for the adapter which is to receive the XML message(s) from PeopleSoft. These are required when configuring the message node corresponding to the subscription handler.

ProcedureTo Obtain the HTTP Configuration Values

  1. Navigate to the following URL in a browser to open the handler directory:

    For Apache:


    http://<yourmachinename>:18001/<yourdeploymentname>
    _servlet_<servletname>/<servletname>.

    For WebLogic:


    http://<PSFTHOST>/servlets/gateway.administration

    where, <PSFTHOST> is the host where the PeopleSoft Application Messaging Gateway is installed.

    The Handler Directory page appears.

    Figure 1–19 Adding the PeopleSoft Handler Directory

    Handler Directory

  2. Click Add handler. The Add Handler page appears.

  3. Enter the HTTP publication handler class and click Save.


    com.stc.ewpsoft8.stchttphandler.HTTPHandler
  4. Click Save. The Handler Directory page displays the new handler.

    Adding Directory
  5. Click Load. The status changes to Loaded successfully.

  6. Click Configure for the HTTP handler. The HTTP Handler Directory page appears.

  7. Click Add an HTTP node to associate a node with this subscription handler.

  8. Enter the values for the new node associated with the subscription handler. Scroll to the right to access additional columns.

  9. In the Include Headers column, indicate whether or not you want header information to be retained in the received messages. All values are mandatory.

  10. Selecting the check box preserves the header information.

  11. Deselecting the check box strips the header information.

  12. Click Save. This displays the STCHTTP node entries. If the entries are correct, the Application Messaging Gateway now can receive XML messages from PeopleSoft and publish the XML messages to the PeopleSoft Adapter (in HTTP mode).

    You can now ping the HTTP host from the system where the com.stc.eWays.psofthandler.jar file is installed. You may need to use the system’s full host name.