Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Curl command
- curl -X POST -uadmin:admin "http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom/p/children" -H "Content-Type:application/atom+xml" -d @/home/ev-developer/Desktop/CMIS\ Test/Scripts/createSomecoFolder.atom.xml
- Folder creation script
- <?xml version="1.0" encoding="utf-8"?>
- <entry xmlns="http://www.w3.org/2005/Atom"
- xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/"
- xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/">
- <title>Someco</title>
- <cmisra:object>
- <cmis:properties>
- <cmis:propertyId propertyDefinitionId="cmis:objectTypeId">
- <cmis:value>cmis:folder</cmis:value>
- </cmis:propertyId>
- </cmis:properties>
- </cmisra:object>
- </entry>
- Exception
- <body>
- <h1>HTTP Status 405 - Unknown operation</h1>
- <HR size="1" noshade="noshade">
- <p><b>type</b> Status report</p><p><b>message</b> <u>Unknown operation</u></p><p><b>description</b> <u>The specified HTTP method is not allowed for the requested resource.</u></p>
- <HR size="1" noshade="noshade">
- <h3>Apache Tomcat/7.0.47</h3>
- </body>
Add Comment
Please, Sign In to add comment