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 = "PullPointService", targetNamespace = "http://docs.oasis-open.org/wsn/brw-2")
21 public class PullPointService
22 extends Service
23 {
24
25 private final static URL PULLPOINTSERVICE_WSDL_LOCATION;
26 private final static Logger logger = Logger.getLogger(org.oasis_open.docs.wsn.brw_2.PullPointService.class.getName());
27
28
29
30 static {
31 ClassLoader cl = Thread.currentThread().getContextClassLoader();
32 if (cl != null) {
33 PULLPOINTSERVICE_WSDL_LOCATION = cl.getResource("brw-2impl.wsdl");
34 } else {
35 PULLPOINTSERVICE_WSDL_LOCATION = PublisherRegistrationManagerService.class.getClassLoader().getResource("brw-2impl.wsdl");
36 }
37 }
38
39 public PullPointService(URL wsdlLocation, QName serviceName) {
40 super(wsdlLocation, serviceName);
41 }
42
43 public PullPointService() {
44 super(PULLPOINTSERVICE_WSDL_LOCATION, new QName("http://docs.oasis-open.org/wsn/brw-2", "PullPointService"));
45 }
46
47
48
49
50
51
52 @WebEndpoint(name = "PullPointBindingPort")
53 public PullPoint getPullPointBindingPort() {
54 return super.getPort(new QName("http://docs.oasis-open.org/wsn/brw-2", "PullPointBindingPort"), PullPoint.class);
55 }
56
57
58
59
60
61
62
63
64 @WebEndpoint(name = "PullPointBindingPort")
65 public PullPoint getPullPointBindingPort(WebServiceFeature... features) {
66 return super.getPort(new QName("http://docs.oasis-open.org/wsn/brw-2", "PullPointBindingPort"), PullPoint.class, features);
67 }
68
69 }