GLS ShipIT  3.3.20
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.MalformedURLException;
4 import java.net.URL;
5 import javax.xml.namespace.QName;
6 import javax.xml.ws.WebEndpoint;
7 import javax.xml.ws.WebServiceClient;
8 import javax.xml.ws.WebServiceFeature;
9 import javax.xml.ws.Service;
10 
20 @WebServiceClient(name = "TrackingService",
21  wsdlLocation = "file:/home/jenkins/workspace/ShipIT/FPCS-Delivery/soap-datatypes/src/main/resources/Tracking.wsdl",
22  targetNamespace = "http://fpcs.gls-group.eu/v1/Tracking")
23 public class TrackingService extends Service {
24 
25  public final static URL WSDL_LOCATION;
26 
27  public final static QName SERVICE = new QName("http://fpcs.gls-group.eu/v1/Tracking", "TrackingService");
28  public final static QName TrackingPort = new QName("http://fpcs.gls-group.eu/v1/Tracking", "TrackingPort");
29  static {
30  URL url = null;
31  try {
32  url = new URL("file:/home/jenkins/workspace/ShipIT/FPCS-Delivery/soap-datatypes/src/main/resources/Tracking.wsdl");
33  } catch (MalformedURLException e) {
34  java.util.logging.Logger.getLogger(TrackingService.class.getName())
35  .log(java.util.logging.Level.INFO,
36  "Can not initialize the default wsdl from {0}", "file:/home/jenkins/workspace/ShipIT/FPCS-Delivery/soap-datatypes/src/main/resources/Tracking.wsdl");
37  }
38  WSDL_LOCATION = url;
39  }
40 
41  public TrackingService(URL wsdlLocation) {
42  super(wsdlLocation, SERVICE);
43  }
44 
45  public TrackingService(URL wsdlLocation, QName serviceName) {
46  super(wsdlLocation, serviceName);
47  }
48 
49  public TrackingService() {
50  super(WSDL_LOCATION, SERVICE);
51  }
52 
53  public TrackingService(WebServiceFeature ... features) {
54  super(WSDL_LOCATION, SERVICE, features);
55  }
56 
57  public TrackingService(URL wsdlLocation, WebServiceFeature ... features) {
58  super(wsdlLocation, SERVICE, features);
59  }
60 
61  public TrackingService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
62  super(wsdlLocation, serviceName, features);
63  }
64 
65 
66 
67 
73  @WebEndpoint(name = "TrackingPort")
74  public TrackingPortType getTrackingPort() {
75  return super.getPort(TrackingPort, TrackingPortType.class);
76  }
77 
85  @WebEndpoint(name = "TrackingPort")
86  public TrackingPortType getTrackingPort(WebServiceFeature... features) {
87  return super.getPort(TrackingPort, TrackingPortType.class, features);
88  }
89 
90 }
TrackingService(URL wsdlLocation, QName serviceName)
TrackingService(WebServiceFeature ... features)
TrackingService(URL wsdlLocation, WebServiceFeature ... features)
TrackingService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features)