OnRamp for Commerce One MarketSite 3.5 SP1 | webMethods OnRamp for Commerce One MarketSite Adapter Documentation | webMethods OnRamp for CommerceOne MarketSite Adapter Installation and User’s Documentation | Public Records, Specifications, and Services | pub.marketconnect.transport | receiveEnvelope
 
receiveEnvelope
Receives incoming envelopes from MarketSite, gets the document type from each envelope, and forwards the envelope to the appropriate envelope handler service. The receiveEnvelope service also receives reply envelopes and returns them to MarketSite in these cases:
*When a synchronous request was processed with no errors, the receiveEnvelope service receives a reply envelope containing an xCBL response document and any attachments from the envelope handler service and returns the reply envelope to MarketSite.
*When an asynchronous request was processed with no errors, if you have created a custom acknowledgement, the receiveEnvelope service receives a reply envelope containing the custom acknowledgement from the createAcknowledgement service and returns the reply envelope to MarketSite.
*When a synchronous or asynchronous request had processing errors, if you have created a custom error, the receiveEnvelope service receives a reply envelope containing the custom acknowledgement from the createError service and returns the reply envelope to MarketSite.
Package
WmMarketConnect
Input Parameters
envelope
Envelope received from MarketSite.
Output Parameters
replyEnvelope
Reply envelope to return to MarketSite.