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 a keyboard shortcut. From the command window in which the XML Adapter was started, type the letter 'p' followed by the Enter key.

  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 WebSphere InterChange Server. WebSphere ICS 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 IBM WebSphere ICS and a Webserver.

Copyright IBM Corp. 1997, 2003