有位兄弟的,转载下,以后用方便查
axis WebServices 调用 本地使用代理上网,设置代理
System.getProperties().put("proxySet", "true");
System.getProperties().put("proxyHost", "192.168.0.26");
System.getProperties().put("proxyPort", "808");
System.getProperties().put("socksProxySet", "true");
System.getProperties().put("socksProxyHost", "192.168.0.26");
System.getProperties().put("socksProxyPort", "1080");
axis WebServices 调用 本地使用代理上网,设置代理
System.getProperties().put("proxySet", "true");
System.getProperties().put("proxyHost", "192.168.0.26");
System.getProperties().put("proxyPort", "808");
System.getProperties().put("socksProxySet", "true");
System.getProperties().put("socksProxyHost", "192.168.0.26");
System.getProperties().put("socksProxyPort", "1080");