WSS Authentication

  • Alexis Glez Caparroso


    I'm new with NuSOAP. I am conected to a WS but keep getting the HTTP/1.1 500 Internal Server Error with the error description: An error occurred when verifying security for the message.

    I have set the user & password with the setCredentials() function, but there seems to be something else missing.

    Using soapUI to validate the message I do get the proper answer to the message and what I see I could be lacking in NuSOAP is a field in soapUI that says "WSS-Password Type" and it's content is PasswordText or

    How can I define that parameter in NuSOAP?


    • Fred

      Fred - 2009-05-04

      Setting the Credentials is easy as just doing


      where these arguments are all strings. However I cannot confirm how nusoap deals with WSS the way you need.

      The only thing that occurs to me right now is that you try instead


      You can find the actual documentation to help you with the functions, here:

      Hope its helpfull :s

  • Anonymous - 2011-05-06

    I have the same problem.
    you could solve?


Log in to post a comment.