Package org.ejbca.core.protocol.xkms

Examples of org.ejbca.core.protocol.xkms.XKMSService.createDispatch()


   */
  public XKMSInvoker(String serviceURL, Collection<Certificate> cacerts){
    XKMSService xkmsService;
    try {
      xkmsService = new XKMSService(new URL(serviceURL + "?wsdl"),new QName("http://www.w3.org/2002/03/xkms#wsdl", "XKMSService"));
      sourceDispatch = xkmsService.createDispatch(new QName("http://www.w3.org/2002/03/xkms#wsdl", "XKMSPort"), Source.class, Service.Mode.PAYLOAD);
    } catch (MalformedURLException e) {
      log.error("Error creating XKMS Service instance",e);
    }      
    this.cacerts = cacerts; // null if signed responses are not required.
  }
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.