1
2 package org.oasis_open.docs.wsn.brw_2;
3
4 import java.net.MalformedURLException;
5 import java.net.URL;
6 import java.util.logging.Logger;
7 import javax.xml.namespace.QName;
8 import javax.xml.ws.Service;
9 import javax.xml.ws.WebEndpoint;
10 import javax.xml.ws.WebServiceClient;
11 import javax.xml.ws.WebServiceFeature;
12
13
14
15
16
17
18
19
20 @WebServiceClient(name = "PublisherRegistrationManagerService", targetNamespace = "http://docs.oasis-open.org/wsn/brw-2")
21 public class PublisherRegistrationManagerService
22 extends Service
23 {
24
25 private final static URL PUBLISHERREGISTRATIONMANAGERSERVICE_WSDL_LOCATION;
26 private final static Logger logger = Logger.getLogger(org.oasis_open.docs.wsn.brw_2.PublisherRegistrationManagerService.class.getName());
27
28
29 static {
30 ClassLoader cl = Thread.currentThread().getContextClassLoader();
31 if (cl != null) {
32 PUBLISHERREGISTRATIONMANAGERSERVICE_WSDL_LOCATION = cl.getResource("brw-2impl.wsdl");
33 } else {
34 PUBLISHERREGISTRATIONMANAGERSERVICE_WSDL_LOCATION = PublisherRegistrationManagerService.class.getClassLoader().getResource("brw-2impl.wsdl");
35 }
36 }
37
38 public PublisherRegistrationManagerService(URL wsdlLocation, QName serviceName) {
39 super(wsdlLocation, serviceName);
40 }
41
42 public PublisherRegistrationManagerService() {
43 super(PUBLISHERREGISTRATIONMANAGERSERVICE_WSDL_LOCATION, new QName("http://docs.oasis-open.org/wsn/brw-2", "PublisherRegistrationManagerService"));
44 }
45
46
47
48
49
50
51 @WebEndpoint(name = "PublisherRegistrationManagerPort")
52 public PublisherRegistrationManager getPublisherRegistrationManagerPort() {
53 return super.getPort(new QName("http://docs.oasis-open.org/wsn/brw-2", "PublisherRegistrationManagerPort"), PublisherRegistrationManager.class);
54 }
55
56
57
58
59
60
61
62
63 @WebEndpoint(name = "PublisherRegistrationManagerPort")
64 public PublisherRegistrationManager getPublisherRegistrationManagerPort(WebServiceFeature... features) {
65 return super.getPort(new QName("http://docs.oasis-open.org/wsn/brw-2", "PublisherRegistrationManagerPort"), PublisherRegistrationManager.class, features);
66 }
67
68 }