Outbound Response Format

The responder private process uses this message class to send outbound response messages to TIBCO BusinessConnect RosettaNet Protocol.

Class BCResponseFromPP

Installation prefix.installation.RESPONDER.REQUEST (JMS queue)

Remarks When sending a response message using this message class, you must copy the value of the sender field (with all fields in the TPInfo object), processInstanceIdentifier, transactionID, and transactionAttemptCount from the original inbound BCRequestToPP message.

Message Fields

BCResponseFromPP: Responder Private Process to TIBCO BusinessConnect Message
Message Field Type Required Description
transaction ID String Yes A concatenation of the initiating trading partner’s DUNS ID and the value of the processInstanceIdentifier field in the RNRequestToPP object, separated by the character ’^’.

For example: 123456789^PID000000001

standardID String Yes The string "RosettaNet".
operationID String Yes

A three-part PIP ID of the following format:

PIP/version/activity.

For eample: 3A4/1.4/Create Purchase Order.

responder TrackingID

String No (Optional) Private process tracking ID.
isDuplicate String Yes true or false. Indicates that the message contains a duplicate request
closure String No Reserved
extraInfo RosettaNet/ Response/ RNResponse FromPP Yes RosettaNet protocol specific data.

See RNResponseFromPP Object, on for formatting information.

status RosettaNet/Info/ StatusInfo Yes An object describing the status of the transaction.

See StatusInfo Object for formatting information

attachment List Sequence of RosettaNet/Info/ AttachmentInfo No A sequence of attachments. See AttachmentInfo Object on for formatting information.
request String Yes The content of the entire RosettaNet PIP request, without headers and attachments. The requestdocument may also be placed in a file whose pathis specified in the fileReference field, leaving thisfield empty.

See Request and Response Fields for formatting information.

sender RosettaNet/ Info/TPInfo Yes The initiating trading partner. See See TPInfo Fields for formatting information.
Note: You must copy the value of this field fromthe original BCRequestToPP message
response String No The content of the entire RosettaNet PIP response. See Request and Response Fields for formatting information. Do not use this field to send an exception response, but use the status field instead
file Reference String No

The absolute path to the RosettaNet PIP response document you wish to send. You may use this field instead of the response field if the document is too large or for any other reason. This field takes precedence over the response field.

RNResponseFromPP Object

Included in the extraInfo field is the RNResponseFromPP object (RosettaNet/Response/RNResponseFromPP). See the following for a description of each field:

RNResponseFromPP Object
Message Field Type Description
globalUsage Code String Specify Test or Production. The value provided here is copied to the <GlobalUsageCode> element in the outbound response document’s preamble header.
rnifVersion String The RNIF version extracted from the <VersionIdentifier> element in the inbound PIP document’s preamble header. Specify 1.1 or 2.0 to indicate the RNIF version you wishto use. The value provided here is copied to the<VersionIdentifier> element in the outbound responsedocument’s preamble header.
process Instance Identifier String The instance identifier to be copied to the ProcessIdentity/InstanceIdentifier (RNIF 1.1) or pipInstanceId/InstanceIdentifier (RNIF 2.0) element of the outbound response document’s service header. Note You must copy the value of this field from the original BCRequestToPP message.
transaction Identifier String

(RNIF 1.1 only) The transaction’s instance identifier. The value provided here is copied to the TransactionIdentity/InstanceIdentifier element of the outbound response document’s service header

transaction AttemptCount Integer (RNIF 1.1 only) Number for the current attempt (first one is 1). The value provided here is copied to the <AttemptCount> element of the outbound response document’s service header.

StatusInfo Object

The StatusInfo object (RosettaNet/Info/StatusInfo) is used to indicate a success or error of the transaction. An indicated error in this object causes TIBCO BusinessConnect RosettaNet Protocol to send an exception response to the trading partner. See the following table for a description of each field:

StatusInfo Object
Field Type Description
code String Either success or error to indicate whether the PIP succeeded or failed. If the value here is error, an exception response is sent to the trading partner.
reason String The reason for error in case an error occurred. The value o this field is copied into the /ExceptionDescription/errorDescription/FreeFormText element in the exception response that is sent to the trading partner
rnCode String The RNIF 2.0 exception code.