public static void verifyDatastreamDefs(DatastreamDef[] dsDefArray, String msg) throws Exception {
String dsID = null;
String label = null;
String mimeType = null;
DatastreamDef dsDef = null;
for (int i=0; i<dsDefArray.length; i++) {
dsDef = dsDefArray[i];
dsID = dsDef.getID();
label = dsDef.getLabel();
mimeType = dsDef.getMIMEType();
System.out.println(msg + " datastreamDef["+i+"] "
+ "dsID: "+dsID);
System.out.println(msg + " datastreamDef["+i+"] "
+ "label: '"+label+"'");
System.out.println(msg + " datastreamDef["+i+"] "