Start InterChange Server Express, and using System Manager, select
the
"Open From File" menu item from the "File" menu of the Business Object
Designer Express.
Windows:
Load the repository file labeled "Sample_XML_Order_Objects.in"
located
in the %WBIA_RUNTIME%\connectors\XML\Samples\WebSphereICS
directory. Confirm that the business objects have been
loaded. There
should be 12 in total.
Using System Manager, select the "Open From File" menu item from
the "File"
menu of Connector Configurator Express .
Load the repository file labeled "Sample_XML_Order_Connectors.in"
located
in the %CROSSWORLDS%\connectors\XML\Samples of the WebSphere
InterChange Server Express directory.
Load the repository file labeled "Sample_XML_Order_Connectors.in"
located in the %CROSSWORLDS%/connectors/XML/Samples
of the
WebSphere InterChange Server Express directory.
Load the repository file labeled "Sample_XML_Order_Connectors.in"
located in /QIBM/UserData/WBIServer44/InterchangeServerName
/connectors/XML/samples of the WebSphereICS directory.
Using System Manager, double-click on the XML CONNECTOR definition
so that the Connector Designer 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 System Manager, select the "Open From File" menu item from
the
"File" menu.
Load the repository file labeled "Samle_XML_Order_Collaborations.in"
located in the
%CROSSWORLDS%\connectors\XML\samples\WebSphereICS
directory.
Load the repository file labeled"Sample_XML_Order_collaborations.in"
located in the %CROSSWORLDS%/connectors/XML/Sample of
the
WebSphere Interchange Server Express directory.
Load the repository filed labeled "Sample_XML_Order_Collaborations.in
" located in the /QIBM/UserData/WBIServer44/InterChangeServerName
/connectors/XML/Samples/WebSphereICS directory.
You must map a network drive from a Windows system to
the i5/OS system
(in the Map Network Drive dialog box, type
\\os400Name\root for the folder
field where os400Name is the name
or IP address of the i5/OS system).
Then navigate to the drive to
find the file.
Using 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 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 System Manager to ensure that
all of the
collaboration objects and connector controllers are
in a green state.