GLS ShipIT  2.8.11
GLS ShipIT - SOAP services
ParcelShopSearch_Service.java
Go to the documentation of this file.
1 package eu.glsgroup.ws.parcelshopsearch;
2 
3 import javax.xml.namespace.QName;
4 import javax.xml.ws.Service;
5 import javax.xml.ws.WebEndpoint;
6 import javax.xml.ws.WebServiceClient;
7 import javax.xml.ws.WebServiceFeature;
8 import java.net.MalformedURLException;
9 import java.net.URL;
10 
16 @WebServiceClient(name = "ParcelShopSearch",
17  wsdlLocation = "file:soap-datatypes/src/main/resources/2010_01_ParcelShopSearch.wsdl",
18  targetNamespace = "http://2010_01.ParcelShopSearch.gls-group.eu/ParcelShopSearch/")
19 public class ParcelShopSearch_Service extends Service {
20 
21  public final static URL WSDL_LOCATION;
22 
23  public final static QName SERVICE = new QName("http://2010_01.ParcelShopSearch.gls-group.eu/ParcelShopSearch/", "ParcelShopSearch");
24  public final static QName ParcelShopSearch = new QName("http://2010_01.ParcelShopSearch.gls-group.eu/ParcelShopSearch/", "ParcelShopSearch");
25  static {
26  URL url = null;
27  try {
28  url = new URL("file:soap-datatypes/src/main/resources/2010_01_ParcelShopSearch.wsdl");
29  } catch (MalformedURLException e) {
30  java.util.logging.Logger.getLogger(ParcelShopSearch_Service.class.getName())
31  .log(java.util.logging.Level.INFO,
32  "Can not initialize the default wsdl from {0}", "file:soap-datatypes/src/main/resources/2010_01_ParcelShopSearch.wsdl");
33  }
34  WSDL_LOCATION = url;
35  }
36 
37  public ParcelShopSearch_Service(URL wsdlLocation) {
38  super(wsdlLocation, SERVICE);
39  }
40 
41  public ParcelShopSearch_Service(URL wsdlLocation, QName serviceName) {
42  super(wsdlLocation, serviceName);
43  }
44 
46  super(WSDL_LOCATION, SERVICE);
47  }
48 
49  //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
50  //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
51  //compliant code instead.
52  public ParcelShopSearch_Service(WebServiceFeature... features) {
53 
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 
62  super(wsdlLocation, SERVICE, features);
63  }
64 
65  //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
66  //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
67  //compliant code instead.
68  public ParcelShopSearch_Service(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
69 
70  super(wsdlLocation, serviceName, features);
71  }
72 
78  @WebEndpoint(name = "ParcelShopSearch")
79  public ParcelShopSearch getParcelShopSearch() {
80  return super.getPort(ParcelShopSearch, ParcelShopSearch.class);
81  }
82 
90  @WebEndpoint(name = "ParcelShopSearch")
91  public ParcelShopSearch getParcelShopSearch(WebServiceFeature... features) {
92  return super.getPort(ParcelShopSearch, ParcelShopSearch.class, features);
93  }
94 
95 }
ParcelShopSearch_Service(URL wsdlLocation, WebServiceFeature... features)
ParcelShopSearch_Service(URL wsdlLocation, QName serviceName, WebServiceFeature... features)