Hi all, some of the users of my client API-A are behind a proxy, so far I
tried to set the connection like this for them, but still getting Connection
Refused, any ideas how to do the connection with a active proxy or is there
any other reason for the exception?
My code for those users so far:
FedoraClient fc = new FedoraClient(serviceURL,username,password);
if (nuevoProxy != null) {
fc.getHttpClient().getHostConfiguration().setProxyHost(nuevoProxy);
}
nuevoProxy has the proxyserver and the proxyport info already.
Users with no proxy have no problems connecting to the fedora server.
Alexis
------------------------------------------------------------------------------
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users