public BAMArchiverDSClient(String cookie, String backendServerURL,
ConfigurationContext configCtx) throws BAMException {
try {
String serviceURL = ClientUtil.getBackendEPR(backendServerURL, BAM_ARCHIVER_DS);
stub = new BAMArchiverDSStub(configCtx, serviceURL);
} catch (Exception e) {
throw new BAMException(e.getMessage(), e);
}
ServiceClient client = stub._getServiceClient();
Options option = client.getOptions();