SAP Knowledge Base Article - Preview

3071397 - ESI - Dump: SRT: Reserved Namespace cannot be introduced in header via header protocol

Symptom

When executing an outbound Web Service call, the following DUMP occurs:

Category               ABAP Programming Error
Runtime Errors         UNCAUGHT_EXCEPTION
Except.                CX_SOAP_CORE
ABAP Program           CL_WSPROTOCOL_WS_HEADER=======CP
Application Component  BC-ESI-WS-ABA-RT

Short text
An exception has occurred that was not caught.
What happened?

The exception of class "CX_SOAP_CORE" was triggered but not caught anywhere in
 the
call hierarchy.


Since exceptions represent error situations, and this error was not
adequately responded to, ABAP program "CL_WSPROTOCOL_WS_HEADER=======CP" had
 to be terminated.

Source Code Extract

read table mt_reserved_ns with key table_line = namespace transporting no fields.
if sy-subrc = 0.
   raise exception type cx_soap_core
     exporting
      e_text = |{ cl_soap_runtime_error=>get_text_for_error_id( tsoap_reserved_ns ) } { 
endif.

Error analysis

An exception has occurred in class "CX_SOAP_CORE". As this exception was not
caught, a runtime error occurred. The reason for the exception
occurring was:
Error when calling SOAP Runtime functions: SRT: Reserved Namespace cannot be
introduced in header via header protocol. Affected Namespace:
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.x
sd

 


Read more...

Environment

  • ABAP PLATFORM 2020 - Application Server ABAP (SAP_BASIS 7.55)
  • ABAP PLATFORM 2021 - Application Server ABAP (SAP_BASIS 7.56)
  • ABAP PLATFORM 2022 - Application Server ABAP (SAP_BASIS 7.57)
  • ABAP PLATFORM 2023 - Application Server ABAP (SAP_BASIS 7.58)

Product

ABAP platform 2020 ; ABAP platform 2021 ; ABAP platform 2022 ; ABAP platform 2023

Keywords

Webservice, Web Service, Webservices, Web Services, ESI, ESI_GDPR, ESI_STD, CL_WS_PROTOCOL_WS_HEADER, CL_WSPROTOCOL_WS_HEADER=======CP, CX_SOAP_CORE, cl_soap_runtime_error=>get_text_for_error_id, Error when calling SOAP Runtime functions:, SRT: Reserved Namespace cannot be introduced in header via header protocol, Affected Namespace:, http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd , KBA , BC-ESI-WS-ABA , Web Service and SOAP - ABAP , BC-ESI-WS-ABA-CFG , WebServices ABAP Configuration , BC-ESI-WS-ABA-RT , WebServices ABAP Runtime , BC-ESI-WS-ABA-MON , WebServices ABAP Monitoring , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.