Examples of generateDynamicStub()


Examples of xsul.xwsif_runtime.WSIFClient.generateDynamicStub()

    WSIFClient wcl = XmlBeansWSIFRuntime.getDefault().newClientFor(service,
        null);
    wcl.addHandler(soapHeaderHandler);

    AgentPortType stub = (AgentPortType) wcl
        .generateDynamicStub(AgentPortType.class);

    return stub;

  }
View Full Code Here

Examples of xsul.xwsif_runtime.WSIFClient.generateDynamicStub()

        System.err.println("invoking operation MyLEADClient using WSDL from "
                + wsdlLoc);

        WSIFClient wcl = XmlBeansWSIFRuntime.newClient(wsdlLoc);
        AgentPortType stub = (AgentPortType) wcl
                .generateDynamicStub(AgentPortType.class);

        // This doesn't return anything, but prints out an error message to
        // stdout.
        //TODO Fix this and uncomment
View Full Code Here

Examples of xsul.xwsif_runtime.WSIFClient.generateDynamicStub()

        "use-lead-header", leadContextHeader);

    WSIFClient wcl = XmlBeansWSIFRuntime.newClient(wsdlLoc);
    wcl.addHandler(soapHeaderHandler);

    AgentPortType stub = (AgentPortType) wcl
        .generateDynamicStub(AgentPortType.class);

    return stub;

  }
View Full Code Here

Examples of xsul.xwsif_runtime.WSIFClient.generateDynamicStub()

       String trustedCA = System.getProperty("ssl.hostcertsKeyFile");
      String hostCert =  System.getProperty("ssl.trustedCertsFile");
    globalContext.setTrustedCertsFile(trustedCA);
    globalContext.setHostcertsKeyFile(hostCert);
      WSIFClient client = Utils.createWSIFClient(globalContext, registryServiceWsdlUrl);
        proxy = (XregistryPortType)client.generateDynamicStub(XregistryPortType.class);
        userDN = globalContext.getUserDN();
        System.out.println("Create Stub for "+ registryServiceWsdlUrl + " using "+ userDN);
    }
    public DocumentRegistryClient(GlobalContext context,String registryServiceWsdlUrl) throws XregistryException{
        WSIFClient client = Utils.createWSIFClient(context, registryServiceWsdlUrl);
View Full Code Here

Examples of xsul.xwsif_runtime.WSIFClient.generateDynamicStub()

        userDN = globalContext.getUserDN();
        System.out.println("Create Stub for "+ registryServiceWsdlUrl + " using "+ userDN);
    }
    public DocumentRegistryClient(GlobalContext context,String registryServiceWsdlUrl) throws XregistryException{
        WSIFClient client = Utils.createWSIFClient(context, registryServiceWsdlUrl);
        proxy = (XregistryPortType)client.generateDynamicStub(XregistryPortType.class);
        userDN = context.getUserDN();
        System.out.println("Create Stub for "+ registryServiceWsdlUrl + " using "+ userDN);
    }
    public String[]  app2Hosts(String appName) throws XregistryException {
        App2HostsDocument document = App2HostsDocument.Factory.newInstance();
View Full Code Here

Examples of xsul.xwsif_runtime.WSIFClient.generateDynamicStub()

public class AdminClient {
    private XregistryPortType proxy;
    public AdminClient(GlobalContext context,String registryServiceWsdlUrl) throws XregistryException{
        WSIFClient client = Utils.createWSIFClient(context, registryServiceWsdlUrl);
        proxy = (XregistryPortType)client.generateDynamicStub(XregistryPortType.class);
    }
   
   
    public void addGrouptoGroup(String groupName, String grouptoAddedName) throws XregistryException {
        AddGrouptoGroupDocument input = AddGrouptoGroupDocument.Factory.newInstance();
View Full Code Here

Examples of xsul.xwsif_runtime.WSIFClient.generateDynamicStub()

   * @throws XRegistryClientException
   */
  protected static IXregistryPortType createNonSecureServiceStub(String nonSecureXRegistryUrl) throws XRegistryClientException {
   
    WSIFClient client = XmlBeansWSIFRuntime.newClient(nonSecureXRegistryUrl);
    return (IXregistryPortType)client.generateDynamicStub(IXregistryPortType.class);
   
  }
 
  /**
   * Create a GSI Secure XRegistry Connection Stub
View Full Code Here

Examples of xsul.xwsif_runtime.WSIFClient.generateDynamicStub()

      WSIFService serv = wsf.getService(def);
      serv.addLocalProvider(new Provider(invoker));
     
      WSIFClient client = XmlBeansWSIFRuntime.getDefault().newClientFor(serv.getPort());
      ((XsulSoapPort) client.getPort()).setInvoker(invoker);
      return (IXregistryPortType)client.generateDynamicStub(IXregistryPortType.class);
     
    } catch (WSIFException e) {
      throw new XRegistryClientException(e);
    } catch (XsulException e) {
      throw new XRegistryClientException(e);
View Full Code Here

Examples of xsul.xwsif_runtime.WSIFClient.generateDynamicStub()

      WSIFService serv = wsf.getService(def);
      serv.addLocalProvider(new Provider(invoker));
     
      WSIFClient client = XmlBeansWSIFRuntime.getDefault().newClientFor(serv.getPort());
      ((XsulSoapPort) client.getPort()).setInvoker(invoker);
      return (IXregistryPortType)client.generateDynamicStub(IXregistryPortType.class);
     
    } catch (WSIFException e) {
      throw new XRegistryClientException(e);
    } catch (XsulException e) {
      throw new XRegistryClientException(e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.