-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UsernameToken & Timestamp #3
Comments
Hi, I hope I understand correctly what you mean by "two configs". SoapUI can define multiple Outgoing WS-Security Configurations of which you can pick one at test runtime, whereas this plugin just defines one config that always applies. If you simply want two elements included in the signature, you would (as you guessed already) simply add the XML directly into your raw body, e.g.
Then in your "Parts to Sign" list all elements to be included (just as in SoapUI), e.g.
The plugin just picks up the raw request (with variables replaced etc.) and adds the signature, however, you'll have to provide all elements you want in there as it won't generate anything for you but the signature. HTH |
Hi, Thank you for your detailed response. I will test it out today, but if I correctly understand what you're saying, the plugin will pick up any elements of the signature already present in my raw body request and add/modify the rest of the signature to it? Thanks again, EDIT : That's exactly what it does - awesome! Thank you! Issue is fixed! |
Hi,
In my SoapUI project, I have a "Username" and "Timestamp" configurations as part of my WS-Security Configurations. I was wondering if there was any way of reproducing these two configs with your plugin.
Do I need to add a certain native sampler, config, pre-processor, etc ? Or do I simply need to add the XML directly into my raw body request?
I do have Timestamp and UsernameToken with their correct namespaces in my "Parts to Sign"
Thanks a lot
The text was updated successfully, but these errors were encountered: