*/
protected static IXregistryPortType createGSISecureServiceStub(GSSCredential gssCredential, X509Certificate[] trustedCerts,
String xregistryServiceWsdlUrl) throws XRegistryClientException {
try {
SoapHttpDynamicInfosetInvoker invoker = new GsiInvoker(gssCredential, trustedCerts);
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);