Codeunit 1290 "SOAP Web Service Request Mgt."
Base Application · System.Integration
Across versions
- BC23present
- BC2412 procedures changed
- BC258 procedures added, 6 procedures changed
- BC26-27unchanged
- BC285 procedures removed
- BC29unchanged
- BC301 procedures added
Neighbourhood 7 connected objects and pages
Base Application · System.Integration · BC23-30 · source at ea08af5e · 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()Δ BC24 Δ BC25GetResponseContent(var ResponseBodyInStream: InStream)Δ BC24ProcessFaultResponse(SupportInfo: Text)Δ BC24SetGlobals(RequestBodyInStream: InStream; URL: Text; Username: Text; Password: SecretText)Δ BC24 Δ BC25 + BC25 − BC28SetBasicCredentials(Username: Text; Password: SecretText)Δ BC24 Δ BC25 + BC25 − BC28SetAction(SoapAction: Text)SetStreamEncoding(StreamEncoding: TextEncoding)SetTimeout(NewTimeout: Integer)SetContentType(NewContentType: Text)SetTraceMode(NewTraceMode: Boolean)DisableHttpsCheck()DisableProgressDialog()HasJWTExpired(JsonWebToken: SecretText): BooleanΔ BC24 Δ BC25 + BC25 − BC28GetTokenValue(WebTokenAsJson: Text; ClaimType: Text): TextΔ BC24GetTokenDateTimeValue(WebTokenAsJson: Text; ClaimType: Text): DateTimeΔ BC24GetTokenDetailsAsJson(JsonWebToken: SecretText; var WebTokenAsJson: Text)Δ BC24 Δ BC25 + BC25 − BC28GetTokenDetailsAsNameBuffer(JsonWebToken: SecretText; var Buffer: Record "Name/Value Buffer")Δ BC24 Δ BC25 + BC25 − BC28
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” (9 calls:
AddBodyToEnvelope → LoadXMLDocumentFromInStream,CreateEnvelope → AddAttribute,CreateEnvelope → AddAttributeWithPrefix, …) - Codeunit 5459 “JSON Management” (6 calls:
GetTokenDetailsAsJson → AddJPropertyToJObject,GetTokenDetailsAsJson → GetJSONObject,GetTokenDetailsAsJson → InitializeEmptyObject, …) - Codeunit 1299 “Web Request Helper” (4 calls:
CheckGlobals → IsSecureHttpUrl,CheckGlobals → IsValidUri,ProcessFaultResponse → GetWebResponseError, …) - Codeunit 1292 “Trace” (3 calls:
ProcessFaultResponse → LogStreamToTempFile,TraceLogStreamToTempFile → LogStreamToTempFile,TraceLogXmlDocToTempFile → LogXmlDocToTempFile) - Codeunit 4100 “Temp Blob” (3 calls:
ExtractContentFromResponse → CreateOutStream,GetResponseContent → CreateInStream,SendRequestToWebService → CreateInStream) - Codeunit 10 “Type Helper” (1 call:
GetTokenDateTimeValue → EvaluateUnixTimestamp)
Called by
- Codeunit 248 “VAT Lookup Ext. Data Hndl” (7 calls:
SendRequestToVatRegistrationService → DisableHttpsCheck,SendRequestToVatRegistrationService → GetResponseContent,SendRequestToVatRegistrationService → ProcessFaultResponse, …)
Recent changes
- 2026-10-02 #12194 Harden web request helpers: opt-in default credentials (main, BC30, breaking)
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.