Data Retention
The Data Virtuality Server supports data retention for web service data sources: all data sent and received by the Server is stored in a user-defined directory.
To turn data retention on, specify the directory for storing the exchanged web service information using the WS_DATA_RETENTION_PATH default option (if you want to turn it off, set the option to empty value).
What happens next is the following: for each individual call, a random dataRetentionId
is generated, and two files are created in the directory:
<dataRetentionId>.request where the URL, headers, and body information are stored;
<dataRetentionId>.response where the response code, headers, and body are stored.
The WS_DATA_RETENTION_PATH directory also contains a special folder named processing to store the inputStreams being processed. When the data is processed, the file is moved into the directory and can be read and used.