The pipdefinitions.xml
file is the key for configuring Activator for RosettaNet trading, although other steps are required as well. The file defines the business messages to be traded for each PIP and the order in which each message is sent or received. Activator uses the definitions to validate RosettaNet messages and the trading order.
The file is at <install directory>\conf\rosettanet
.
The following figure shows an example of the pipdefinitions.xml
file. This example shows the definition for using the Asynchronous Request-Confirm test PIP. The PIP is defined between the beginning and ending Pip element tags. You can define as many PIPs as you want in this file.
See the following example of a pipdefinitions.xml
file.
|
Note | Activator supports asynchronous responses, but not synchronous responses for RNIF. |
The following describes the elements in the pipdefinitions.xml
file.The following figure is an example of how the elements are used. Most of the information is used to build RosettaNet headers. But some elements, such as retryAttempts and timeToAcknowledge, affect performance of Activator.
<install directory>\conf\rosettanet\schemas
. <install directory>\conf\rosettanet\dtds
or the schema to <install directory>\conf\rosettanet\schemas
. If off, you still must copy to the dtds or schemas directory, but Activator does not perform validation.dtds
directory or a schema to the schemas directory. The noload option allows trading of documents with a DOCTYPE declaration, but the DTD or schema does not have to be in the dtds or schemas directory. The DTD name still must be configured within each DTD Action element. The DTD name is used for document recognition. If an outbound document includes a DOCTYPE declaration and there is no matching DTD attribute, the message is rejected. <install directory>\conf\rosettanet\guidelines
.pipdefinitions.xml
file in parallel with the specification. <install directory>\conf\rosettanet\dtds
. For schema-based PIPs, if dtdValidation
=”on”, the value is the name of the schema to validate against. The name is available in <install directory>\conf\rosettanet\schemas
. Look in the XML\Interchange
directory for the desired PIP. If validation is off, this attribute is not used.pipdefinitions.xml
is used only when the value is not found in the service content. The value is required for schema-based PIPS. It is not specified in the service content of schema-based PIPs.fromRole/PartnerRoleDescription/PartnerDescription/
BusinessDescription/GlobalBusinessIdentifier
)
fromRoutingIdXpath=”fromRole/PartnerRoleDescription/ PartnerDescription/BusinessDescription/ BusinessIdentification/GlobalBusinessIdentifier” |
pipdefinitions.xml
is used only when the value is not found in the service content. The value is required for schema-based PIPS. It is not specified in the service content of schema-based PIPs.toRoutingId
changes from the usual location (toRole/PartnerRoleDescription/PartnerDescription/
BusinessDescription/GlobalBusinessIdentifier
)
toRoutingIdXpath=”toRole/PartnerRoleDescription/ PartnerDescription/BusinessDescription/ BusinessIdentification/GlobalBusinessIdentifier” |
pipdefinitions.xml
is used only when the value is not found in the service content. The value is required for schema-based PIPS. It is not specified in the service content of schema-based PIPs.pipdefinitions.xml
is used only when the value is not found in the service content. The value is required for schema-based PIPS. It is not specified in the service content of schema-based PIPs./*/thisDocumentIdentifier/ProprietaryDocumentIdentifier
for DTD based service contents. /*/ssdh:DocumentHeader[1]/ssdh:DocumentInformation[1]/
ssdh:DocumentIdentification[1]/ssdh:Identifier[1]
timeToAcknowledge
interval must elapse before another resend is attempted. This value is specified in the RosettaNet PIP specification document.