use of net.sourceforge.processdash.ui.lib.binding.DynamicAttributeValue in project processdash by dtuma.
the class CCWebService method openConnectionImpl.
@Override
protected XmlRpcClient openConnectionImpl() throws ErrorDataValueException {
// assume the most recent version of the server, and try to connect.
this.urlSuffix = new DynamicAttributeValue(URL_SUFFIX_4);
this.namespace = NAMESPACE4;
this.testMethodName = NAMESPACE4 + TEST_METHOD_NAME;
XmlRpcClient result = super.openConnectionImpl(true);
// if that fails, try connecting to the older server API.
if (result == null) {
this.urlSuffix = new DynamicAttributeValue(URL_SUFFIX_3);
this.namespace = NAMESPACE3;
this.testMethodName = NAMESPACE3 + TEST_METHOD_NAME;
result = super.openConnectionImpl(true);
}
return result;
}
Aggregations