cXML Document Processing without Trading Networks
When using Ariba Supplier OnRamp without Trading Networks, it uses document handlers (services that you create) to process the following cXML documents and MIME messages sent from Ariba SN:
If the cXML document contains a PunchOutSetupRequest element in the XML message and if the
operation attribute of that element has a value (
create,
inspect, or
edit),
receiveCXML considers the message to be a PunchOutSetupRequest message, and processes the message as described in
PunchOutSetupRequest Processing.
If the cXML document contains an OrderRequest Header element in the XML message,
receiveCXML considers the message to be an OrderRequest message, and processes the message as described in
OrderRequest Processing.
If the cXML document contains a ProfileRequest element in the XML message,
receiveCXML considers the message to be an ProfileRequest message, and processes the message as described in
ProfileRequest Processing.
If the cXML document contains a MasterAgreementRequest element in the XML message,
receiveCXML considers the message to be a MasterAgreementRequest message, and processes the message as described in
MasterAgreementRequest Processing.
If the document is a MIME message, a content handler in
Ariba Supplier OnRamp reads in the MIME message. It parses the message and creates a MIME object representing the message. The MIME object is put into
receiveCXML's pipeline. Then,
receiveCXML parses the MIME object and creates a node object and an attachmentwrappercollection object (for attachment documents). Finally,
receiveCXML executes the rest of its logic to determine the type of document represented by the node object, as before.
If none of the conditions above is true,
receiveCXML returns a cXML ErrorResponse message, indicating that the document is "unknown". The ErrorResponse is a cXML document returned in the body of the HTTP response returned to the Ariba Buyer that sent the original document. In addition, if logging is enabled, a log entry is entered, indicating that an unknown cXML document was received.