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