I want to use axis for web service.We use the proxy server because of that I am using the code below
System.setProperty(“http.proxyHost”, “proxyaaaaa”);
System.setProperty(“http.proxyPort”, “8080”);
but there is a sucurity problem while setting http.proxyHost
is there a way setting the system properties with axis class methods.
I read all forum but I can not the solve this problem.
can anybody help me
thanks
best regards.
Subject: axis System.setProperty(“http.proxyHost”, “proxyaaaaa”)
You don’t state the specifics of the problem, but I would guess you’ll need to modify the java.policy file to make those two properties writeable like so:permission java.util.PropertyPermission “http.proxyHost”, “write”;
permission java.util.PropertyPermission “http.proxyPort”, “write”;
dgg
Subject: RE: axis System.setProperty(“http.proxyHost”, “proxyaaaaa”)
very very very thanks Dallas Gimpel you are good man…:))the problem is solved