01: package org.ejbca.core.protocol.xkms;
02:
03: import java.net.MalformedURLException;
04: import java.net.URL;
05:
06: import javax.xml.namespace.QName;
07: import javax.xml.ws.Service;
08: import javax.xml.ws.WebEndpoint;
09: import javax.xml.ws.WebServiceClient;
10:
11: /**
12: * This class was generated by the JAXWS SI.
13: * JAX-WS RI 2.1-10/21/2006 12:56 AM(vivek)-EA2
14: * Generated source version: 2.0
15: *
16: */
17: @WebServiceClient(name="XKMSService",targetNamespace="http://www.w3.org/2002/03/xkms#wsdl",wsdlLocation="src/xkms/wsdl/xkms.wsdl")
18: public class XKMSService extends Service {
19:
20: private final static URL XKMSSERVICE_WSDL_LOCATION;
21:
22: static {
23: URL url = null;
24: try {
25: url = new URL(
26: "file:/C:/workspace/ejbca/src/xkms/wsdl/xkms.wsdl");
27: } catch (MalformedURLException e) {
28: e.printStackTrace();
29: }
30: XKMSSERVICE_WSDL_LOCATION = url;
31: }
32:
33: public XKMSService(URL wsdlLocation, QName serviceName) {
34: super (wsdlLocation, serviceName);
35: }
36:
37: public XKMSService() {
38: super (XKMSSERVICE_WSDL_LOCATION, new QName(
39: "http://www.w3.org/2002/03/xkms#wsdl", "XKMSService"));
40: }
41:
42: /**
43: *
44: * @return
45: * returns XKMSPortType
46: */
47: @WebEndpoint(name="XKMSPort")
48: public XKMSPortType getXKMSPort() {
49: return (XKMSPortType) super .getPort(new QName(
50: "http://www.w3.org/2002/03/xkms#wsdl", "XKMSPort"),
51: XKMSPortType.class);
52: }
53:
54: /**
55: *
56: * @param features
57: * 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.
58: * @return
59: * returns XKMSPortType
60: */
61: /* @WebEndpoint(name = "XKMSPort")
62: public XKMSPortType getXKMSPort(WebServiceFeature... features) {
63: return (XKMSPortType)super.getPort(new QName("http://www.w3.org/2002/03/xkms#wsdl", "XKMSPort"), XKMSPortType.class, features);
64: }*/
65:
66: }
|