Running the Poll scenario

  1. Start:
  2. Simulate Port connector:

    Using the Visual Test Connector, define a profile for the "PortConnector". Select FILE -> OPEN PROFILE from the Test Connector's menu. Click the ADD button, and specify %CROSSWORLDS%\connectors\XML\samples\
    WebSphereMQIntegratorBroker\PortConnector.cfg as the connector configuration file. Click OK on the following two windows, and connect your agent.

  3. Poll sample data:
  4. Accept the request using the Port connector:

    The XML Adapter will receive an XML document, convert it to a message that will be placed on an WebSphere MQ queue. Accept the request using the Test Connector, and reply with a successful response.

  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 a WebSphere MQ Integrator Broker and a Webserver.

Copyright IBM Corp. 1997, 2004