GLS ShipIT  3.5.15
GLS ShipIT - REST services
TrackingService.java
Go to the documentation of this file.
1 package eu.gls_group.fpcs.v1.tracking;
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 
18 @WebServiceClient(name = "TrackingService",
19  wsdlLocation = "Tracking.wsdl",
20  targetNamespace = "http://fpcs.gls-group.eu/v1/Tracking")
21 public class TrackingService extends Service {
22 
23  public final static URL WSDL_LOCATION;
24 
25  public final static QName SERVICE = new QName("http://fpcs.gls-group.eu/v1/Tracking", "TrackingService");
26  public final static QName TrackingPort = new QName("http://fpcs.gls-group.eu/v1/Tracking", "TrackingPort");
27  static {
28  URL url = TrackingService.class.getResource("Tracking.wsdl");
29  if (url == null) {
30  url = TrackingService.class.getClassLoader().getResource("Tracking.wsdl");
31  }
32  if (url == null) {
33  java.util.logging.Logger.getLogger(TrackingService.class.getName())
34  .log(java.util.logging.Level.INFO,
35  "Can not initialize the default wsdl from {0}", "Tracking.wsdl");
36  }
37  WSDL_LOCATION = url;
38  }
39 
40  public TrackingService(URL wsdlLocation) {
41  super(wsdlLocation, SERVICE);
42  }
43 
44  public TrackingService(URL wsdlLocation, QName serviceName) {
45  super(wsdlLocation, serviceName);
46  }
47 
48  public TrackingService() {
49  super(WSDL_LOCATION, SERVICE);
50  }
51 
52  public TrackingService(WebServiceFeature ... features) {
53  super(WSDL_LOCATION, SERVICE, features);
54  }
55 
56  public TrackingService(URL wsdlLocation, WebServiceFeature ... features) {
57  super(wsdlLocation, SERVICE, features);
58  }
59 
60  public TrackingService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
61  super(wsdlLocation, serviceName, features);
62  }
63 
64 
65 
66 
72  @WebEndpoint(name = "TrackingPort")
73  public TrackingPortType getTrackingPort() {
74  return super.getPort(TrackingPort, TrackingPortType.class);
75  }
76 
84  @WebEndpoint(name = "TrackingPort")
85  public TrackingPortType getTrackingPort(WebServiceFeature... features) {
86  return super.getPort(TrackingPort, TrackingPortType.class, features);
87  }
88 
89 }
TrackingService(URL wsdlLocation, QName serviceName)
TrackingService(WebServiceFeature ... features)
TrackingService(URL wsdlLocation, WebServiceFeature ... features)
TrackingService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features)