Running the Poll scenario

  1. Start
  2. Simulate the Port connector:

    Using the Test Connector, define a profile for the "PortConnector".
    Select FILE -> CONNECT AGENT from the Test Connector's menu to
    begin simulating the agent.

  3. Poll sample data:

    The PollFrequency has already been set to key. From the command
    window in which the XML Adapter was started, type the letter 'p'
    followed by the Enter key.

    Stop the XML Adapter. Open the XML Adapter Controller, change the
    PollFrequency to a number like 30000 (polls/millisecond). Restart the
    connector, and wait 30 seconds for the connector to poll.

  4. Accept the request using the Port connector:

    The XMLConnector will receive an XML document, convert it to a
    CrossWorlds business object and pass it to InterChange Server Express.
    InterChange Server Express passes the event to two different
    collaborations that have subscriptions for this event. The collaborations
    will pass the events to the PortConnector. Accept the requests using the
    Test Connector, and reply with a successful response to both of the events.

  5. Check for successful processing:

    To ensure successful processing, check that the data in the accepted request
    in the Test Connector and the Archive Directory correspond to the events
    from the SamplePollingInput.xml file provided in the sample.

Summary:

If you've performed all the above steps successfully, you should have a
working sample scenario that uses the XML Adapter and XML DataHandler
to exchange XML documents between InterChange Server Express and
a Webserver.

Copyright IBM Corp. 2004, 2005