Use this sample to replace the contents of the specified artifact in EPM Workspace.
Input parameters:
user pwd host port user folder document
Output:
Replaces the original document with a copy.