I have this application and I am trying to communicate with Alfresco through SOAP. At the link below, I noticed this message: <strong>Please note that this API has been superceded by CMIS (specifically, the CMIS SOAP binding). It's use is no longer recommended. This functionality was removed from Alfresco in 5.0.b…..This API was removed in Alfresco 5.0 and is no longer available. Use the CMIS web services bindings instead. </strong>
Does this mean that in Alfresco 5.0, I can no longer use SOAP to communicate with Alfresco? What are the other options to communicate through Alfresco and manage your content? I already tried the Java API client CMIS workbench and the other APIs on the site http://chemistry.apache.org/, Shareprotocol, WebdAV, google docs… Are those the alternative to using SOAP or are their other ways to communicate with Alfresco?
No. You can still use SOAP but you can't use the old SOAP API.
CMIS has a SOAP binding if you really, really must use it. But hopefully with projects like Chemistry you should not need to worry about the binding used or mess around with all that low level stuff.
Or you can add your own SOAP services to alfresco (even the old obsolete ones that were just removed!)
I am an intern and I got this assignment to create a POC which involves a link/connection from Alfresco to a web application program. This link to Alfresco needs to be done using SOAP services. I need to create this POC first to make sure this link/connection is possible. The company really wants to make the link to Alfresco using SOAP services.
I still have some questions and I hope you or anyone else are able to answer them. I tried to make the connection to Alfresco using soap, but I got this error: "<strong>..the request is not mtom encoded..</strong>". Do you know what the cause of this error might be? I also want to try to make the SOAP request handler file, but I don't know how to build this file. If you know what needs to be written in the file (the format of SOAP message) or a links that explains how to make it, it could be very helpful. I would also like to know if there is a way to enable/disable this <strong>MTOM</strong>
You said in your response that I can also add my own SOAP services to Alfresco (even the old ones that were just removed). Where can I find these old files? I would like these files as an example/guide
Thank you so much for your time. I really appreciate it
Arthur
<strong>Edit:</strong> I uploaded the SOAP request I made in SOAP UI and also the response I got from this request.
After searching ho wto enable this MTOM for a while, I found some information on this link: <a>http://cxf.apache.org/docs/mtom.html#MTOM-EnablingMTOM</a> . MTOM needs to be enabled on both the client and the server. I checked at the Alfresco server in the file called <strong>sun-jaxws.xml</strong> (location: C:\Alfresco\tomcat\webapps\chemistry-opencmis-server-inmemory-0.12.0\WEB-INF ). MTOM is already enabled there. I also needed to enable MTOM in SOAPUI ( <a> http://www.soapui.org/SOAP-and-WSDL/adding-headers-and-attachments.html </a> ). Then SOAP request was succesful.
Thanks for your post - I run into the same problem - but with adjusting MTOM it works fine with SOAPUI. But I still have one problem. After I set up SOAP- Request I get the following response at bottom.
I don't know how to authenticate in order to get a SOAP response instead of the exception currently.
PS: I have downloaded the Alfresco Trial Version 5.0.0.
I used SOAPUI just for testing purposes, to know if the SOAP request message is accordingly.
I had to make a separate stylesheet for the header, which include the authentication part. It is pretty much the same as the header I wrote in my last post. I just needed to include the username and password.
Just add the following part after the "<strong>wsu:Timestamp</strong>" TAG and it should work. Remember to add the required authentication details.