Using org.eclipse.epp.internal.mpc.core.service.DefaultMarketplaceService behind a proxy [message #648129] |
Tue, 11 January 2011 11:18 |
|
Hi to all,
I want to use org.eclipse.epp.internal.mpc.core.service.DefaultMarketplace Service to get data from marketplaces. If I call it like this:
DefaultMarketplaceService service = new DefaultMarketplaceService(new URL("http://marketplace.eclipse.org"));
List<Market> listMarkets = service.listMarkets(new NullProgressMonitor());
for (Market nextMarekt: listMarkets) {
LOGGER.info("Market " + nextMarekt.getName() + " found");
List<Category> category = nextMarekt.getCategory();
for (Category nextCat: category) {
LOGGER.info("- Category " + nextCat.getName() + "-" + nextCat.getId() + "-" + nextCat.getCount() + " found");
}
}
I get a Connection refused if I'm behind a proxy in our company.
Calling it from home, without any proxy, it works
How can I handle this proxy issue
|
|
|
|
Powered by
FUDForum. Page generated in 0.04358 seconds