Start IBM WebSphere Interchange Server Express, and using your WebSphere Business Integration System Manager, select the "Open From File" menu item from the "File" menu of the Business Object Designer. Load the repository file labeled "Sample_XML_Order_Objects.in" located in the %ProductDir%\connectors\XML\Samples\WebSphereICS folder. Confirm that the Business Objects have been loaded. There should be 12 total.
Using your WebSphere Business Integration System Manager, select the "Open From File" menu item from the "File" menu of the Connector Configurator Express. Load the repository file labeled "Sample_XML_Order_Connectors.in" located in the %ProductDir%\connectors\XML\Samples\WebSphereICS folder. Confirm that the XMLConnector and PortConnector definitions have been loaded.
Using your WebSphere Business Integration System Manager, double-click on the XML CONNECTOR definition so that the Connector Configurator Express is launched. The following Application Config Property values need to be modified for your specific file structure. These paths and/or files need to be created if they don't already exist:
Using your WebSphere Business Integration System Manager, select the "Open From File" menu item from the "File" menu. Load the repository file labeled "Sample_XML_Order_Collaborations.in" located in the %ProductDir%\connectors\XML\samples\WebSphereICS folder. Confirm that three template definitions and three collaboration objects have been loaded.
Using the System Manager, right click on the folder labeled Collaboration Templates and select Compile all from the drop down list.
The following changes must be made to the servlets:
On line 41 of the source file, the value of the outFileName String must be changed to be the name of the file on the local system to which the servlet should log the incoming XML message. On line 56 of the source file, the value passed to the FileInputStream constructor should be the exact file name on the local system for the delivered SamplePollingInput.xml file.
No Changes Necessary.
From the WebSphere Business Integration System Manager, open the business object labeled "XML_POLL_Order". The first attribute of this business object should be named "URL". Change the URL attribute's default value to the location to which the XML Adapter will listen for XML responses (ie. PollXMLOrder.java). Save the business object to the server.
Compile the delivered servlets. The generated class files should be moved to the correct directory for the web server to pick them up and run them. Also, any additional steps to register the servlets should be done (the exact requirements will depend entirely on the web server being used).
Reboot Interchange Server Express to ensure that all changes take effect. Use the System View from the WebSphere Business Integration System Manager to ensure that all of the collaboration objects and connector controllers are in a green state.