public void createDocumentFromSource(String repositoryId, String sourceId, CmisPropertiesType properties,
String folderId, EnumVersioningState versioningState, List<String> policies,
CmisAccessControlListType addAces, CmisAccessControlListType removeAces,
Holder<CmisExtensionType> extension, Holder<String> objectId) throws CmisException {
CmisService service = null;
try {
service = getService(wsContext, repositoryId);
ExtensionsData extData = convertExtensionHolder(extension);
String id = service.createDocumentFromSource(repositoryId, sourceId, convert(properties), folderId,
convert(VersioningState.class, versioningState), policies, convert(addAces, null),
convert(removeAces, null), extData);
if (objectId != null) {
objectId.value = id;