---
id: object/codeunit/1290
type: object
title: Codeunit 1290 "SOAP Web Service Request Mgt."
summary: Codeunit 1290 "SOAP Web Service Request Mgt." in Base Application (System.Integration). 17 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24-25, BC28, BC30.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "30"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 32747895141db0c98ec3d68342bfb57475d8b378f5e0e87f69d78dcf9a5e3f57
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/System/SOAPWebServiceRequestMgt.Codeunit.al
    title: src/Layers/W1/BaseApp/System/SOAPWebServiceRequestMgt.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/12194
object_type: codeunit
object_id: 1290
name: SOAP Web Service Request Mgt.
namespace: System.Integration
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "28"
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 29
  events: 1
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 6
  called_by: 1
  implements: 0
---

# Codeunit 1290 "SOAP Web Service Request Mgt."

> Codeunit 1290 "SOAP Web Service Request Mgt." in Base Application (System.Integration). 17 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24-25, BC28, BC30.

Base Application · System.Integration · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/System/SOAPWebServiceRequestMgt.Codeunit.al) · facts from BC29

## Events published

- `OnBeforeCreateSoapRequest(var RequestOutStream: OutStream; var BodyContentInStream: InStream; var XmlDoc: DotNet XmlDocument; var Username: Text; var Password: Text; var TraceLogEnabled: Boolean; var IsHandled: Boolean)` (integration)

## Procedures

- `SendRequestToWebService()`
- `GetResponseContent(var ResponseBodyInStream: InStream)`
- `ProcessFaultResponse(SupportInfo: Text)`
- `SetGlobals(RequestBodyInStream: InStream; URL: Text; Username: Text; Password: SecretText)`
- `SetBasicCredentials(Username: Text; Password: SecretText)`
- `SetAction(SoapAction: Text)`
- `SetStreamEncoding(StreamEncoding: TextEncoding)`
- `SetTimeout(NewTimeout: Integer)`
- `SetContentType(NewContentType: Text)`
- `SetTraceMode(NewTraceMode: Boolean)`
- `DisableHttpsCheck()`
- `DisableProgressDialog()`
- `HasJWTExpired(JsonWebToken: SecretText): Boolean`
- `GetTokenValue(WebTokenAsJson: Text; ClaimType: Text): Text`
- `GetTokenDateTimeValue(WebTokenAsJson: Text; ClaimType: Text): DateTime`
- `GetTokenDetailsAsJson(JsonWebToken: SecretText; var WebTokenAsJson: Text)`
- `GetTokenDetailsAsNameBuffer(JsonWebToken: SecretText; var Buffer: Record "Name/Value Buffer")`

Plus 11 local procedures.

## Triggers

OnRun

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 6224 "XML DOM Management"](../codeunit/6224.md) (9 calls: `AddBodyToEnvelope → LoadXMLDocumentFromInStream`, `CreateEnvelope → AddAttribute`, `CreateEnvelope → AddAttributeWithPrefix`, …)
- [Codeunit 5459 "JSON Management"](../codeunit/5459.md) (6 calls: `GetTokenDetailsAsJson → AddJPropertyToJObject`, `GetTokenDetailsAsJson → GetJSONObject`, `GetTokenDetailsAsJson → InitializeEmptyObject`, …)
- [Codeunit 1299 "Web Request Helper"](../codeunit/1299.md) (4 calls: `CheckGlobals → IsSecureHttpUrl`, `CheckGlobals → IsValidUri`, `ProcessFaultResponse → GetWebResponseError`, …)
- [Codeunit 1292 "Trace"](../codeunit/1292.md) (3 calls: `ProcessFaultResponse → LogStreamToTempFile`, `TraceLogStreamToTempFile → LogStreamToTempFile`, `TraceLogXmlDocToTempFile → LogXmlDocToTempFile`)
- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (3 calls: `ExtractContentFromResponse → CreateOutStream`, `GetResponseContent → CreateInStream`, `SendRequestToWebService → CreateInStream`)
- [Codeunit 10 "Type Helper"](../codeunit/10.md) (1 call: `GetTokenDateTimeValue → EvaluateUnixTimestamp`)

## Called by

- [Codeunit 248 "VAT Lookup Ext. Data Hndl"](../codeunit/248.md) (7 calls: `SendRequestToVatRegistrationService → DisableHttpsCheck`, `SendRequestToVatRegistrationService → GetResponseContent`, `SendRequestToVatRegistrationService → ProcessFaultResponse`, …)

## Recent changes

- 2026-10-02 [#12194 Harden web request helpers: opt-in default credentials](../../changes/bcapps/12194.md) (main, BC30, breaking)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-25, BC28, BC30

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "SOAP Web Service Request Mgt.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
