cancel
Showing results for 
Search instead for 
Did you mean: 

Non-interactive Capture of XML Content

varsenault
Champ in-the-making
Champ in-the-making
Hi,

My client has an ERP/Business Intelligence system that produces XML reports for web publication. We would like this client to use Alfresco's WCM for that to allow some CIFS access, XSLT/XSL-FO transformations, versioning, sandbox, staging and overall workflow/BPM. In short, we would like the ERP to be able to publish the XML content exactly as a human would capture the content through the XSD form.

So, is it possible, through web services or space rules or javascript API to "capture a form" by dropping some XML content (compliant to the form's XSD)?

Thanks in advance.
11 REPLIES 11

kvc
Champ in-the-making
Champ in-the-making
This looks like it would be a great addition to the product … maybe you could open a project on our forge site, so that we may evaluate it and see if this is something we should incorporate in a future distribution?

Kevin

varsenault
Champ in-the-making
Champ in-the-making
We are sure looking to publish our whole MDA generator (and it's integration with Alfresco) into the open source domain. But I want something that works, first Smiley Wink

So with the crossRepoCopy call, I get a "child exist" for the document on which I call the action and I checked, there is no file with the same name in the target store… Here is the error message :


org.alfresco.error.AlfrescoRuntimeException: Error during command servlet processing: Failed to execute script 'workspace://SpacesStore/7aadc4ee-4111-11dc-b92c-f9d5092a70a6': Failed to execute script 'workspace://SpacesStore/7aadc4ee-4111-11dc-b92c-f9d5092a70a6': Wrapped org.alfresco.service.cmr.avm.AVMExistsException: Child exists: CopyToMySandbox.js (AlfrescoScript#63)
caused by:
org.alfresco.service.cmr.repository.ScriptException: Failed to execute script 'workspace://SpacesStore/7aadc4ee-4111-11dc-b92c-f9d5092a70a6': Failed to execute script 'workspace://SpacesStore/7aadc4ee-4111-11dc-b92c-f9d5092a70a6': Wrapped org.alfresco.service.cmr.avm.AVMExistsException: Child exists: CopyToMySandbox.js (AlfrescoScript#63)
caused by:
org.alfresco.service.cmr.repository.ScriptException: Failed to execute script 'workspace://SpacesStore/7aadc4ee-4111-11dc-b92c-f9d5092a70a6': Wrapped org.alfresco.service.cmr.avm.AVMExistsException: Child exists: CopyToMySandbox.js (AlfrescoScript#63)
caused by:
org.alfresco.error.AlfrescoRuntimeException: Wrapped org.alfresco.service.cmr.avm.AVMExistsException: Child exists: CopyToMySandbox.js (AlfrescoScript#63)
caused by:
org.mozilla.javascript.WrappedException: Wrapped org.alfresco.service.cmr.avm.AVMExistsException: Child exists: CopyToMySandbox.js (AlfrescoScript#63)
caused by:
org.alfresco.service.cmr.avm.AVMExistsException: Child exists: CopyToMySandbox.js