1. import the service provider certificate in ur trust store. 2. set below properties in ur web services client program:
System.setProperty("java.protocol.handler.pkgs","com.ibm.net.ssl.internal.www.protocol"); Security.addProvider(new JSSEProvider()); System.setProperty("javax.net.ssl.trustStore","mykeystore.ks"); System.setProperty("javax.net.ssl.trustStorePassword", "mystorepassword"); // if u behind a firewall proxy then set below System.setProperty("http.proxyHost", "140.4236.2435.47"); System.setProperty("http.proxyPort", "31248");