Skip to content
Snippets Groups Projects
Commit d208f80c authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

evo: add maarch namespace

parent 094ae141
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,8 @@
<app:service xmlns:app="http://www.w3.org/2007/app"
xmlns:atom="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/">
xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/"
xmlns:maarch="http://www.maarch.org">
<app:workspace>
<atom:title>Maarch main Repository</atom:title>
<cmisra:repositoryInfo>
......
<?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/">
xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/"
xmlns:maarch="http://www.maarch.org">
<title>Someco</title>
<cmisra:object>
<cmis:properties>
......
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<cmis:query xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:cmism="http://docs.oasis-open.org/ns/cmis/messaging/200908/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/">
<cmis:query xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:cmism="http://docs.oasis-open.org/ns/cmis/messaging/200908/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/" xmlns:maarch="http://www.maarch.org">
<cmis:statement> SELECT cmis:objectId , maarch:type , maarch:entity , maarch:dest_user FROM cmis:document where maarch:dest_user is not null ORDER BY cmis:objectId asc </cmis:statement>
<cmis:searchAllVersions>false</cmis:searchAllVersions>
<cmis:includeAllowableActions>false</cmis:includeAllowableActions>
......
......@@ -24,7 +24,7 @@ if (isset($_REQUEST['idResource']) && !empty($_REQUEST['idResource'])) {
curl_setopt($curl, CURLOPT_URL, $url . '/');
if (($_REQUEST['method'] == 'post' || !isset($_REQUEST['method']))&& isset($_REQUEST['xmlFile'])) {
$xmlAtomFileContent = file_get_contents($_REQUEST['xmlFile']);
$xmlAtomFileContent = file_get_contents('core/class/web_service/cmis_test/' . $_REQUEST['xmlFile']);
curl_setopt($curl, CURLOPT_POSTFIELDS, 'atomFileContent=' . $xmlAtomFileContent);
curl_setopt($curl, CURLOPT_POST, 1);
}
......
<?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/">
xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/"
xmlns:maarch="http://www.maarch.org">
<title>Test creation folder</title>
<cmisra:object>
<cmis:properties>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment