Sending the current datetime stamp in a SOAP Request with SOAPUI
Posted on 2014-02-06
I need some help with XSD and SOAP
I have an XSD that has an element called timestamp as below
<element name="timestamp" type="dateTime" minOccurs="1" />
I am compiling the XSD using JAXB compiler to publish a WSDL. I am then importing the WSDL into SOAPUI to create the request XMLs. My request XML has this element
I would like to dynamically populate this element with the current time stamp everytime
I send the SOAP request.
Please let me know how I can do this using the XSD.