JimL
15 years agoContributor
Automatically populate "IssueInstant" outgoing SOAP request?
Hi,
It's been awhile since I've used SOAPUI, but I want to use SOAPUI to send a SOAP request into one of our webservices. The SOAP message will have a SAML assertion embedded.
I've been able to configure the server side to not require a signed assertion, but, at least so far, I haven't found a way to get it to disable checking the "IssueInstant" attribute (i.e., the assertion timestamp), so I'm wondering how I might be able to configure SOAPUI to automatically populate the IssueInstant with the proper date/timestamp before it sends the SOAP request out?
The IssueInstant attribute in the SOAP request looks like:
...IssueInstant="2011-07-07T03:57:40Z"...
In other words, I'd like to get SOAPUI to determine the current time ('now') and then reformat that into a date/timestamp string:
YYYY-MM-DDThh:mm:ssZ
and insert that string into the SOAP message before sending the request out to the webservice.
Can SOAPUI do this, and if so, how?
Thanks,
Jim
It's been awhile since I've used SOAPUI, but I want to use SOAPUI to send a SOAP request into one of our webservices. The SOAP message will have a SAML assertion embedded.
I've been able to configure the server side to not require a signed assertion, but, at least so far, I haven't found a way to get it to disable checking the "IssueInstant" attribute (i.e., the assertion timestamp), so I'm wondering how I might be able to configure SOAPUI to automatically populate the IssueInstant with the proper date/timestamp before it sends the SOAP request out?
The IssueInstant attribute in the SOAP request looks like:
...IssueInstant="2011-07-07T03:57:40Z"...
In other words, I'd like to get SOAPUI to determine the current time ('now') and then reformat that into a date/timestamp string:
YYYY-MM-DDThh:mm:ssZ
and insert that string into the SOAP message before sending the request out to the webservice.
Can SOAPUI do this, and if so, how?
Thanks,
Jim