Rename and delete actions working ...

This commit is contained in:
Paulo Gustavo Veiga
2012-05-23 20:05:16 -03:00
parent 391c523b43
commit 5498c681a4
8 changed files with 284 additions and 219 deletions

View File

@@ -219,7 +219,7 @@ public class RestMindmapTCase {
mapToUpdate.setProperties("{zoom:x}");
// Update map ...
final String resourceUrl = HOST_PORT + resourceUri.toString();
final String resourceUrl = HOST_PORT + resourceUri.toString() + "/document";
requestHeaders.setContentType(MediaType.APPLICATION_XML);
final HttpEntity<RestMindmap> updateEntity = new HttpEntity<RestMindmap>(mapToUpdate, requestHeaders);
template.put(resourceUrl, updateEntity);