Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix SAML2058 - SOAP communication at endpoint &1 requires an HTTP destination


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SAML2 - SAML2 Nachrichten

  • Message number: 058

  • Message text: SOAP communication at endpoint &1 requires an HTTP destination

  • Show details Hide details
  • What causes this issue?

    Because of technical requirements, the endpoint &MSG1& can only use an
    HTTP destination.

    System Response

    SOAP bindings from the system can only be used over HTTPS from HTTP
    destinations. The reason lies in the use of the SSL protocol. This
    requires a certificate for the binding. Outbound SSL connections can
    only go over HTTP destinations for this reason.

    How to fix this error?

    In transaction SM59 create a destination with the prefix "SAML2_" of
    type G (HTTP). For example, SAML2_SOAP. This HTTP destination requires
    an SSL configuration, in which the client certificate for the connection
    to &MSG1& is saved in the SSL PSE.

    Procedure for System Administrators

    Use SM59, to create an HTTP destination of type G (HTTP) with the prefix
    SAML2_.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message SAML2058 - SOAP communication at endpoint &1 requires an HTTP destination ?

    The SAP error message SAML2058 indicates that there is an issue with SOAP communication at a specified endpoint, and it requires an HTTP destination to be configured properly. This error typically arises in scenarios involving Single Sign-On (SSO) configurations, particularly when using SAML (Security Assertion Markup Language) for authentication.

    Cause:

    The error can occur due to several reasons:

    1. Missing HTTP Destination: The HTTP destination required for the SOAP communication is not defined in the SAP system.
    2. Incorrect Configuration: The HTTP destination may be incorrectly configured, leading to communication failures.
    3. Network Issues: There may be network connectivity issues preventing access to the specified endpoint.
    4. Authorization Issues: The user or service account may not have the necessary permissions to access the endpoint.

    Solution:

    To resolve the SAML2058 error, you can follow these steps:

    1. Check HTTP Destination Configuration:

      • Go to transaction SM59 in the SAP GUI.
      • Check if the HTTP destination for the endpoint is defined.
      • If it is not defined, create a new HTTP destination by clicking on "Create" and filling in the required details (e.g., target host, service, and path).
    2. Verify Configuration:

      • Ensure that the HTTP destination is correctly configured with the right URL, authentication method, and any required parameters.
      • Test the connection from the SM59 transaction to ensure it is reachable.
    3. Check Network Connectivity:

      • Ensure that there are no firewall or network issues preventing access to the endpoint.
      • You can use tools like ping or telnet to check connectivity to the endpoint.
    4. Review Authorization:

      • Ensure that the user or service account used for the SOAP communication has the necessary authorizations to access the endpoint.
      • Check roles and authorizations in transaction PFCG.
    5. Check SAML Configuration:

      • If you are using SAML for authentication, ensure that the SAML configuration is correctly set up in the SAP system.
      • Verify the Identity Provider (IdP) and Service Provider (SP) settings.
    6. Consult Logs:

      • Check the SAP application logs (transaction SLG1) for more detailed error messages that may provide additional context for the issue.

    Related Information:

    • Documentation: Refer to SAP Help documentation for detailed guidance on configuring HTTP destinations and SAML authentication.
    • SAP Notes: Search for relevant SAP Notes in the SAP Support Portal that may address specific issues related to SAML and HTTP destinations.
    • Community Forums: Engage with the SAP Community for insights and solutions from other users who may have encountered similar issues.

    By following these steps, you should be able to identify and resolve the cause of the SAML2058 error in your SAP system.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author