SSLPolicyInt policy = new SSLPolicyInt();
policy.requireClientAuth(true);
policy.setAcceptNoClientCert(true);
ctx.setPolicy(policy);
SoapHttpDynamicInfosetInvoker invoker = new PuretlsInvoker(ctx);
String wsdlAsStr = invoker.invokeHttpGet(xregistryServiceWsdlUrl);
XmlElement el = XmlConstants.BUILDER.parseFragmentFromReader(new StringReader(wsdlAsStr));
WsdlDefinitions def = new WsdlDefinitions(el);
WSIFServiceFactory wsf = WSIFServiceFactory.newInstance();
WSIFService serv = wsf.getService(def);