public <T extends ItemBase> T putItem(T item) throws OpsException {
JaxbHelper jaxbHelper = PlatformLayerClientBase.toJaxbHelper(item);
String xml = PlatformLayerClientBase.serialize(jaxbHelper, item);
PlatformLayerKey key = PlatformLayerClientBase.toKey(jaxbHelper, item, listServices(true));
UntypedItem created = putItem(key, xml, Format.XML);
Class<T> itemClass = (Class<T>) item.getClass();
return promoteToTyped(created, itemClass);