Sign in to follow this  
Followers 0

Question upon generating valid tokens

1 post in this topic

#1 ·  Posted (edited)

I am currently trying to create a script which sends a number of XML requests to a server, and each of the requests must have a certain <soapenv:Header> section containing valid information:
      <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="" xmlns:wsu="">
         <wsse:UsernameToken wsu:Id="UsernameToken-********************************">
            <wsse:Password Type="">******</wsse:Password>
            <wsse:Nonce EncodingType="">************************==</wsse:Nonce>

I encountered a problem, when sending the same xml request multiple times, I get an error. I assume this is due to the fact that I am using the same UsernameToken and Nonce.

Do you have any suggestions about how can I generate valid UsernameToken also Nonce for each request that I am sending?

Can anyone give me a hint?

Edited by RamonaC

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0