xkmsservice.java
来自「一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考」· Java 代码 · 共 67 行
JAVA
67 行
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 + =
减小字号Ctrl + -
显示快捷键?