|
<%
String query = "for $x in collection(\"/db/DRIVER/CollectionDSResources/CollectionDSResourceType\")";
query += "where $x//RESOURCE_PROFILE/BODY/CONFIGURATION/NAME = \"DART Europe Repositories\"";
query += "return $x/RESOURCE_PROFILE/BODY/CONFIGURATION/MEMBERSHIP_CONDITION";
IS_LookUpClient lookup = new IS_LookUpClient("http://node1.p.driver.research-infrastructures.eu:8007/SOAP/IS_LookUp");
String[] MEMBERSHIP_CONDITIONs = lookup.quickSearchProfile(query);
String MEMBERSHIP_CONDITION = "";
if (MEMBERSHIP_CONDITIONs.length > 0) {
MEMBERSHIP_CONDITION = MEMBERSHIP_CONDITIONs[0];
System.out.println(MEMBERSHIP_CONDITION);
ODL_Utils utils = new ODL_Utils();
//String s2 = Base64Coder.decodeString(base64Text);
out.println("");
out.println("");
} else {
out.println("");
out.println("");
}
%>
|