⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xkmsservice.java

📁 一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考
💻 JAVA
字号:
package org.ejbca.core.protocol.xkms;import java.net.MalformedURLException;import java.net.URL;import javax.xml.namespace.QName;import javax.xml.ws.Service;import javax.xml.ws.WebEndpoint;import javax.xml.ws.WebServiceClient;/** * This class was generated by the JAXWS SI. * JAX-WS RI 2.1-10/21/2006 12:56 AM(vivek)-EA2 * Generated source version: 2.0 *  */@WebServiceClient(name = "XKMSService", targetNamespace = "http://www.w3.org/2002/03/xkms#wsdl", wsdlLocation = "src/xkms/wsdl/xkms.wsdl")public class XKMSService    extends Service{    private final static URL XKMSSERVICE_WSDL_LOCATION;    static {        URL url = null;        try {            url = new URL("file:/C:/workspace/ejbca/src/xkms/wsdl/xkms.wsdl");        } catch (MalformedURLException e) {            e.printStackTrace();        }        XKMSSERVICE_WSDL_LOCATION = url;    }    public XKMSService(URL wsdlLocation, QName serviceName) {        super(wsdlLocation, serviceName);    }    public XKMSService() {        super(XKMSSERVICE_WSDL_LOCATION, new QName("http://www.w3.org/2002/03/xkms#wsdl", "XKMSService"));    }    /**     *      * @return     *     returns XKMSPortType     */    @WebEndpoint(name = "XKMSPort")    public XKMSPortType getXKMSPort() {        return (XKMSPortType)super.getPort(new QName("http://www.w3.org/2002/03/xkms#wsdl", "XKMSPort"), XKMSPortType.class);    }    /**     *      * @param features     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.     * @return     *     returns XKMSPortType     */  /*  @WebEndpoint(name = "XKMSPort")    public XKMSPortType getXKMSPort(WebServiceFeature... features) {        return (XKMSPortType)super.getPort(new QName("http://www.w3.org/2002/03/xkms#wsdl", "XKMSPort"), XKMSPortType.class, features);    }*/}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -