Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Contents
Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
TIBCO BusinessConnect Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Other TIBCO Product Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Typographical Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
How to Contact TIBCO Customer Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Tables
Figures
Preface
Topics
Related Documentation
Typographical Conventions
Convention Use
TIBCO_HOME Many TIBCO products must be installed within the same home directory. This
directory is referenced in documentation as TIBCO_HOME. The value of
ENV_HOME
TIBCO_HOME depends on the operating system. For example, on Windows
systems, the default value is C:\tibco.
Other TIBCO products are installed into an installation environment.
Incompatible products and multiple instances of the same product are installed
into different installation environments. The directory into which such products
are installed is referenced in documentation as ENV_HOME. The value of
ENV_HOME depends on the operating system. For example, on Windows
systems the default value is C:\tibco.
code font Code font identifies commands, code examples, filenames, pathnames, and
output displayed in a command window. For example:
Use MyCommand to start the foo process.
Convention Use
Key Key name separated by a plus sign indicate keys pressed simultaneously. For
combinations example: Ctrl+C.
Key names separated by a comma and space indicate keys pressed one after the
other. For example: Esc, Ctrl+Q.
The note icon indicates information that is of special interest or importance, for
example, an additional action required only in certain circumstances.
The tip icon indicates an idea that could be useful, for example, a way to apply
the information provided in the current section to achieve a specific result.
The warning icon indicates the potential for a damaging situation, for example,
data loss or corruption if certain steps are taken or not taken.
Convention Use
[ ] An optional item in a command or code syntax.
For example:
MyCommand [optional_parameter] required_parameter
| A logical OR that separates multiple items of which only one may be chosen.
For example, you can select only one of the following parameters:
MyCommand para1 | param2 | param3
Convention Use
{ } A logical group of items in a command. Other syntax notations may appear
within each logical group.
For example, the following command requires two parameters, which can be
either the pair param1 and param2, or the pair param3 and param4.
MyCommand {param1 param2} | {param3 param4}
In the next example, the command requires two parameters. The first parameter
can be either param1 or param2 and the second can be either param3 or param4:
MyCommand {param1 | param2} {param3 | param4}
In the next example, the command can accept either two or three parameters.
The first parameter must be param1. You can optionally include param2 as the
second parameter. And the last parameter is either param3 or param4.
MyCommand param1 [param2] {param3 | param4}
For comments or problems with this manual or the software it addresses, please
contact TIBCO Support Services as follows.
• For an overview of TIBCO Support Services, and information about getting
started with TIBCO Product Support, visit this site:
http://www.tibco.com/services/support
• If you already have a valid maintenance or support contract, visit this site:
https://support.tibco.com
Entry to this site requires a user name and password. If you do not have a user
name, you can request one.
It is recommended that all users familiarize themselves with EZComm using this
tutorial, which provides valuable insight for using other, more complex protocols.
Topics
Automatic Installation
TIBCO BusinessConnect EZComm Protocol installs automatically with TIBCO
BusinessConnect.
The complete installation for TIBCO BusinessConnect and EZComm is explained
in the TIBCO BusinessConnect Server Administration Guide.
XML Validation
EZComm supports XSD and DTD schema validation. To learn more about
validating schemas for EZComm, see Configuring EZComm Operations.
This chapter presents a complete tutorial on installing and configuring the TIBCO
BusinessConnect EZComm Protocol for the Asynchronous Request Response
operation.
Topics
• Overview, page 8
• Prerequisites, page 9
• Configuring the Initiator TIBCO BusinessConnect, page 13
• Configuring the Responder TIBCO BusinessConnect, page 18
• Configuring the Private Processes, page 22
• Running the Tutorial, page 26
Overview
Tutorial Steps
This tutorial requires that you follow through the following steps:
1. Prerequisites.
This step is performed both on the Initiator and on the Responder machine.
2. Import the Tutorial
This step is performed both on the Initiator and on the Responder machine.
3. Configuring the Initiator TIBCO BusinessConnect
This step is performed only on the Initiator machine.
4. Configuring the Responder TIBCO BusinessConnect
This step is performed only on the Responder machine.
5. Configuring the Private Processes
This step is performed both on the Initiator and on the Responder machine.
6. Running the Tutorial
This step is performed both on the Initiator and on the Responder machine.
Prerequisites
Large, shared, and temp files will be posted by default to the location “./”, which
uses the engine’s running directory as the root folder for all temporary files. If you
don’t have any specific requirements, you can leave this directory as is.
Once the operations are imported, continue with configuring the machines.
In this tutorial, the hosts machine’s name is Buyer, and the partner’s machine
name is Seller.
Follow the steps as described in these sections:
• Configure the Initiator Default Host
• Configure the Initiator Partner
• Configure the Initiator Business Agreement
1. Select BusinessConnect>Participants.
2. Click the Participant Wizard button.
3. Type Buyer in the Participant Name field.
4. Select Host in the Participant Type dropdown list.
5. Click Finish.
6. Click the Buyer link.
7. In the Edit Host Participant dialog, select the Active checkbox.
8. Click Apply.
1. Select BusinessConnect>Participants.
2. Click the Participant Wizard button.
3. Type Seller in the Participant Name field.
4. Select Partner in the Participant Type dropdown list.
5. Click Finish.
Both participants (Buyer and Seller) now appear in the panel.
6. Click the Seller link.
7. In the Edit Host Participant dialog, select the Active checkbox.
8. Click Apply.
Enable Protocol 9. In the Edit Partner Participant dialog, select the Protocols tab.
for Initiator
10. Click Enable.
Partner
The dialog with installed protocols appears.
11. Select the checkbox next to EZComm.
12. Click OK.
The EZComm protocol is now in the Protocol Name list.
Field Description
Transport Name Enter the name for the transport (required)
Transport Type Select the transport type from the dropdown list. For this tutorial, select HTTP.
6. Click OK.
The New HTTP Transport dialog appears.
Field Description
Transport Name Enter a name for this transport (required)
Use HTTP Basic Clear the checkbox Use HTTP Basic Authentication for this tutorial.
Authentication
This section contains only the steps that are necessary for this tutorial. For a
complete explanation on this topic, see Adding a New Business Agreement.
After both trading partners are configured, you will now configure their business
agreement.
1. Select BusinessConnect>Business Agreements.
2. Click the New button.
The New Agreement dialog appears.
Verify that EZComm appears in the Protocols column for both trading
partners. If it is missing, return to Enable Protocol for Initiator Partner and
enable the EZComm protocol.
3. Select the host Buyer from the Host Party list.
4. Select the partner Seller from the Partner Party list
5. Click OK.
The New Agreement, general dialog appears.
6. Confirm that the Valid checkbox is selected. This will make the agreement
valid immediately.
This section contains only the steps that are necessary for this tutorial. For a
complete explanation on this topic, see Configuring Agreement Protocol Binding
for EZComm.
Field Description
Allow All Operations For this tutorial, clear the Allow All Operations checkbox.
Non-Repudiation For this tutorial, leave the Non-Repudiation Logging checkbox selected.
Logging
Add Binding for 7. In the Host can initiate section, click Add Operation Binding.
the Host
For this tutorial, select the Manage Widgets/1.0/buyWidgets operation.
8. Click OK.
The selected operation appears in the Operation Name list.
Field Description
Override Transports For this tutorial, select the Override Transports checkbox.
4. Click Save.
This creates an operation binding for the operation buyWidget that will
override any outgoing request for this operation.
The same binding is used for the incoming response for this request; for
example, if you want to override the schema validation for an incoming
response, you can select the desired value in the Operation Settings tab for
this binding.
1. Select BusinessConnect>Participants.
2. Click the Participant Wizard button.
3. Type Seller in the Participant Name field.
4. Select Host in the Participant Type dropdown list and click Finish.
5. Click the Seller link.
6. In the Edit Host Participant dialog, select the Active checkbox.
7. Click Apply.
1. Select BusinessConnect>Participants.
2. Click the Participant Wizard button.
3. Type Buyer in the Participant Name field.
4. Select Partner in the Participant Type dropdown list.
5. Click Finish.
6. Click the Buyer link.
7. In the Edit Host Participant dialog, select the Active checkbox.
8. Click Apply.
Enable Protocol 9. In the Edit Partner Participant dialog, select the Protocols tab.
for Responder
10. Click Enable.
Partner
The dialog with installed protocols appears.
11. Select the checkbox next to EZComm.
12. Click OK.
The EZComm protocol is now in the Protocol Name list.
This section contains only the steps that are necessary for this tutorial. For a
complete explanation on this topic, see Adding a New Business Agreement.
This section contains only the steps that are necessary for this tutorial. For a
complete explanation on this topic, see Configuring Agreement Protocol Binding
for EZComm.
Field Description
Allow All Operations Clear the checkbox for this tutorial.
Add Binding for 4. In the Partner can initiate section, click Add Operation Binding.
the Partner
For this tutorial, select the Manage Widgets/1.0/buyWidgets operation.
5. Click OK.
The selected operation appears in the Operation Name list.
Field Description
Override Select the checkbox for this tutorial.
Transports
4. Click Save.
This creates an operation binding for the operation buyWidget that will
override any incoming request for this operation.
The same binding is used for the outgoing response for this request; for
example, if you want to override the schema validation for an outgoing
response, you can select the desired value in the Operation Settings tab for
this binding.
This section describes how to configure the private processes on the Initiator and
Responder machines.
If you want to be able to restore the project for later use, be sure to select a
directory other than BC_installation_directory\samples\EZComm\tutorial.
If your select the directory BC_installation_directory\samples\EZComm\tutorial,
the zip archive file will be deleted.
a. Select the JDBC driver you use to communicate with the TIBCO
BusinessConnect configuration store from the JDBC Driver dropdown list.
b. Type the URL for the configuration store in the JDBC URL field.
c. Type the configuration store user name and password in the DB User and
Password fields.
d. Click the Apply button.
3. Click the Configuration tab.
4. Click the Update from Configuration Store button.
5. Select EZComm on the Protocol Name dropdown list .
6. If you select the checkbox Select Operations, you will be allowed to select any
of the configured/imported operations
For this tutorial, select all operations and click OK.
7. In the dialog Confirmation on importing 'EZComm' operations, click Yes for
Maintenance on EZComm Schemas
8. Click the Import Selected Business Protocol button.
The INIATOR (BusinessConnect Connection) screen appears.
In the Imported Operations field, you will see the operations that you have
imported in Import the Tutorial.
When you import the protocol, BusinessWorks retrieves information from the
TIBCO BusinessConnect configuration store and puts it in the project folder.
9. Click Apply.
10. Click the Save icon to save the project.
In order to see the complete tutorial for the Asynchronous Request Response
operation, you have to run it on both machines, Buyer and Seller.
You can also run the Synchronous Request Response and Notify transactions
using the processes provided in this tutorial.
3. Be sure to enter “Buyer” in the field fromTP and “Seller” in the field toTP
under the Input Tab, as shown inFigure 6.
4. Select Read File >Input Tab >ReadActivityInput and verify that the path given
in the filename field is valid.
5. Click Apply and Save.
This chapter provides more detailed information about the EZComm URIs.
Topics
Exchanging URIs
Additional information in the URI, such as toTP and fromTP, is available only for
transports other than AS1, AS2, or EMAIL, since the same information is derived
from the internet headers such as AS2 TO/FROM ID and the EMAIL FROM/TO
address. Such information becomes redundant and ambiguous if provided in the
URI.
Available transports and their URI formats are listed in this section.
Email Transport
The URI format is mailto://username@domain, such as mailto://john@tibco.com
When using Email transport, you have the option of specifying the mail subject. If
the subject contains the string
operationID=”category/version_number/operation_name” then OperationID is taken
as the operation ID for that transaction.
If the operation ID is not specified in the subject, then the value defaults to
BC/version/Notify.
While in TIBCO BusinessConnect EZComm Protocol 5.1 the only allowed value in
an email subject was operationID=<opID>, release 5.3 allows any value to be
specified in the subject: the operationID and other required values will be
appended to the subject.
File Transport
The URI format is file://BaseDir/*.*
This causes all directories under BaseDir to be checked for files. In order for the file
to be handled by EZComm, the document must appear as follows:
• Default behavior, such as for the operation BC/version/Notify:
BaseDir/EZComm/TpName
• Non-default behavior, for other operations:
BaseDir/EZComm/TpName/Category_OperationID
where BaseDir is a user selected base directory, TpName is the name of the
trading partner, Category is the operation category, and OperationID is the
operation ID.
If OperationID is not provided, then it defaults to BC/version/Notify.
A file name can be specified in the file mask field. See TIBCO BusinessConnect
Trading Partner Administration Guide, Table 41, Outbound File Transport for
information on how to specify the file mask field in File transport.
You should provide a file mask *.* for a file. If you, for example, provide a file
mask 101.xml, the file that is written out will be 101.xml. If you don’t provide a
filer mask for a file, the file will not be picked up by the File transport.
FTP Transport
URI format ftp://server:port/dir. dir can be anything or can be absent.
A file name can be specified in the file mask field. See TIBCO BusinessConnect
Trading Partner Administration Guide, Table 37, Inbound FTP/S Settings and
Table 38, Outbound FTP/S Settings for information on how to specify the file
mask field in FTP transport.
With EZComm, FTP inbound transactions always defaults to the
BC/version/Notify operation.
You should provide a file mask *.* for a file. If you, for example, provide a file
mask 101.xml, the file that is written out will be 101.xml. If you don’t provide a
filer mask for a file, the file will not be picked up by the FTP transport.
HTTP/S Transport
Populating URIs
Specify Subjects
For the HTTP transport you also have the option of specifying the subject. If the
subject contains a string operationID=”BC/Version/OperationID”, then
BC/Version/OperationID is taken as the operationID for that transaction.
Topics
• Overview, page 40
• Notify Operation, page 43
• Synchronous Request Response Operation, page 44
• Asynchronous Request Response Operation, page 45
• Configuring EZComm Operations, page 47
Overview
The exchange of business documents is known as the process flow. In any TIBCO
BusinessConnect process flow, two types of messages are exchanged:
• Public messages or operations
• Private messages. See EZComm Private Messages.
Caching of Schemas
The referenced schema is updated in the validator cache during runtime
validation, in the same way as if it was saved through the GUI.
When a schema is used by reference, you will not observe any schema changes in
the referenced object but you will see the change on the reference instead. This
means that the TIBCO BusinessConnect configuration store does not scan the
referenced object each time the validation occurs, but it instead indicates if there is
a change in the uploaded file object. You need to update the reference in the GUI
— re-save the schema reference — and the new referenced object will be updated
in the cache.
See also Validation Schema Name for more information on how to choose which
schema to use: XSD od DTD.
The following fields from the private process will be used in calculating the
message digest for duplicate detection for outbound requests:
• TransactionID received from the user
When the outbound File poller initiates a transaction, the transactionID will not
be used for calculating the message digest.
The following values from the incoming request will be used in calculating the
message digest for duplicate detection for inbound requests.
• Payload
• Trading partner name
• Operation ID
If an error occurs during the transaction processing, the duplicate detection entry
from the table BC_DUP will be deleted.
Notify Operation
Notify is a one way operation: it can simply send a document to the trading
partner and receive the acknowledgement. Its not capable of receiving the
response from the trading partner.
The operation flow in a Notify operation is presented in Figure 13.
Initiator Responder
Request Request
If the Initiator TIBCO BusinessConnect times out, an audit log entry will be
generated and a timeout error advisory will be sent out. In this case, the
request will be cancelled. When the response arrives at a later time, there
won’t be any corresponding request present, the advisory will be rejected, an
error advisory will be published, and an internal system error will be sent to
the partner.
1. With the radio button for the new category selected, click New Version.
2. In the New Version dialog, do the following:
— In the Name field, type a version name (required)
— In the Description field, type a brief description for this version (optional).
3. Click Save.
Operation Tab
In the Operation tab, enter information according to Table 7.
Field Enter/Select
Name Name of the operation (required)
Inbound
Validate Message When selected, any inbound message (either request or response), will be
validated. This should be selected if the Initiator needs the response from the
partner to be validated, if the Responder needs the request to be validated.
Publish tibXML If selected, the Responder private process will receive the message in tibXML
Private Process format.
Message
Note This flag is used only for the Responder, which means that only the
ResponderRequest message will be published based on this flag.
Outbound
Validate Message When selected, either the request or response will be validated.
This checkbox should be selected in the following cases:
• Initiator needs that the request to the partner be validated
• Responder needs that the response be validated
Click Save.
Field Enter/Select
Name Name of the request action
Validation Either XSD or DTD schema can be defined. File selected here should match the
Schema Name validation type selected in the field XML Document Validation.
To select the schema document:
1. Click on the change link.
2. In the Change File dialog, select one of the following two choice from the
dropdown list:
• File Reference If you select file reference, enter the path to the .xsd file
you wish to use.
• Uploaded File If you select uploaded file, the new Change File dialog will
appear.
a. Click the Browse button and navigate to the directory containing the
schema file. In this tutorial, it is located in the directory
BC_home\samples\EZComm\sampleXML\xsd\
Select the schema document (101.xsd). This schema document is
associated with the XML document used for validation (101.xml).
Note: EZComm supports XSD and DTD schema validation. In this
tutorial, the XSD validation is used.
b. Click Open.
c. Click OK.
Require Digital Used only for HTTP transport. If selected, this option will sign the outgoing
Signature messages and force the incoming messages to be signed.
Require Content Used only for HTTP transport. If selected, this option will encrypt the
Encryption outgoing messages and force the incoming messages to be encrypted.
Field Enter/Select
Wait time for This field is available only for the asynchronous Request-Response operation.
Response
The default is 3600 seconds.
(seconds)
Root XML Root XML element name, which is the top-level XML element in the
Element Name document. It is only required if you are going to use the TIBCO
BusinessConnect palette.
Click Save.
Field Enter/Select
Name Name of the response action
Validation Either XSD or DTD schema can be defined. File selected here should match the
Schema Name validation type selected in the field XML Document Validation.
For more information on how to select the schema document, see Validation
Schema Name.
Require Digital Used only for HTTP transport. If selected, this option will sign the outgoing
Signature messages and force the incoming messages to be signed.
Require Content Used only for HTTP transport. If selected, this option will encrypt the outgoing
Encryption messages and force the incoming messages to be encrypted.
Field Enter/Select
Private Process Specifies the amount of time the Responder waits for the response from the
Wait (seconds) private process.
The default is 3600 seconds (60 minutes).
Root XML Root XML element name, which is the top-level XML element in the document.
Element Name It is only required if you are going to use the TIBCO BusinessConnect palette.
Click Save.
Topics
You can add, change, or remove EZComm properties using the Edit Plug-in
Properties dialog.
Add a Property
To add a property, perform these steps:
1. In TIBCO Administrator, select TIBCO BusinessConnect>System
Settings>Installed Protocols.
2. Select EZComm and then click Add.
3. Type a name for the property in the Property Name field.
4. Select a data type from the Property Type dropdown list: boolean, string. or
integer.
5. Type a description of the new property in the Description field.
6. Click Save.
Delete a Property
To remove a property, perform these steps:
1. Select TIBCO BusinessConnect>System Settings>Installed Protocols.
2. Select EZComm and then click Delete.
3. Type the name of the property you want to delete and click OK.
Keep in mind that you may remove only user defined properties, and that default
properties should not be removed.
This chapter explains how to set up trading hosts and partners for TIBCO
BusinessConnect EZComm Protocol.
Topics
Field Description
AS2 Identifier) An identifier to use in the AS2-From header field of the HTTP message.
This identifier should be mutually agreed upon between trading partners.
For more information about AS2 Identifiers, see TIBCO BusinessConnect Server
Administrator’s Guide, Disabling Session Cache for HTTPS.
Valid Email Enter the list of valid email addresses for this participant, separated by
Address List semicolon or by a comma.
For more details, see TIBCO BusinessConnect Trading Partner Administration
Guide, Table 28, Configuring HTTP/S for a Trading Partner: General Tab.
General Tab
Field Description
AS2 Identifier An identifier to use in the AS2-From header field of the HTTP message. This
identifier should be mutually agreed upon between trading partners.
For more information about AS2 Identifiers, see TIBCO BusinessConnect
Trading Partner Administration Guide, Disabling Session Cache for HTTPS.
Valid Email Enter the list of valid email addresses for this participant, separated by
Address List semicolon or by a comma.
For more details, see TIBCO BusinessConnect Trading Partner Administration
Guide, Table 28, Configuring HTTP/S for a Trading Partner: General Tab.
Allow override of If this checkbox is selected, and a file reference is being passed from the
filename via private process, then the name of the file is passed on to the Responder in an
HTTP parameter HTTP header called filename.
For more information, see Allow override of filename via HTTP parameter
(applies only to HTTP/S transports).
Duplicate If selected, all incoming private process messages and the outgoing responses
Detection for are checked for duplicate detection.
Outbound
If a request is found to be a duplicate, the transaction is terminated and an
error advisory is sent.
Duplicate All incoming requests for Responder and incoming responses for Initiator
Detection for will be checked for duplicates.
Inbound
If any duplicates are found, the duplicate field in the private process message
will be set to true.
Use tibXML This option is used for forcing the packaging of the outbound public message
Packaging to a tibXML public message format.
See Use tibXML Packaging for more information.
Click Save.
Transports Tab
To add a transport for the partner, do the following:
1. Click on the Transports tab.
2. Click Add.
Enter data for the new transport as explained in Table 1.
Field Description
Transport Name Enter the name for the transport (required)
Transport Type Select the transport type from the dropdown list.
To configure a specific transport for the partner, see TIBCO BusinessConnect
Trading Partner Administration Guide, and then refer to the appropriate chapter
for the transport such as:
• Chapter 10, HTTP, HTTPS, and HTTPSCA Transports
• Chapter 13, Email Transport
• Chapter 14, FTP and FTPS Transports
• Chapter 15, SSHFTP Transport
• Chapter 16, File Transport
3. Click OK.
Define URL
To define the URL for the partner, enter the following information:
URL (required): www.hostname:6700/EZComm.
Topics
After both trading partners are configured, you will now configure their business
agreement.
1. Select BusinessConnect>Business Agreements.
2. Click the New button.
The New Agreement dialog appears.
Verify that EZComm appears in the Protocols column for both trading
partners between which you wish to configure a business agreement. If
EZComm is missing, return back to Enable Protocol for Initiator Partner and
enable the EZComm protocol.
3. Select a host from the Host Party list.
4. Select a partner from the Partner Party list
5. Click OK.
The New Agreement, general dialog appears.
6. Confirm that the Valid checkbox is selected. This will make the agreement
valid immediately.
If you wish to make the agreement valid for a certain time period, do the
following:
— Use the Start Date dropdown lists to specify the start date.
— Use the End Date dropdown lists to specify the stop date. This date has to
be later than the start date.
Use the Operations Binding tab to configure the EZCOmm operations that each
participant in a business agreement can initiate and respond to.
The Host ’X’ Can Initiate and Partner ’Y’ Can Initiate areas list the activities that
the host/partner can initiate and the partner/host can respond to.
1. Enter information according to Table 13.
Field Description
Allow All This checkbox is selected by default. If you leave it selected, you don’t need to
Operations specify operation bindings that the host or partner can initiate, as explained
in Enter information according to Table 3..
If the checkbox is cleared, you need to define the specific operation bindings,
as explained in Enter information according to Table 3..
Non-Repudiation The non-repudiation log is used to provide proof of the delivery of messages.
Logging
For more details, see TIBCO BusinessConnect Concepts, Non-Repudiation.
Field Description
Override Select the checkbox to override the operation settings for this operation. These
Operation settings have been previously configured, as explained in Import the Tutorial.
Settings
Note When a BusinessConnect sever acts as the Initiator, the transport for
sending an outbound document can be overridden for all operation types
bound in this section.
Such overriding does not apply to the outbound responses of an Asynchronous
Request Response operation in cases when the BusinessConnect server acts as
the Responder.
Inbound
Validate Message When selected, an inbound message (either request or response) will be
validated. This should be selected if the Initiator needs the response from the
partner to be validated, if the Responder needs the request to be validated.
Publish tibXML If selected, private process on the Responder side will receive the message in
Private Process tibXML format. See Publish tibXML Private Process Messages for more
Message information.
Outbound
Validate Message When selected, either the request or response will be validated.
This checkbox should be selected in the following cases:
• Initiator needs that the request to the partner be validated
• Responder needs that the response be validated
Table 15 Override Outbound Settings: Actions Tab (Notify and Asynchronous Request-Response Operations)
Field Description
Override Action Select to override the originally configured action settings for the host.
Settings
Transports Tab
Configure transport settings using Table 16.
Field Description
Override Select to override the originally configured transport for the host.
Transports
Primary Transport Select any of the transports previously configured for the partner.
See Add Transport for Initiator Partner for more details.
When a BusinessConnect sever acts as the Responder, the transport for sending
an outbound document can only be overridden when sending the response for
asynchronous operation types bound in this section.
Field Description
Override Select the checkbox to override the operation settings for this operation. These
Operation settings have been previously configured, as explained in Import the Tutorial.
Settings
Inbound
Validate Message When selected, an inbound message (either request or response) will be
validated. This should be selected if the Initiator needs the response from the
partner to be validated, if the Responder needs the request to be validated.
Publish tibXML If selected, private process on the responder side will receive the message in
Private Process tibXML format. See Publish tibXML Private Process Messages for more
Message information.
Outbound
Validate Message When selected, either the request or response will be validated.
This checkbox should be selected in the following cases:
• Initiator needs that the request to the partner be validated
• Responder needs that the response be validated
Table 18 Override Inbound Settings: Actions Tab (Synchronous and Asynchronous Request Response)
Field Description
Override Select to override the originally configured action settings for the partner.
Action Settings
Private Process Select to override the originally configured Wait time (amount of time the
Wait (seconds) Responder waits for the response from the private process).
The default is 3600 seconds (60 minutes).
Transports Tab
Override transport settings using Table 19.
Field Description
Override Select to override the originally configured transport for the partner.
Transports
Note For the Synchronous Request Response operation, this option is invalid.
Primary Select any of the transports previously configured for the partner.
Transport
Transports Tab
Field Description
Outbound Transports for Host
Primary Transport Select the outbound transport that was previously configured.
See Add Transport for Initiator Partner for more details.
AS2 Remote Server For more information, see TIBCO BusinessConnect Trading Partner
Certificate Administration Guide, Table 7, Edit Protocol Bindings: Transports Tab.
(list of configured Select the appropriate checkboxes to allow certain inbound transports for
partner transports) the partner.
The Show Advanced button in the Edit Protocol Bindings dialog allows you to
configure additional settings for the host in a business agreement.
1. Click on Show Advanced.
The Edit Protocol Bindings dialog appears with two additional tabs: Host’s
Configuration and Partner’s Configuration.
2. To hide the Host’s and Partner’s Configuration tabs, click the button Hide
Advanced.
Field Description
Override Settings If you select the checkbox Override Settings, this will override the values set on
the host level: the AS2 Identity selected on the AS2 Identifier dropdown list
will be used to override the default AS2 identity for the host configured using
the procedure described in the following sections:
• TIBCO BusinessConnect Trading Partner Administration Guide, Set the Host’s
AS2 Identifier for a Protocol
• TIBCO BusinessConnect Trading Partner Administration Guide, Disabling
Session Cache for HTTPS
If you don’t select the checkbox Override Settings, the default AS2 identity for
the host will remain valid.
AS2 Identifier Select an AS2 identity that will be used to override the default AS2 identity.
3. Click Save.
Field Description
Override Settings If you select the checkbox Override Settings, this will override the values set
on the partner level: the AS2 Identity selected on the AS2 Identifier dropdown
list will be used to override the default AS2 identity for the host configured
using the procedure described in the following sections:
• TIBCO BusinessConnect Trading Partner Administration Guide, Set the Host’s
AS2 Identifier for a Protocol
• TIBCO BusinessConnect Trading Partner Administration Guide, Disabling
Session Cache for HTTPS
If you don’t select the checkbox Override Settings, the default AS2 identity for
the partner will remain valid.
AS2 Identifier Select an AS2 identity that will be used to override the default AS2 identity.
Allow override of If this checkbox is selected, and a file reference is being passed from the
filename via private process, then the name of the file is passed on to the Responder in an
HTTP parameter HTTP header called filename.
(applies only to
Each partner has this checkbox. If it is selected and there is a fileName field in
HTTP/S
the HTTP message header or in QueryString (in that order), the message will
transports)
be written to a file fileName. This file is created in the shared directory
located under the partner’s name directory. The file size is irrelevant in this
case.
Note This feature is fully supported for the Notify and Asynchronous
Request Response operations. For the Synchronous Request Response
operations, only request can send the filename to the partner while the
partner cannot send the filename on the response: a synchronous response
cannot be written to the file that the partner wants.
Use tibXML This option is used for forcing the packaging of the outbound public message
Packaging to a tibXML public message format.
See Use tibXML Packaging for more information.
3. Click Save.
Topics
• Overview, page 76
• Initiator Messages, page 77
• Responder Messages, page 81
• General Messages, page 86
• Multiple Attachments, page 87
Overview
The exchange of business documents is known as the process flow. In any TIBCO
BusinessConnect process flow, two types of messages are exchanged:
• Private messages
• Public messages See Managing EZComm Operations
Initiator Messages
If both plainRequest and inputFile are passed, the plainRequest node will be
used.
If both binaryRequest and inputFile are passed, the binaryRequest node will
be used.
toTp String Yes Name of the trading partner receiving the transaction
closure String No The private process generates the closure message and
sends it to TIBCO BusinessConnect, which is required
to return this closure contents back in the
InitiatorResponse to ensure that the private
process can match it with the original
Initiator.Request.
Attachment
statusCode String No Code indicating the status of the message. 200 for
success. Otherwise, a code that represents the type
of error.
Attachment
deleteFile Boolean No If set to true, then the private process can decide to
delete the inbound attachment file.
Body
Responder Messages
fromTp String Yes Name of the trading partner who initiated the
transaction
toTP String Yes Name of the trading partner who received the
transaction
isBinaryFile Boolean No This field shows whether the file specified in the
field inputFile is a binary file.
inputFile String No Used for a file reference that was passed to TIBCO
BusinessConnect.
Attachment
deleteFile Boolean No If set to true, then the private process can decide to
delete the inbound attachment file.
responseFile String No This is the name of the file that contains the
response.
closure String Yes This is the closure that is received from the
Responder Request Based on this value, this
response is correlated to the request.
Attachment
Body
General Messages
Error Messages
TIBCO BusinessConnect uses the error message to publish status information.
statusMsg String No The string representing the cause of one of the private
party-defined status or error codes
closure Reserved
Body
stringData String No
Multiple Attachments
• fileName A file reference can be sent as an attachment. The content of this file
will be read and set to the content of the attachment.
— If both the content and fileName fields are specified, then content will be
set as the attachment data.
— If neither the content nor the fileName fields are specified, then this
attachment element will not be processed.
Specifying of these fields is not enforced by the private process.
• deleteFile This is a Boolean field. If set to true, the file reference specified in
the filename field will be deleted after the completion (successful or
otherwise) of the transaction processing.
• contentID Represents the content Id for the attachment. It must be specified
and enforcement is performed at the BusinessWorks palette level. If this field
is not specified, it will be populated as transactionID-sequence number.
• contentType Represents the content type of the message content. If not
specified, it will be inferred by the protocol.
If there is no contentType field specified, such as when neither content nor the
fileName fields are specified, the attachment will not be processed.
EZComm writes an attachment to a file and sends the reference to the private
process, with one exception: if the private process message is in the tibXML
format, the attachment will be sent as part of the TIBCO Rendezvous message.
Based on the content-type of the attachment, it will be populated either in the
message type field STRING or OPAQUE.
EZComm can resend the private process messages that are in audit states
RECEIVED_FROM_PP and SEND_TO_PP.
Following is the relationship between the audit states and private process
message types:
• On the Initiator side
RECEIVED_FROM_PP INITIATOR.REQUEST
SEND_TO_PP INITIATOR.RESPONSE
Topics
Audit Logs
The audit log is used to store information about the messages and documents
processed by TIBCO BusinessConnect EZComm Protocol.
You can use the audit log to follow the processing states of inbound or outbound
documents. Some of the types of information stored in the audit log include: sent
and received documents; document originator; trading partner name; processing
status; and validation errors.
For more information on audit logs, see TIBCO BusinessConnect Trading Partner
Administration Guide, Audit Logs.
When doing searches, remember that the character “*” is not considered to work
as a wild card, but represents a part of a name.
Previous From this dropdown list, you can select the previous period to search:
• One Day
• One Week
• One Month
• One Year
Column Definition
Trading Partner Trading Partner name
Boolean search using: is, contains, is not, is not like
User TranID The user transactionID column displays the transaction ID received from the
private process on the Initiator side.
Initiator forwards this ID to the Responder and at the same displays it in this
column. This way, a transaction initiated by the Initiator can be
cross-referenced on the Responder side. This feature works only for HTTP/S
and Email transports. For File and FTP/S transports, this column is left blank.
Boolean search using: is, contains, is not, is not like
Column Definition
Operation ID Operation ID
Boolean search using: is, contains, is not, is not like
Host Initiates For the Initiator, this value will be true for any type of transaction (Notify ,
Synchronous Request Response, or Asynchronous Request Response). For the
Responder, this value is always false.
This value is true for outgoing requests, while for incoming requests and for
outgoing responses this value will be false.
Boolean search using: is, contains, is not, is not like
Transaction Type Type of the transaction you are searching, which is important to differentiate
since EZComm handles the tibXML messages.
The valid values for the field are as follows:
• EZComm-Notify (Notify operation for EZComm)
• EZComm-Async (Async operation for EZComm)
• EZComm-Sync (Sync operation for EZComm)
• tibXML-Notify (Notify operation for tibXML)
• tibXML_Async (Async operation for tibXML)
• tibXML-Sync (Sync operation for tibXML)
• tibXML-passthrough (Passthrough operation)
Boolean search using: is, contains, is not, is not like
4. In addition to these search entry fields, here are also buttons available that
allow you to do the following:
— Remove Query
— Execute Query
— Save Current Query
— Search
To learn more about these options, see TIBCO BusinessConnect Trading Partner
Administration Guide, Saving and Reusing Queries.
Non-Repudiation Logs
Column Definition
Trading Partner Name of the Trading Partner
Boolean search using: is, contains, is not, is not like
Document ID Document ID
Boolean search using: is, contains, is not, is not like
Operation ID Operation ID
Boolean search using: is, contains, is not, is not like
User TranID The user transactionID column displays the transaction ID received from the
private process on the Initiator side.
Boolean search using: is, contains, is not, is not like
4. In addition to these search entry fields, there are also buttons available that
allow you to do the following:
— Remove Query
— Execute Query
— Save Current Query
— Search
To learn more about these options, see TIBCO BusinessConnect Trading Partner
Administration Guide, Saving and Reusing Queries.
Resend Logs
For the state RECEIVED_FROM_PP, the Outbound File Poller messages cannot
appear in the list of resendable transactions and therefore cannot be resent.
For the state SEND_TO_PP, the Outbound File Poller messages can appear in the list
of resendable transactions.
The resend log provides two views into the audit log:
• Resendable transactions Allows you to resend a transaction.
• Resend history Allows you to view messages that have been resent.
For more information about resend logs, see TIBCO BusinessConnect Trading
Partner Administration Guide, Resend Logs.
The resendable transactions that are shown on the screen depend on the Private
Processes that are configured.
If TIBCO Rendezvous (or JMS) is configured for Private Process communication,
only the messages sent over or received from Rendezvous (or JMS) transport will
be displayed.
Table 33 lists the options to select in the Search Transactions section of the
resend log.
Previous From this dropdown list, you can select the previous period to search:
• One Day
• One Week
• One Month
• One Year
3. In addition to these search entry fields, here are also buttons available that
allow you to do the following:
— Search (execute a search)
— Done (finish using the dialog)
To learn more about these options, see TIBCO BusinessConnect Trading Partner
Administration Guide, Performing a Log Search.
Column Definition
Trading Partner Boolean search using: is, contains, is not, is not like
Transaction Type Boolean search using: is, contains, is not, is not like
Operation ID Operation ID
Boolean search using: is, contains, is not, is not like
User TranID Boolean search using: is, contains, is not, is not like
The user transactionID column displays the transaction ID received from the
private process on the Initiator side.
Initiator forwards this ID to the Responder and at the same displays it in this
column. This way, a transaction initiated by the Initiator can be
cross-referenced on the Responder side. This feature works only for HTTP/S
and Email transports.
For File and FTP/S transports, this column is left blank.
Host Initiates Boolean search using: is, contains, is not, is not like
• For the Initiator, this field will be true for any type of transaction (Notify,
Synchronous Request Response, or Asynchronous Request Response).
• For the Responder, it is always false.
This value is true for outgoing requests, while for incoming requests and for
outgoing responses this value will be false.
Status Select a specific status, such as ANY, CANCELED, COMPLETED, ERROR, ERROR
SECURITY, PENDING, or RECEIPT PENDING.
Previous From this dropdown list, you can select the previous period to search:
• One Day
• One Week
• One Month
• One Year
Column Definition
Trading Partner Boolean search using: is, contains, is not, is not like
User TranID Boolean search using: is, contains, is not, is not like.
Operation ID Operation ID
Boolean search using: is, contains, is not, is not like
Host Initiates Boolean search using: is, contains, is not, is not like
• For the Initiator, this field will be true for any type of transaction (Notify ,
Synchronous Request Response, or Asynchronous Request Response).
• For the Responder, it is always false.
This value is true for outgoing requests, while for incoming requests and for
outgoing responses this value will be false.
Transaction Type Boolean search using: is, contains, is not, is not like
7. In addition to these search entry fields, there are also buttons available that
allow you to do the following:
— Search (execute a search)
— Done (finish using the dialog)
To learn more about these options, see TIBCO BusinessConnect Trading Partner
Administration Guide, Performing a Log Search.
This chapter explains outbound and inbound File pollers for EZComm.
Topics
The outbound File poller provides a simple way for private processes to transmit
documents to TIBCO BusinessConnect. This contrasts with the other transports,
which are used for communication between trading partners.
The sending partner for outbound File pollers is assumed to be the default host.
Outbound File pollers are used by enterprises that do not wish to use TIBCO
Rendezvous to transfer documents to TIBCO BusinessConnect.
where
• BaseDir is a user selected base directory
Since the default operation has changed from BC/Notify to BC/1.0/Notify, files
in the directory Category_operationID will be treated as
Category_Empty_operationID; for example, TIBCO BusinessConnect will look
for an operation Category/Empty/operationID in the configuration store. To read
general information on how to enable an outbound File poller, see TIBCO
BusinessConnect Trading Partner Administration Guide, Outbound File Pollers.
When File outbound is used as a transport, the trading partner uses an inbound
File poller to check for the documents.
For the inbound File pollers, the receiving partner is assumed to be the default
host.
To read general information on how to enable an inbound File poller, see TIBCO
BusinessConnect Trading Partner Administration Guide, Inbound File Pollers.
The tibXML protocol users are now able to substitute it with the TIBCO
BusinessConnect EZComm Protocol, which can work with projects generated
using tibXML.
Topics
Overview
Figure 18 Initiator Request: Initiator Using tibXML 3.x, Responder Using EZComm 5.3
Initiator Responder
Request Request
In the second example, the Initiator is using TIBCO BusinessConnect 5.3 and the
TIBCO BusinessConnect EZComm Protocol, while the Responder is using TIBCO
BusinessConnect 3.6 and TIBCO BusinessConnect tibXML Protocol.
Figure 19 Initiator Request: Initiator Using EZComm 5.3, Responder Using tibXML 3.6
Initiator Responder
Request Request
There are three new fields in the EZComm GUI that facilitate
tibXML-to-EZComm integration:
• Publish tibXML Private Process Messages
This option is available under BusinessConnect>
EZComm><operation_name>>General as an operation property for inbound
and allows the Responder to send tibXML private process messages.
• tibXML Passthrough
This option is available as an action property only for the Notify operation
and enables it to send any XML or non-XML message resembling the Pass
Through Message in tibXML.
When this checkbox is selected and when the outbound URL/subject contains
tibXML, URL/subject is updated with tibXML-passthrough. For more
information, see Passthrough Mode in tibXML.
• Use tibXML Packaging
This option is available in the dialog under BusinessConnect>Partner>
EZComm->General. It is used for forcing the packaging of the outbound
public message, when the URL suffix does not contain EZComm or tibXML, to a
tibXML public message format; for example, a message with an additional
MIME part that contains the element <header>.
TIBCO BusinessConnect EZComm 5.3 looks for the standardID value of tibXML
for all private process messages (INITIATOR.REQUEST and RESPONDER.RESPONSE)
it receives. When the standardID is not present, it checks the subject or the RV
message to determine the protocol.
If tibXML processing is found either in the standardID or in the subject field,
the message will be interpreted as an tibXML private process message and TIBCO
BusinessConnect will look for the tibXML aeschema for fetching the values from
that message.
If any tibXML message (the message with a subject containing tibXML) contains
EZComm in the field standardID, it will be treated as EZComm and will fail.
Initiator Messages
When an INITITATOR.REQUEST arrives in tibXML message format, a message
INITIATOR.RESPONSE is sent out in the tibXML message format. The subject will
have tibXML as the protocol name. During this transaction, if there are any errors
or advisories, they will be published in the tibXML message format.
Responder Messages
On the Responder side, a user must configure to send the messages in the tibXML
format by selecting the option Publish tibXML Private Process Message on
the operation tab. If the RESPONDER.REQUEST message is sent out on the tibXML
subject in tibXML format, TIBCO BusinessConnect expects RESPONDER.RESPONSE
in the tibXML format and sends the RESPONDER.ACK on the tibXML subject.
INITIATOR REQUEST
Table 37 shows the INITIATOR.REQUEST fields that are different between
tibXML3.6 and EZComm 5.3:
INITIATOR RESPONSE
The message INITIATOR.RESPONSE will be published on the tibXML subject if the
message INITIATOR.REQUEST is received on tibXML.
When the outbound File poller is used as the private process that invokes a
tibXML transaction, the message INITIATOR.RESPONSE is published on the
EZComm subject, such as
AX.BC.Installation_Name.EZComm.INITIATOR.RESPONSE.
EZComm 5.3 Field tibXML 3.6 Field What are the differences?
fromTP hostName
toTP tpName Only the first trading partner from the tpNameList
sequence will be selected.
In tibXML, toTP can be specified using either the
tpName field or using a list of trading partners in the
tpNameList. When toTP is specified, tibXML sends
the requests to all listed trading partners. Since
EZComm doesn't support this feature, it takes the
first partner name from this sequence and sends the
request to that partner.
n/a deleteResponseFile
originalFileName n/a This field represents the actual file name of the file
reference specified in the RESPONDER.REQUEST
message
RESPONDER.REQUEST
Table 39 shows the RESPONDER.REQUEST fields that are different between
tibXML3.6 and EZComm 5.3:
EZComm 5.3 Field tibXML 3.6 Field What are the differences?
fromTP sourceTP EZComm 5.3 will always populate the fields hostname
(hostName) and tpName, while the field tpNameList will never be
populated.
toTP destinationTP
(tpName)
isBinaryFile n/a
inputFile requestFile
EZComm 5.3 Field tibXML 3.6 Field What are the differences?
originalFileName n/a • Outbound MIME message Content disposition will
(cont.) be populated with the originalFilename field in
the following cases:
— INITIATOR.REQUEST payload comes in as file
reference and signing, encryption, or
attachments are specified;
— outbound File poller is used as private process;
— the content disposition populated with the
filename comes from the INITIATOR.REQUEST
private process message.
RESPONDER.RESPONSE
There are no significant differences between fields for tibXML 3.6 and for
EZComm 5.3:
EZComm 5.3 Field tibXML 3.6 Field What are the differences?
stringData response
(plainResponse)
binaryResponse n/a
content-type n/a
content-disposit n/a
ion
— Email For this transport, the packaging format will be determined by the
expression tibXML: in the subject.
During the migration of tibXML 3.x to EZComm 5.3, the URLs and subjects will
be populated with the value tibXML and users don’t have to change these values
after migration
There are four MIME packaging options for the payload (content):
• Cleartext The payload is usually an XML string, but can be in any other
format. In this case, where the payload is neither signed nor encrypted, the
content should be a text string. The following combination of Content-Type
and Content-Transfer-Encoding applies in this case:
— Content-Type=text/plain; Charset=UTF-8.
The header is always an XML string that is packaged with the payload to form a
two-part MIME object. Content-Type for the header should be set to
text/plain; Charset=UTF-8, but this may be left blank.
The passthrough mode is available with tibXML messages, only for HTTP and
SMTP transports and only for the Notify operation. To send a message in the
passthrough mode, select BusinessConnect>Operations
Editor>EZComm>Notify_operation>Notify Request Action>tibXML
Passthrough.
When the checkbox tibXML Passthrough is selected, the following will happen:
• TIBCO BusinessConnect will forward the outbound messages received from
the private process without adding an envelope. No trading partner
validation and no binding will occur.
• TIBCO BusinessConnect won’t be able to use audit tables. Audit logging
requires mandatory fields, while in pass-through mode data is handled as a
single block, with no discernible fields. However, duplicate detection based
on the whole message is performed.
• Requests will be sent as a plain text and no MIME header, no signing, and no
encryption will be available.
• If the File or FTP transports, the tibXML-passthrough option will be ignored.
If you are changing the timing parameters in the Interfaces Initiated or Interfaces
Responded to dialog, you override the settings that were made for each operation
in the selected interface.
tibXML Migration
BW project with
BC 5.3 5
BC 5.3 palette
2a = Open BW project
1 2 2b = Import migrated
3 4 configuration data
BW project with
tibXML 3.6 tibXML 3.6
palette
Legend
BC = TIBCO BusinessConnect
BW = TIBCO ActiveMatrix BusinessWorks
The Migration Path that Does Not Import the Configuration Data
If you only perform the sub-step 2a but not the sub-step 2b, which means that the
data from the BusinessConnect 5.3 configuration store is not imported, the
migrated projects will still be able to communicate with the tibXML 3.x systems;
for example, the messages continue to be sent on tibXML subjects.
This incomplete migration path is not recommended for the following reasons:
• The private process message schema in the TIBCO BusinessConnect 3.6
palette does not match the one in TIBCO BusinessConnect 3.6. As a result, the
TIBCO BusinessConnect 3.6 palette is not able to receive some of the messages
generated by TIBCO BusinessConnect 3.6.
• Since EZComm 5.3 generates the private process messages the same way as
TIBCO BusinessConnect 3.6, they will not be received by the TIBCO
BusinessConnect 3.6 palette, or by the TIBCO BusinessConnect 3.6 palette
opened using the TIBCO BusinessConnect 5.3 palette (such as the TIBCO
BusinessConnect 3.6 project opened in TIBCO Designer 5.5 that has the TIBCO
BusinessConnect 5.3 palette).
The two activities that are affected are:
• Receive Request Activity There are no requestFile or deleteRequestFile
elements defined in the TIBCO BusinessConnect 3.6 palette schema: if the
Responder Request message contains such fields, the TIBCO BusinessConnect
3.6 palette (TIBCO BusinessConnect 3.6 palette migrated before the import)
will fail.
• Receive Response Activity There are no responseFile or
deleteResponseFile elements defined in migrated 3.6 palette schema: if an
Initiator Response message has such fields, the TIBCO BusinessConnect 3.6
palette will fail.
Topics
Overview
The Notify operation from TIBCO BusinessConnect 5.1 is defined in two levels as
<category>/<operation>, while the same operation in TIBCO
BusinessConnect 5.3 is defined in three levels as
<category>/<version>/<operation>.
The migrated Notify operation from TIBCO BusinessConnect 5.1 is denoted with
an 'Empty' version identifier, which is done when operations or the TIBCO
BusinessConnect 5.1 configuration store are migrated to version 5.3.
BW project with
BC 5.3 3
BC 5.3 palette
1 2
BW project with
BC 5.1
BC 5.1 palette
Legend
BC = TIBCO BusinessConnect
BW = TIBCO ActiveMatrix BusinessWorks
3. Complete Migration
To complete the migration, the configuration store must be imported into the
BusinessWorks project.
After the migration, the EZComm 5.3 schema will be available in the
BusinessWorks activities, and messages will be published in the EZComm 5.3
format.
The directory structure for the EZComm 5.1 can be one of the following:
• EZComm\Partner, or
• EZComm\Partner\Category_Operation.
Chapter 13 Troubleshooting
Topics
Troubleshooting EZComm
ORIG_FILE_NAME and ORIG_FILE_PATH are not populated when using outbound File poller to
send files from private processes
When using outbound File poller to send files from private processes, the file slots
ORIG_FILE_NAME and ORIG_FILE_PATH may not be populated.
Outbound transactions for HTTP in EZComm are not entered in the non-repudiation log
Non-repudiation logs, in general, are used for signed messages to avoid disputes
between trading partners. When using HTTP with EZComm, there are two types
of signed messages that can be exchanged:
• Inbound signed messages These messages are posted to the non-repudiation
log. Since the trading partner already signed such message and the signature
can be verified, there can be no dispute that the message came from this
specific trading partner.
• Outbound signed messages When a signed message is sent using HTTP
outbound, there is no ability to request a receipt. The trading partner’s HTTP
server can officially acknowledge that the message was received, but it cannot
verify the signature on the message. The acknowledgement from the HTTP
server about the message arrival is not the same as the acknowledgement
from the trading partner who actually received and processed the message.
Therefore, if TIBCO BusinessConnect would post such outbound signed
message into the non-repudiation log, the other trading partner could still
dispute that they received the message. For that reason, HTTP transport in
EZComm does not enter outbound signed messages in the non-repudiation
log.
When I import the whole configuration in EZComm, the operation is not imported
When an operation in a .csx file already exists in the BusinessConnect 5.3 system,
upon importing the .csx file this operation will not be imported.
For example, if you try to import the operation BC/version/operation, which exists
by default, you need to rename the existing BC/version/operation (such as
BC/5.3/operation1) in order to import a new operation with the same name.
The exception is the default operation BC/1.0/Notify, which cannot be renamed
or deleted: this operation has to be updated manually.
Topics
Overview
The putexample.txt script puts the document to the FTP server. The
mgetexample.txt script does an mget from the FTP server of all files that match a
particular search filter, which in this example is the trading host name.
Tutorial Files
The following files are part of this tutorial:
• BC_installation_directory\samples\bc\ftpscripts\putexample.txt
• BC_installation_directory\samples\bc\ftpscripts\mgetexample.txt
f. Click the EZComm link in the Outbound File Poller Configuration area.
g. Select the Enable checkbox.
h. In the Directory to Monitor field, type BaseDir/Seller/*.*.
i. Click Save twice.
j. Click Deploy.
k. Click OK.
l. Restart the BusinessConnect server if it was not started when you clicked
Deploy.
3. Copy the file BC_home\samples\EZComm\sampleXML\xsd\101.xml into
BaseDir/Seller.
Expected Results
After the Initiator BusinessConnect receives the file from the TIBCO ActiveMatrix
BusinessWorks process or picks up the file from the outbound file poller directory,
the following will happen:
• BusinessConnect establishes contact with the FTP server, passing the user
name and password specified in the FTP transport configuration for Seller.
• BusinessConnect then invokes the putexample.txt script. The script looks
for the directory examples/BC in the FTP root directory and creates them if
they do not exist.
• Finally, the file is written to examples/BC.
On the Responder, BusinessConnect polls the directory specified in the inbound
FTP configuration in the business agreement. When a file is detected,
BusinessConnect runs the mgetexample.txt script, which looks for all the files in
the examples/BC directory.
The modifyexample.txt script shows how to call Java methods from inside the
FTP scripts and how to execute a batch/shell program before sending the file to
the FTP server. The batch/shell program calls a Java program that modifies the
document by adding CRLF (\r\n) at the end of the document. The
executePutCmd method is then executed to store the file at the FTP server.
This example is a demonstration that Java classes can be called from scripts at
runtime and external programs can be called by using the Java runtime class.
Tutorial Files
The following files are part of this tutorial:
• BC_installation_directory\samples\bc\ftpscripts\modifyexample.txt
• BC_installation_directory\samples\bc\ftpscripts\ftpexample.jar
— java.property.bc.user.execProgramDir:
BC_installation_directory\samples\bc\ftpscripts
Expected Results
You will notice that the file that is transferred to the FTP server location will
contain the extra CRLF. If you are trying to process this document on the
Responder, there will be extra CRLF at the end of the file.
Once the files are successfully retrieved, the files from the examples1 directory
are deleted. If the files could not be retrieved for some reason (such as when a
communication failure happens), the corresponding tracing and auditing entries
are created. In such case, the script retrieves all files from the examples2 directory
whose extension is *.bin and whose size is greater than or equal to 200 KB. Upon
successful retrieval, the retrieved files are deleted.
Tutorial Files
The following files are part of this tutorial:
bc_home\examples\bc\sshftpscripts\ssh_putexample.txt
bc_home\examples\bc\sshftpscripts\ssh_mgetexample.txt
6. Configure FTP.
For more information, see the TIBCO BusinessConnect Trading Partner
Administration Guide, Select and Configure SSHFTP Inbound.
7. Select Script in the File Processing dropdown list.
8. Click change in the Scripts field.
9. Select Uploaded File from the Type dropdown list.
10. Click Browse.
11. Select bc_home\examples\bc\sshftpscripts\ssh_mgetexample.txt.
12. Click Open.
13. Click OK.
14. Select the Delete File checkbox.
15. Click Save twice.
Expected Results
After the Initiator BusinessConnect receives the file from the BusinessWorks
process, or picks up the file from the outbound File poller directory, the following
will happen:
• BusinessConnect will establish contact with the SSHFTP server and
authenticate with the selected authentication method specified in the SSHFTP
transport configuration for Seller (either rsa/dsa public key or user
name/password).
• BusinessConnect then invokes the ssh_putexample.txt script. The script
looks for the directory examples1 in the SSHFTP root directory, and creates it
if it does not exist.
• Finally, the file is written to the directory examples1.
On the Responder machine, BusinessConnect runs the configured script that polls
the specified directories.
When a file is detected, BusinessConnect retrieves this file through the script
ssh_mgetexample.txt. This script looks for files in the examples1 and
examples2 directories as described above.
Index
A exchanging URIs
Email transport 34
about EZComm 2 File transport 34
about EZComm public messages 40 FTP transport 35
about schema validation in EZComm 40 HTTP transport 36
add binding for the host 66 EZComm
add new category 47 error messages 86
add new operation 48 features 3
add new version 48 general messages 86
add properties 54 Initiator Inbound Response 79
Asynchronous Request Response operation 45 Initiator messages 77
audit logs for EZComm 90 Initiator Outbound Request 77
logging support 4
operation support 4
Responder Acknowledgement 85
C Responder Inbound Request 81
Responder messages 81
caching of schemas 40 Responder Outbound Response 83
configure agreement protocol binding for security 4
EZComm 65 support for multiple attachments 4
customer support xvii support for private transports 3
support for public transports 3
tibXML protocol integration 4
XML validation 4
D EZComm public messages overview 40
EZComm URIs exchange 34
delete properties 54 ezcomm.notify.email.preserveSubject 54
Document Security for Business Agreements 71
duplicate message detection 4, 41
F
E File transport 103
fileName 36
edit agreement for Initiator first tutorial example 137
Show Advanced 73
error codes 121
H R
Host can Initiate Request Action tab 50
Override Outbound Settings 67 resend logs for EZComm 96
resending EZComm private process messages 88
Response Action tab 51
run the first tutorial example 139
I run the third tutorial example 146
running the tutorial 26
inbound duplicate detection criteria 42
S
M
second tutorial example 141
managing properties 54 set up the first tutorial 138
mgetexample.txt example 137 set up the property ezcomm.interior.pp.threshold 57
migration overview 126 set up the property
modifyexample.txt example 141 ezcomm.notify.email.preserveSubject 54
set up the second tutorial 141
set up the third tutorial 144
shadow credential usage for EZComm 71
N statuscode and statusmsg field reference 121
support, contacting xvii
non-repudiation logs for EZComm 93 Synchronous Request Response operation 44
Notify operation 43
T
O
technical support xvii
Operation tab 49 third tutorial example 143
outbound duplicate detection criteria 41 expected results 147
outbound File Poller migration 130 how to send files 144
outbound File Pollers for EZComm 102 ssh_mgetexample.txt 143
ssh_putexample.txt 143
steps on the Initiator machine 144
steps on the Responder machine 145
P tutorial files 144
TIBCO_HOME xiv
Partner Can Initiate
Override Inbound Settings 69
private process migration 128
public messages migration 127
putexample.txt example 137