I know this is not quite the right way to ask a question, but I have a problem:
I have wsdl stored locally and I need to create a web service client to call this web service. The problem is that the service is behind the firewall, and I have to connect to it through a proxy server, and after that I have to authenticate to connect to WS.
What I did was generate WS Client with Apache CXF 2.4.6, and then install the system proxy
System.getProperties().put("proxySet", "true"); System.getProperties().put("https.proxyHost", "10.10.10.10"); System.getProperties().put("https.proxyPort", "8080");
I know this is not the best practice, so please offer a better solution, also if anyone can give me advice on how to set up authentication, I really appreciate that.
cosmin.danisor
source share