Hello, 

we are currently investigating how to use the OpenCMIS Client API in our 
integration layer and have some questions with respect to fetching content.
We are currently using the AtomPub binding.

- Which exception should be thrown at the method Document.getStream() if no 
content exists? Currently we get a CmisNotSupportedException but 
  according to the CMIS specification we would have expected a 
CmisConstraintException exception.

- What is the expected behavior of the method Document.getContentStreamLength() 
in that case? Currently -1 is returned. 
  Has this number some special semantic like "unknown"? Why is not 0 returned? 

- What is the expected behavior of the method 
Document.getContentStreamMimeType() in that case? Currently null is returned. 

- How could I find out the encoding of content?

Best Regards,
Achim


Achim Weigel
TD Core UI Infr (AG)
SAP AG
Dietmar-Hopp-Allee 16
69190 Walldorf, Germany
T +49 6227 7-66030
F +49 6227 78-40602
M +49 160 6027805
E [email protected]
www.sap.com

Pflichtangaben/Mandatory Disclosure Statements: 
http://www.sap.com/company/legal/impressum.epx

Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige 
vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich 
erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielfältigung 
oder Weitergabe der E-Mail ausdrücklich untersagt. Bitte benachrichtigen Sie 
uns und vernichten Sie die empfangene E-Mail. Vielen Dank. 

This e-mail may contain trade secrets or privileged, undisclosed, or otherwise 
confidential information. If you have received this e-mail in error, you are 
hereby notified that any review, copying, or distribution of it is strictly 
prohibited. Please inform us immediately and destroy the original transmittal. 
Thank you for your cooperation.

Reply via email to