@Consumes(MediaType.APPLICATION_XML)
public Response createEntry(InputStream entryStream, @PathParam("repository") String repository,
@PathParam("groupName") String groupName, @Context UriInfo uriInfo)
{
SessionProvider sessionProvider = sessionProviderService.getSessionProvider(null);
try
{
RegistryEntry entry = RegistryEntry.parse(entryStream);
regService.getRepositoryService().setCurrentRepositoryName(repository);
regService.createEntry(sessionProvider, normalizePath(groupName), entry);