I'm trying to test jax-ws clients in my application with Glassfish. The application works fine at home, but at the office I have to use proxy.
My problem is that I have to use proxy for one client only and not all of them.
It works fine for this client if I use :
System.setProperty("https.proxyHost", util.getProperties("proxy.host"));
System.setProperty("https.proxyPort", util.getProperties("proxy.port"));
but the problem is that the others clients stopped working because they don't need a proxy.
I want to test it for Glassfish 4, but I have no idea how to do that.
PS. All the clients code are generated from wsdl.
thanks