Interface IMessageResponseHandler

E-Document Core, Microsoft.eServices.EDocument.Integration.Interfaces

Source AL, 29 lines

src/Apps/W1/EDocument/App/src/Integration/Interfaces/IMessageResponseHandler.Interface.allines 13 to 28 of 29, Copyright (c) Microsoft Corporation. MIT

interface IMessageResponseHandler{    /// <summary>    /// Polls the external service for the response to a previously sent child message.    /// </summary>    /// <param name="EDocument">The parent E-Document.</param>    /// <param name="EDocumentService">The service used to send the message.</param>    /// <param name="MessageContext">The original message context and transport diagnostics.</param>    /// <returns>True when the response is complete; otherwise false.</returns>    /// <remarks>    /// A completed response must set the context status to Sent. A response that is not ready must set it to Pending Response.    /// Implementations must use MessageContext.GetMessageEntryNo() to correlate the external request.    /// The E-Document Core app does not provide connector endpoint, authentication, or response parsing behavior.    /// A connector or integration adapter must implement those transport-specific responsibilities.    /// </remarks>    procedure GetResponse(var EDocument: Record "E-Document"; var EDocumentService: Record "E-Document Service"; MessageContext: Codeunit "E-Doc. Message Context"): Boolean;

All 29 lines

Public procedures 1 in 29

GetResponse(var EDocument: Record "E-Document"; var EDocumentService: Record "E-Document Service"; MessageContext: Codeunit "E-Doc. Message Context"): Booleannew in 29

Implemented by 2

codeunit 6534 "E-Doc. Msg. Transport Default"E-Document Corenew in 29
enum 6151 "Service Integration"E-Document Corenew in 26