Topics: |
How to: |
The following procedures describe how to create an event port using iWay Explorer.
When you use iWay Explorer with an iWay Business Services Provider (iBSP) implementation, the following port dispositions are available:
The following image shows the Add Port dialog box where you can supply information about the port.
When pointing the Events node in iWay Explorer to an iBSP deployment, specify the File destination using the following format:
ifile://[location];errorTo=[pre-defined port name or another disposition url]
The following table describes the parameters for the File disposition.
|
For example:
ifile://D:\in\x.txt;errorTo=ifile://D:\error
The following image shows the port that you added, which appears beneath the Ports node in the Events area of iWay Explorer. In this example, the port is named file_port.
The Add Port dialog box opens.
ibse:[svcName].[mthName];responseTo=[pre-defined port name or another disposition url];errorTo=[pre-defined port name or another disposition url]
The following table describes the parameters for the IBSE disposition.
|
The port that you added is displayed beneath the Ports node.
The Add Port dialog box opens.
msmq://[machineName]/private$/[qName];errorTo=[pre-defined port name or another disposition url]
The following table describes the parameters for the MSMQ disposition.
|
The port that you added is displayed beneath the Ports node.
The Add Port dialog box opens.
When pointing the Events node in iWay Explorer to an iBSP deployment, use the following format:
jmsq:[myQueueName]@[myQueueFac];jndiurl=[myurl];jndifactory= [myfactory];user=[user];password=[xxx];errorTo=[pre-defined port name or another disposition url]
The following table describes the parameters for the JMSQ disposition.
|
The port that you added is displayed beneath the Ports node.
The Add Port dialog box opens.
soap:[wsdl-url];soapaction=[myaction];method=[web service method];namespace=[namespace];responseTo=[pre-defined port name or another disposition url];errorTo=[pre-defined port name or another disposition url]
The following table describes the parameters for the SOAP disposition.
|
The port that you added is displayed beneath the Ports node.
The Add Port dialog box opens.
http://[myurl];responseTo=[pre-defined port name or another disposition url]
where:
Is the URL target for the post operation, for example,
http://myhost:1234/docroot
Is the location to which responses are posted, if desired.
The port that you added is displayed beneath the Ports node.
After you create a port, you can edit the information that you provided during the creation procedure.
The Edit Port dialog box opens. It displays the values that you supplied when you created the port.
The modified properties are applied to the port.
iWay Explorer displays a prompt, asking you to confirm the deletion of the selected port, as shown in the following image.
How to: |
When using iWay Explorer to connect to an application system and listen for events, a default port is available.
You can use the default port for testing purposes or when you do not want to route event data to a specific port that you have configured. The default port is enabled when you start a channel that does not have a specific port assigned to it.
The default event data is a file disposition that writes to an out.xml file in the following output directory:
ifile://./eventOut/out.xml
<?xml version="1.0" encoding="UTF-8"?> <dispositioninfo pref="built-in" defaultPortURL="ifile://./eventOut/out.xml">
You can also change the name and type of the default output file.