Add and remove three entries to the collection
-GET http://example.org/cmis/main
+GET http://localhost:8080/alfresco/service/api/path/workspace/SpacesStore//children
@@ -101,26 +101,193 @@ GET http://example.org/cmis/main
-status: 404
-content-length: 283
-server: Apache/2.2.3 (CentOS)
-connection: close
-date: Thu, 01 May 2008 15:48:30 GMT
-content-type: text/html; charset=iso-8859-1
+status: 200
+content-location: http://localhost:8080/alfresco/service/api/path/workspace/SpacesStore//children
+transfer-encoding: chunked
+server: Apache-Coyote/1.1
+pragma: no-cache
+cache-control: no-cache
+date: Mon, 12 May 2008 14:38:50 GMT
+content-type: application/atom+xml;type=feed;charset=UTF-8
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
-<html><head>
-<title>404 Not Found</title>
-</head><body>
-<h1>Not Found</h1>
-<p>The requested URL /cmis/main was not found on this server.</p>
-<hr>
-<address>Apache/2.2.3 (CentOS) Server at example.org Port 80</address>
-</body></html>
+<?xml version="1.0" ?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:alf="http://www.alfresco.org" xmlns:cmis="http://www.cmis.org/CMIS/1.0">
+ <generator version="3.0.0 (dev @build-number@)">Alfresco (Community Network)</generator>
+ <title>Company Home</title>
+ <updated>2008-04-24T18:33:35.511+01:00</updated>
+ <icon>http://localhost:8080/alfresco/images/logo/AlfrescoLogo16.ico</icon>
+ <author>
+ <name>System</name>
+ </author>
+ <id>urn:uuid:6413e19d-1224-11dd-bee8-852083ea779d</id>
+ <link href="http://localhost:8080/alfresco/service/api/path/workspace/SpacesStore//children" rel="self" type="application/atom+xml;type=feed"/>
+
+ <link href="http://localhost:8080/alfresco/service/api/path/workspace/SpacesStore//children?skipCount=0&guest=" rel="first" type="application/atom+xml;type=feed"/>
+
+ <entry>
+ <title>Data Dictionary</title>
+ <link href="http://localhost:8080/alfresco/service/n/browse/workspace/SpacesStore/642ce7e4-1224-11dd-bee8-852083ea779d" rel="alternate"/>
+ <icon>http://localhost:8080/alfresco/images/icons/space-icon-default-16.gif</icon>
+ <id>urn:uuid:642ce7e4-1224-11dd-bee8-852083ea779d</id>
+ <updated>2008-04-24T18:33:35.708+01:00</updated>
+ <published>2008-04-24T18:32:20.013+01:00</published>
+ <summary>User managed definitions</summary>
+ <author>
+ <name>System</name>
+ </author>
+ <alf:noderef>workspace://SpacesStore/642ce7e4-1224-11dd-bee8-852083ea779d</alf:noderef>
+ </entry>
+ <entry>
+ <title>Guest Home</title>
+ <link href="http://localhost:8080/alfresco/service/n/browse/workspace/SpacesStore/648715e5-1224-11dd-bee8-852083ea779d" rel="alternate"/>
+ <icon>http://localhost:8080/alfresco/images/icons/space-icon-default-16.gif</icon>
+ <id>urn:uuid:648715e5-1224-11dd-bee8-852083ea779d</id>
+ <updated>2008-04-24T18:33:36.941+01:00</updated>
+ <published>2008-04-24T18:32:20.608+01:00</published>
+ <summary>The guest root space</summary>
+ <author>
+ <name>System</name>
+ </author>
+ <alf:noderef>workspace://SpacesStore/648715e5-1224-11dd-bee8-852083ea779d</alf:noderef>
+ </entry>
+ <entry>
+ <title>User Homes</title>
+ <link href="http://localhost:8080/alfresco/service/n/browse/workspace/SpacesStore/64963118-1224-11dd-bee8-852083ea779d" rel="alternate"/>
+ <icon>http://localhost:8080/alfresco/images/icons/space-icon-default-16.gif</icon>
+ <id>urn:uuid:64963118-1224-11dd-bee8-852083ea779d</id>
+ <updated>2008-04-24T18:33:37.110+01:00</updated>
+ <published>2008-04-24T18:32:20.699+01:00</published>
+ <summary>User Homes</summary>
+ <author>
+ <name>System</name>
+ </author>
+ <alf:noderef>workspace://SpacesStore/64963118-1224-11dd-bee8-852083ea779d</alf:noderef>
+ </entry>
+ <entry>
+ <title>Projects</title>
+ <link href="http://localhost:8080/alfresco/service/n/browse/workspace/SpacesStore/90df9f8b-1224-11dd-bee8-852083ea779d" rel="alternate"/>
+ <icon>http://localhost:8080/alfresco/images/icons/space-icon-default-16.gif</icon>
+ <id>urn:uuid:90df9f8b-1224-11dd-bee8-852083ea779d</id>
+ <updated>2008-04-24T18:33:47.401+01:00</updated>
+ <published>2008-04-24T18:33:35.091+01:00</published>
+ <summary>Project Collaboration Spaces</summary>
+ <author>
+ <name>System</name>
+ </author>
+ <alf:noderef>workspace://SpacesStore/90df9f8b-1224-11dd-bee8-852083ea779d</alf:noderef>
+ </entry>
+ <entry>
+ <title>Web Projects</title>
+ <link href="http://localhost:8080/alfresco/service/n/browse/workspace/SpacesStore/a3beb60b-1224-11dd-bee8-852083ea779d" rel="alternate"/>
+ <icon>http://localhost:8080/alfresco/images/icons/space-icon-default-16.gif</icon>
+ <id>urn:uuid:a3beb60b-1224-11dd-bee8-852083ea779d</id>
+ <updated>2008-04-24T18:34:06.711+01:00</updated>
+ <published>2008-04-24T18:34:06.649+01:00</published>
+ <summary>Web Content Management Spaces</summary>
+ <author>
+ <name>System</name>
+ </author>
+ <alf:noderef>workspace://SpacesStore/a3beb60b-1224-11dd-bee8-852083ea779d</alf:noderef>
+ </entry>
+
+</feed>
+POST http://localhost:8080/alfresco/service/api/path/workspace/SpacesStore//children
+content-type: application/atom+xml
+slug: ddabfdegge
+
+
+
+<?xml version="1.0" ?><entry xmlns="http://www.w3.org/2005/Atom">
+<title>Iñtërnâtiônàlizætiøn - 1</title>
+<id>tag:bitworking.org,2008-02-26:1210603130.5665419</id>
+<updated>2005-07-10T12:29:29Z</updated>
+<author>
+<name>Joe Gregorio</name>
+</author>
+<content type="xhtml">
+<div xmlns="http://www.w3.org/1999/xhtml">
+<p><i>A test of utf-8</i></p>
+</div>
+</content>
+</entry>
+
+status: 405
+transfer-encoding: chunked
+server: Apache-Coyote/1.1
+pragma: no-cache
+cache-control: no-cache
+date: Mon, 12 May 2008 14:38:50 GMT
+content-type: text/html;charset=UTF-8
+
+
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>Web Script Status 405 - Method Not Allowed</title>
+ <link rel="stylesheet" href="/alfresco/css/base.css" TYPE="text/css">
+ </head>
+ <body>
+ <table>
+ <tr>
+ <td><img src="/alfresco/images/logo/AlfrescoLogo32.png" alt="Alfresco" /></td>
+ <td><span class="title">Web Script Status 405 - Method Not Allowed</span></td>
+ </tr>
+ </table>
+ <br/>
+ <table>
+ <tr><td>The Web Script <a href="/alfresco/service/api/path/workspace/SpacesStore//children">/alfresco/service/api/path/workspace/SpacesStore//children</a> has responded with a status of 405 - Method Not Allowed.</td></tr>
+ </table>
+ <br/>
+ <table>
+ <tr><td><b>405 Description:</b></td><td> The method specified in the Request-Line is not allowed for the resource identified by the Request-URI.</td></tr>
+ <tr><td> </td></tr>
+ <tr><td><b>Message:</b></td><td>Script url /api/path/workspace/SpacesStore//children does not support the method POST</td></tr>
+ <tr><td></td><td> </td></tr>
+ <tr><td><b>Exception:</b></td><td>org.alfresco.web.scripts.WebScriptException - Script url /api/path/workspace/SpacesStore//children does not support the method POST</td></tr>
+ <tr><td></td><td> </td></tr>
+ <tr><td></td><td>org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:113)</td></tr>
+ <tr><td></td><td>org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116)</td></tr>
+ <tr><td></td><td>javax.servlet.http.HttpServlet.service(HttpServlet.java:803)</td></tr>
+ <tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)</td></tr>
+ <tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)</td></tr>
+ <tr><td></td><td>org.alfresco.web.app.servlet.MTWebScriptAuthenticationFilter.doFilter(MTWebScriptAuthenticationFilter.java:102)</td></tr>
+ <tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)</td></tr>
+ <tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)</td></tr>
+ <tr><td></td><td>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)</td></tr>
+ <tr><td></td><td>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)</td></tr>
+ <tr><td></td><td>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)</td></tr>
+ <tr><td></td><td>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)</td></tr>
+ <tr><td></td><td>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)</td></tr>
+ <tr><td></td><td>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)</td></tr>
+ <tr><td></td><td>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)</td></tr>
+ <tr><td></td><td>org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)</td></tr>
+ <tr><td></td><td>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)</td></tr>
+ <tr><td></td><td>org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)</td></tr>
+ <tr><td></td><td>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)</td></tr>
+ <tr><td></td><td>java.lang.Thread.run(Thread.java:613)</td></tr>
+ <tr><td></td><td> </td></tr>
+ <tr><td><b>Server</b>:</td><td>Alfresco Community Network v3.0.0 (dev @build-number@) schema 124</td></tr>
+ <tr><td><b>Time</b>:</td><td>May 12, 2008 3:38:50 PM</td></tr>
+ <tr><td></td><td> </td></tr>
+ </table>
+ </body>
+</html>
+