cancel
Showing results for 
Search instead for 
Did you mean: 

MTOM support in Alfresco-CMIS

ritesh
Champ in-the-making
Champ in-the-making
Hi friends, I´m new to Alfresco development so sorry if this topic has been discussed before (I searched but didn´t find anything). I would like to use the CMIS ObjectService to insert documents in an Alfresco repository. I´m successful at that right now, but I would like to do it using MTOM.

Is is supported in Alfresco 4.2? Is there any tutorial/guide?

* Note: I´m not using Java in this development.

Thanks a lot, regards
Ritesh
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
This old thread seems to be using MTOM

http://forums.alfresco.com/forum/developer-discussions/alfresco-api/mtom-support-cmis-setcontentstre...

What is the actual problem you are trying to solve?   CMIS should isolate you from needing to worry about the low level transprot details?

ritesh
Champ in-the-making
Champ in-the-making
Thanks mrogers. I´m having the following problem: I´m integrating my application with Alfresco via CMIS and when I try to consume the getContentStream I get the following message:

Tag <include> not expected

Trying with SOAPUI, I see that the response is:

      <getContentStreamResponse xmlns="http://docs.oasis-open.org/ns/cmis/messaging/200908/" xmlns:ns2="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:ns3="http://www.alfresco.org">
         <contentStream>
            <length>11</length>
            <mimeType>application/text</mimeType>
            <filename>nombre1.txt</filename>
            <stream>
               <xop:Include href="cid:2086622c-c63e-41d5-8e7f-75b3c4a949c9-65@docs.oasis-open.org" xmlns:xop="http://www.w3.org/2004/08/xop/include'/>
            </stream>
         </contentStream>
      </getContentStreamResponse>


So I see that the <xop:include> tag has to do something with MTOM, but I don´t know how to enable MTOM in my ObjectService client.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.