@PUT
@Path("{name}")
public WrappedDomain createDomain(@PathParam("name") String name, WrappedDomain domain) throws CloudException {
Project project = getProject();
Domain request = domain.domain_entry;
if (request == null) {
throw new IllegalArgumentException();
}
request.domain = name;