Hi Wentao,

There is a specification [1] that defines how MTOM works with SOAP 1.1.
This specification is widely supported by Web Services frameworks and tools. I have never heard of any problems with MTOM over SOAP 1.1.

The CMIS specification demands MTOM. Your server wouldn't be CMIS compliant if you would inline a document - although most CMIS clients would be able to handle that. The main problem with inlining is, that most Web Services frameworks (on the client and on the server side) have to handle the content in main memory. That might work fine for office documents, but could be problem if you have a big file like a video or a CAD file.

Disabling MTOM in OpenCMIS is possible with just a few code changes, but I wouldn't recommend it.


- Florian


[1] http://www.w3.org/Submission/soap11mtom10/



Hi,

We are developing our own CMIS server using OpenCMIS server framework
0.10 and integrating it with TIBCO BusinessWorks, everything works
fine in CMIS server  side until when we tried to integrate it with
TIBCO BusinessWorks which is our client enterprise ESB standard.

Unfortunately we have to use Web services binding as it is enterprise
standard. Our TIBCO team point out that MTOM is not supported for SOAP
1.1, but as far as my understanding, CMIS 1.1 protocol is defined
using SOAP 1.1 namespace and OpenCMIS server framework force MTOM
enabled in CmisWebServicesServlet.java using below code

// handle POST requests
        ProtectionRequestWrapper requestWrapper = null;
        try {
            requestWrapper = new ProtectionRequestWrapper(request,
MAX_SOAP_SIZE);
        } catch (ServletException e) {
            printError(request, response, "The request is not MTOM
encoded.");
            return;
        }

Is there a way we can work around? i.e. can we disable MTOM but use
inline instead in OpenCMIS framework?


Thanks
Wentao
________________________________
This email and its attachments are intended solely for the personal
use of the individual or entity named above. Any use of this
communication by an unintended recipient is strictly prohibited. If
you have received this email in error, any publication, use,
reproduction, disclosure or dissemination of its contents is strictly
prohibited. Please immediately delete this message and its attachments
from your computer and servers. We would also appreciate if you would
contact us by a collect call or return email to notify us of this
error. Thank you for your cooperation.
-BCHydroDisclaimerID5.2.8.1541

Reply via email to