Sun B2B Suite eXchange Integrator User's Guide

associate

ChannelManagerClient.associate is used to associate a response to a request. This operation can only be used for message level documents — in other words envelopes, as opposed to business documents.

The service associates the response to the request using a message identifier to tie the two messages to each other.

Table 3–8 Input Containers for ChannelManagerClient.associate

Name 

Description 

OrigPkgHdrId 

Database ID of the original message 

AckPkgHeaderId 

Database ID of the acknowledgement message 

PkgType 

Name of the messaging or packaging envelope used for the message, such as ISA or GS. 

TPId 

The database’s unique ID for the trading partner; in other words, the foreign key to ex_trading_partner. 

MsgUniqId 

Unique ID for the message. 

ErrorFlag 

A value of Y signifies that the message contains a “business” type of error: could not decrypt, could not verify signature, and so forth. 

ErrorNo 

(reserved) 

ErrorStr 

A description of the error. 

Table 3–9 Output Container for ChannelManagerClient.associate

Name 

Description 

PkgAssocId 

Association ID used to associate the response package to the request package.