Hi All,
We are using CWS webservices through SOAP requests to create document in OTCS. We are able to create documents using createDocument() method. However, we are facing issues with creating image and pdf files(even with < 1 MB files) with createDocument().
Exception in SOAP response :
Status: 903101
Error Code: DocMan.NodeCreationError
Error Message: Error adding version to 'Test01.pdf'. Error reading data stream from version. [E682033159]
ApiError: Error reading data stream from version.
Can you please suggest why this exception is coming and is the best way to upload image/pdf file is through uploadDocument() instead of createDocument()?
Per understanding, uploadDocument() should be used to upload larger files with MTOM context approach.
Thanks!