ObjectFactory of = getObjectFactory();
String newId = getBinding().getObjectService().createDocument(getRepositoryId(),
of.convertProperties(properties, null, CREATE_UPDATABILITY), objectId,
of.convertContentStream(contentStream), versioningState, of.convertPolicies(policies),
of.convertAces(addAces), of.convertAces(removeAces), null);
// if no context is provided the object will not be fetched
if ((context == null) || (newId == null)) {
return null;
}