Hi,
I had encountered an interest problem related to file content type.
my environment:
DFS 6.0SP1.
JAW-RI generated proxy.
when I tried to create object of certain types such as .rar or .exe, the server returns a http error code 500, error message "Internal Server Error".This occurs regardless if I am using MTOM or BASE64.
Upon more inspection of the SOAPResponse, I discovered the error is due to this exception.
<className>com.emc.documentum.fs.services.core.impl.execution.proto.payload.PayloadPolicy</className>
<fileName>PayloadPolicy.java</fileName>
<lineNumber>1</lineNumber>
<methodName>execute</methodName>
</stackTrace>
<className>com.emc.documentum.fs.services.core.impl.execution.proto.transformation.DataPackageToDataPackagePayloadAdapter</className>
<fileName>DataPackageToDataPackagePayloadAdapter.java</fileName>
<lineNumber>27</lineNumber>
<methodName>execute</methodName>
</stackTrace>
<exceptionBean>
<exceptionClass>com.emc.documentum.fs.services.core.CoreServiceException</exceptionClass>
<genericType>java.lang.Exception</genericType>
<message>com.documentum.fc.common.DfException: File C:\Documentum\bea9.2\domains\DctmDomain\rar is missing or invalid format rar specified; Additional msg - file name: dfs-43001.tmp</message>
I found out there are two ways to get around this error.
#1, set the content format to null instead of "rar", or "exe".
#2. rename the extension, ex. from rar to zip.
Anyone encountered a similar problem or know if there's away to customize this payload policy?
Thank you,