Start InterChange Server Express, and using System Manager, select
the
"Open From File" menu item from the "File" menu of Business
Object
Designer Express.
Open the file: %WBIA_RUNTIME%\connectors\XML\samples\
WebSphereICS\XMLConnector.cfg
The following properties in the file may need to be modified
for your
particular setup. See the "Guide to the WebSphere Business
Integration
Server Express Adapter for XML" for detailed information.
If the
property represents a path or filename that does not
already exist, it
needs to be created:
Open the file: %WBIA_RUNTIME%\connectors\XML\samples\
WebSphereICS\PortConnector.cfg
The following properties in the file may need to be modified
for your
particular setup. If the property represents a path
or filename that does
not already exist, it needs to be created:
Open the properties of the shortcut for the XML CONNECTOR. As
the last
argument in the target, add "-c" + <full path
and filename for the
XMLConnector.cfg file>.
For example:
c%WBIA_RUNTIME%\connectors\XML\samples\WebSphereICSBroker\ XMLConnector.cfg.
Open the file: %WBIA_RUNTIME%/bin/connector_manager_XML. Set
the
value of the AGENTCONFIG_FILE property to "-c" + <full
path and filename
for the XMLConnector.cfg file>.
For example:
AGENTCONFIG_FILE=c${WBIA_RUNTIME}/connectors/XML/samples/ WebSphereICS/XMLConnector.cfg.
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 FileInputStreamconstructor should
be the exact file
name on the local system for the delivered SamplePollingInput.xml
file.
No Changes Necessary.
Start the Business Object Designer
Express. Select File->Open From File, and
choose the file named "XML_POLL_Order.xsd". This will
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 by
replacing
the file XML_POLL_Order.xsd with the modified business
object.
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).