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.
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 XMLConnector.cfg file, change the PollFrequency to a number like 30000 (polls/millisecond) and save the file. Restart the connector, and wait 30 seconds for the connector to poll.
Stop the XML Adapter. Open the XMLConnector.cfg file, change the PollFrequency to a number like 30000 (polls/millisecond) and save the file. Restart the connector, and wait 30 seconds for the connector to poll.
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.
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.