GLS ShipIT
GLS ShipIT - REST services
 All Classes Namespaces Files Functions Variables Enumerator Pages
ParcelShopSearch_Service.java
Go to the documentation of this file.
1 package eu.glsgroup.ws.parcelshopsearch;
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 
17 @WebServiceClient(name = "ParcelShopSearch",
18  wsdlLocation = "file:soap-datatypes/src/main/resources/2010_01_ParcelShopSearch.wsdl",
19  targetNamespace = "http://2010_01.ParcelShopSearch.gls-group.eu/ParcelShopSearch/")
20 public class ParcelShopSearch_Service extends Service {
21 
22  public final static URL WSDL_LOCATION;
23 
24  public final static QName SERVICE = new QName("http://2010_01.ParcelShopSearch.gls-group.eu/ParcelShopSearch/", "ParcelShopSearch");
25  public final static QName ParcelShopSearch = new QName("http://2010_01.ParcelShopSearch.gls-group.eu/ParcelShopSearch/", "ParcelShopSearch");
26  static {
27  URL url = null;
28  try {
29  url = new URL("file:soap-datatypes/src/main/resources/2010_01_ParcelShopSearch.wsdl");
30  } catch (MalformedURLException e) {
31  java.util.logging.Logger.getLogger(ParcelShopSearch_Service.class.getName())
32  .log(java.util.logging.Level.INFO,
33  "Can not initialize the default wsdl from {0}", "file:soap-datatypes/src/main/resources/2010_01_ParcelShopSearch.wsdl");
34  }
35  WSDL_LOCATION = url;
36  }
37 
38  public ParcelShopSearch_Service(URL wsdlLocation) {
39  super(wsdlLocation, SERVICE);
40  }
41 
42  public ParcelShopSearch_Service(URL wsdlLocation, QName serviceName) {
43  super(wsdlLocation, serviceName);
44  }
45 
47  super(WSDL_LOCATION, SERVICE);
48  }
49 
50  //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
51  //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
52  //compliant code instead.
53  public ParcelShopSearch_Service(WebServiceFeature ... features) {
54  super(WSDL_LOCATION, SERVICE, features);
55  }
56 
57  //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
58  //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
59  //compliant code instead.
60  public ParcelShopSearch_Service(URL wsdlLocation, WebServiceFeature ... features) {
61  super(wsdlLocation, SERVICE, features);
62  }
63 
64  //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
65  //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
66  //compliant code instead.
67  public ParcelShopSearch_Service(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
68  super(wsdlLocation, serviceName, features);
69  }
70 
76  @WebEndpoint(name = "ParcelShopSearch")
77  public ParcelShopSearch getParcelShopSearch() {
78  return super.getPort(ParcelShopSearch, ParcelShopSearch.class);
79  }
80 
88  @WebEndpoint(name = "ParcelShopSearch")
89  public ParcelShopSearch getParcelShopSearch(WebServiceFeature... features) {
90  return super.getPort(ParcelShopSearch, ParcelShopSearch.class, features);
91  }
92 
93 }