This project has retired. For details please refer to its
Attic page.
PolicyService xref
1 package org.apache.chemistry.opencmis.commons.impl.jaxb;
2
3 import java.net.URL;
4 import javax.xml.namespace.QName;
5 import javax.xml.ws.WebEndpoint;
6 import javax.xml.ws.WebServiceClient;
7 import javax.xml.ws.WebServiceFeature;
8 import javax.xml.ws.Service;
9
10
11
12
13
14
15
16 @WebServiceClient(name = "PolicyService",
17 wsdlLocation = "classpath:/wsdl/cmis11/CMISWS-Service.wsdl",
18 targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/")
19 public class PolicyService extends Service {
20
21 public final static URL WSDL_LOCATION;
22
23 public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "PolicyService");
24 public final static QName PolicyServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "PolicyServicePort");
25 static {
26 URL url = PolicyService.class.getClassLoader().getResource("/wsdl/cmis11/CMISWS-Service.wsdl");
27 if (url == null) {
28 url = PolicyService.class.getClassLoader().getResource("wsdl/cmis11/CMISWS-Service.wsdl");
29 }
30 if (url == null) {
31 java.util.logging.Logger.getLogger(PolicyService.class.getName())
32 .log(java.util.logging.Level.INFO,
33 "Can not initialize the default wsdl from {0}", "classpath:/wsdl/cmis11/CMISWS-Service.wsdl");
34 }
35 WSDL_LOCATION = url;
36 }
37
38 public PolicyService(URL wsdlLocation) {
39 super(wsdlLocation, SERVICE);
40 }
41
42 public PolicyService(URL wsdlLocation, QName serviceName) {
43 super(wsdlLocation, serviceName);
44 }
45
46 public PolicyService() {
47 super(WSDL_LOCATION, SERVICE);
48 }
49
50
51
52
53 public PolicyService(WebServiceFeature ... features) {
54 super(WSDL_LOCATION, SERVICE, features);
55 }
56
57
58
59
60 public PolicyService(URL wsdlLocation, WebServiceFeature ... features) {
61 super(wsdlLocation, SERVICE, features);
62 }
63
64
65
66
67 public PolicyService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
68 super(wsdlLocation, serviceName, features);
69 }
70
71
72
73
74
75
76 @WebEndpoint(name = "PolicyServicePort")
77 public PolicyServicePort getPolicyServicePort() {
78 return super.getPort(PolicyServicePort, PolicyServicePort.class);
79 }
80
81
82
83
84
85
86
87
88 @WebEndpoint(name = "PolicyServicePort")
89 public PolicyServicePort getPolicyServicePort(WebServiceFeature... features) {
90 return super.getPort(PolicyServicePort, PolicyServicePort.class, features);
91 }
92
93 }