code change · refactorIntegration & APIsofficial - Microsoftreviewed - checked by Opus

#12326 Migrate Doc. Exchange and OCR service callers off Http Web Request Mgt.

Document Exchange and OCR service codeunits migrate from DotNet Http Web Request Mgt to native HttpClient, removing DotNet dependencies while maintaining backward-compatible public signatures.

Pull request · merged into main (BC30) on 2026-10-09 by darjoo · 6 files (+922 -351), 3 AL · refactor · tier official · reviewed (checked by Opus)

What changed

  • Doc. Exch. Service Mgt. and OCR Service Mgt. now use native HttpClient, HttpRequestMessage and HttpResponseMessage instead of Http Web Request Mgt.
  • Credentials, form bodies and auth headers are handled as SecretText with NonDebuggable
  • DotNet XML parsing replaced by native XmlDocument and XML DOM Management overloads
  • Embedded attachments are decoded with Base64 Convert into a Temp Blob instead of DotNet File/Convert and a server temp file
  • OCR session cookie uses the native Cookie type with explicit re-authentication when missing or expired

AL objects touched

Context

  • Work items: AB#647963
  • Labels: Team: Integrations
  • Systems: integration
  • From the description: “It follows #10755 (merged) and #12254 (draft) and uses the same patterns.”

No source states these links: they share an object, a model read them, or a person found the same subject.

  • Outgoing Web Service Request Trace — possibly related: Migrating outgoing web service calls, documented in outgoing web service request trace telemetry. (model-linked)

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).