Codeunit 18122340 EOS SOAP Management

Codeunit 18122340 EOS SOAP Management

Methods

Initialize

procedure Initialize(): Guid

Parameters / Return Value

  • Returns Guid

IsInitialized

procedure IsInitialized(id: Guid): Boolean

Parameters / Return Value

  • id Guid

  • Returns Boolean


SetSoapNamespaceUri

procedure SetSoapNamespaceUri(uri: Text)

Parameters / Return Value

  • uri Text

MakeSoapRequest

procedure MakeSoapRequest(url: Text; requestDoc: XmlDocument): XmlDocument

Parameters / Return Value

  • url Text

  • requestDoc XmlDocument

  • Returns XmlDocument


MakeSoapRequest

procedure MakeSoapRequest(url: Text; method: Text; namespace: Text; parameters: Dictionary of [Text, Text]): XmlDocument

Parameters / Return Value

  • url Text

  • method Text

  • namespace Text

  • parameters Dictionary[Text,Text]

  • Returns XmlDocument


ContentType

procedure ContentType(): Text

Returns the content type that is used for the request.

Parameters / Return Value

  • Returns Text

    The content type.


ContentType

procedure ContentType(Value: Text)

Specify the content type to use for the request. If this is not specified, ‘application/soap+xml’ is used.

Parameters / Return Value

  • Value Text

    The new contant type to use for the request.


Events

OnBeforeSendRequest

local procedure OnBeforeSendRequest(Url: Text; RequestXml: Text)

Parameters / Return Value

  • Url Text

  • RequestXml Text


OnRequestFailed

local procedure OnRequestFailed(Url: Text; StatusCode: Integer; RequestXml: Text; ResponseXml: Text; var ThrowError: Boolean)

Parameters / Return Value

  • Url Text

  • StatusCode Integer

  • RequestXml Text

  • ResponseXml Text

  • ThrowError Boolean


OnRequestSucceeded

local procedure OnRequestSucceeded(Url: Text; RequestXml: Text; ResponseXml: Text)

Parameters / Return Value

  • Url Text

  • RequestXml Text

  • ResponseXml Text


AddHttpParam

local procedure AddHttpParam(var Request: HttpRequestMessage; CurrGuid: guid)

Parameters / Return Value

  • Request HttpRequestMessage

  • CurrGuid guid



EOS Labs -