Simple find all for type method that seems to be working on 5.5:
var allOrgs = Server.findAllForType("vCloud:Organization");
for each (var Org in allOrgs) {
System.log(Org.name);
};
But on 7.1 it produces:
Server error : ch.dunes.model.sdk.SDKFinderException: Unable to execute 'fetchAll' for type : Organization : 'java.lang.NullPointerException'
Any clues?