IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

After Adding WSS Username token in SoapUI getting Error already seen before for user name

  • 1.  After Adding WSS Username token in SoapUI getting Error already seen before for user name

    Posted Thu August 10, 2023 03:05 AM

    I am testing it in my local:

    Request :
    <soapenv:Envelope xmlns:imp=“http://localhost/Implementation_WSS.ws:testWSS_wsd” xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/”>
    soapenv:Header
    <wsse:Security soapenv:mustUnderstand=“1” xmlns:wsse=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd” xmlns:wsu=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd”>
    <wsse:UsernameToken wsu:Id=“UsernameToken-8606EDC2BD182CBE9316916507785762”>
    wsse:UsernameAdministrator</wsse:Username>
    <wsse:Password Type=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText”>manage</wsse:Password>
    <wsse:Nonce EncodingType=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary”>6ieXD99WplEsWXnrpMPeAA==</wsse:Nonce>
    wsu:Created2023-08-10T06:59:38.576Z</wsu:Created>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    soapenv:Body
    imp:test_WSS
    This is ***********************WSS
    </imp:test_WSS>
    </soapenv:Body>
    </soapenv:Envelope>

    Response

    <soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/”>
    soapenv:Body
    soapenv:Fault
    wsse:InvalidSecurity
    API Gateway encountered an error. Error Message: Nonce value : 6ieXD99WplEsWXnrpMPeAA==, already seen before for user name : Administrator. Possibly this could be a replay attack… Request Details: Service - test_WSS, Operation - test_WSS, Invocation Time:9:59:51 AM, Date:Aug 10, 2023, Client IP - 192.168.10.200, User - Default and Application:null
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>


    #webMethods-cloud
    #API-Management
    #webMethods
    #API-Gateway


  • 2.  RE: After Adding WSS Username token in SoapUI getting Error already seen before for user name

    Posted Thu August 10, 2023 11:31 AM

    Did you check this topic?


    #API-Gateway
    #webMethods-cloud
    #webMethods
    #API-Management


  • 3.  RE: After Adding WSS Username token in SoapUI getting Error already seen before for user name

    Posted Sun August 13, 2023 03:18 AM