View Javadoc

1   package org.fosstrak.epcis.soap;
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  
11  /**
12   * This class was generated by Apache CXF 2.2.9 Tue Jul 06 14:13:27 CEST 2010
13   * Generated source version: 2.2.9
14   */
15  
16  @WebServiceClient(name = "EPCglobalEPCISService", wsdlLocation = "file:/Z:/Documents%20and%20Settings/tzhstmat/workspaceEPCIS/epcis/epcis-commons/../epcis-repository/src/main/resources/wsdl/EPCglobal-epcis-query-1_0.wsdl", targetNamespace = "urn:epcglobal:epcis:wsdl:1")
17  public class EPCglobalEPCISService extends Service {
18  
19      public final static URL WSDL_LOCATION;
20      public final static QName SERVICE = new QName("urn:epcglobal:epcis:wsdl:1", "EPCglobalEPCISService");
21      public final static QName EPCglobalEPCISServicePort = new QName("urn:epcglobal:epcis:wsdl:1",
22              "EPCglobalEPCISServicePort");
23  
24      static {
25          URL url = null;
26          try {
27              url = new URL("http://demo.fosstrak.org/epcis/query?wsdl");
28          } catch (MalformedURLException e) {
29              System.err.println("Can not initialize the default wsdl from http://demo.fosstrak.org/epcis/query?wsdl");
30          }
31          WSDL_LOCATION = url;
32      }
33  
34      public EPCglobalEPCISService(URL wsdlLocation) {
35          super(wsdlLocation, SERVICE);
36      }
37  
38      public EPCglobalEPCISService(URL wsdlLocation, QName serviceName) {
39          super(wsdlLocation, serviceName);
40      }
41  
42      public EPCglobalEPCISService() {
43          super(WSDL_LOCATION, SERVICE);
44      }
45  
46      /**
47       * @return returns EPCISServicePortType
48       */
49      @WebEndpoint(name = "EPCglobalEPCISServicePort")
50      public EPCISServicePortType getEPCglobalEPCISServicePort() {
51          return super.getPort(EPCglobalEPCISServicePort, EPCISServicePortType.class);
52      }
53  
54      /**
55       * @param features
56       *            A list of {@link javax.xml.ws.WebServiceFeature} to configure
57       *            on the proxy. Supported features not in the
58       *            <code>features</code> parameter will have their default
59       *            values.
60       * @return returns EPCISServicePortType
61       */
62      @WebEndpoint(name = "EPCglobalEPCISServicePort")
63      public EPCISServicePortType getEPCglobalEPCISServicePort(WebServiceFeature... features) {
64          return super.getPort(EPCglobalEPCISServicePort, EPCISServicePortType.class, features);
65      }
66  
67  }