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

Close

How To Fix WSS018 - No connection to the Security Token Service of this Web Service found.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WSS - Web Services Security

  • Message number: 018

  • Message text: No connection to the Security Token Service of this Web Service found.

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WSS018 - No connection to the Security Token Service of this Web Service found. ?

    SAP Error Message:
    WSS018 No connection to the Security Token Service of this Web Service found.


    Cause:

    This error occurs when the SAP system tries to communicate with the Security Token Service (STS) for a Web Service but fails to establish a connection. The STS is responsible for issuing security tokens used in WS-Security scenarios (e.g., SAML tokens for authentication). The failure can be due to:

    • The STS service is not running or is unreachable (network issues, wrong URL).
    • Incorrect or missing configuration of the STS endpoint in the SAP system.
    • SSL/TLS issues (certificate problems, untrusted certificates).
    • Proxy or firewall blocking the connection.
    • Incorrect or missing authentication credentials for the STS.
    • The Web Service configuration does not point to a valid or active STS.

    Solution:

    To resolve the WSS018 error, follow these steps:

    1. Check STS Service Availability:

      • Verify that the STS endpoint URL configured in the SAP system is correct.
      • Test the STS URL externally (e.g., via browser or curl) to ensure it is reachable.
      • Ensure the STS service is up and running on the server side.
    2. Verify SAP Configuration:

      • In SAP NetWeaver Administrator (NWA) or SOAMANAGER, check the Web Service configuration.
      • Confirm the STS URL is correctly maintained in the Web Service Security settings.
      • Check the binding and endpoint settings for the Web Service.
    3. Check SSL/TLS and Certificates:

      • If the STS uses HTTPS, ensure the SSL certificate is trusted by the SAP system.
      • Import the STS server certificate into the SAP system’s SSL client PSE (Personal Security Environment).
      • Check for expired or invalid certificates.
    4. Network and Firewall:

      • Ensure no firewall or proxy is blocking the connection from SAP to the STS.
      • If a proxy is used, configure the proxy settings properly in the SAP system.
    5. Authentication and Credentials:

      • Verify that the SAP system has the correct credentials to authenticate with the STS if required.
      • Check if the STS requires client certificates or other authentication methods.
    6. SAP Notes and Documentation:

      • Check SAP Notes related to WSS018 for any known issues or patches.
      • Example SAP Note: 1680110 - "Troubleshooting Security Token Service (STS) issues"

    Related Information:

    • Security Token Service (STS): A service that issues security tokens (e.g., SAML tokens) used for authenticating and authorizing Web Service calls.
    • WS-Security: A standard for securing SOAP messages, often involving tokens issued by an STS.
    • SOAMANAGER: SAP transaction to configure Web Services and their security settings.
    • NWA (NetWeaver Administrator): Tool to manage SAP NetWeaver components including STS.
    • PSE (Personal Security Environment): Stores certificates and keys used for SSL communication in SAP.

    Summary:

    The WSS018 error indicates a failure to connect to the STS required for Web Service security token issuance. The resolution involves verifying the STS service availability, correcting configuration in SAP, ensuring SSL certificates are trusted, and checking network connectivity and authentication details.


    If you need further assistance, please provide details such as the SAP system version, Web Service configuration, and STS endpoint URL.

    • 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