View Javadoc

1   
2   package com.aggregator;
3   
4   import javax.xml.namespace.QName;
5   import javax.xml.ws.Service;
6   import javax.xml.ws.WebEndpoint;
7   import javax.xml.ws.WebServiceClient;
8   import javax.xml.ws.WebServiceFeature;
9   import java.net.MalformedURLException;
10  import java.net.URL;
11  
12  
13  /**
14   * This class was generated by the JAX-WS RI.
15   * JAX-WS RI 2.1.1 in JDK 6
16   * Generated source version: 2.1
17   * 
18   */
19  @WebServiceClient(name = "HandlingReportServiceService", targetNamespace = "http://ws.handling.interfaces.dddsample.citerus.se/", wsdlLocation = "file:///Users/peter/src/dddsample/src/main/resources/HandlingReportService.wsdl")
20  public class HandlingReportServiceService
21      extends Service
22  {
23  
24      private final static URL HANDLINGREPORTSERVICESERVICE_WSDL_LOCATION;
25  
26      static {
27          URL url = null;
28          try {
29              url = new URL("file:/Users/peter/src/dddsample/src/main/resources/HandlingReportService.wsdl");
30          } catch (MalformedURLException e) {
31              e.printStackTrace();
32          }
33          HANDLINGREPORTSERVICESERVICE_WSDL_LOCATION = url;
34      }
35  
36      public HandlingReportServiceService(URL wsdlLocation, QName serviceName) {
37          super(wsdlLocation, serviceName);
38      }
39  
40      public HandlingReportServiceService() {
41          super(HANDLINGREPORTSERVICESERVICE_WSDL_LOCATION, new QName("http://ws.handling.interfaces.dddsample.citerus.se/", "HandlingReportServiceService"));
42      }
43  
44      /**
45       * 
46       * @return
47       *     returns HandlingReportService
48       */
49      @WebEndpoint(name = "HandlingReportServicePort")
50      public HandlingReportService getHandlingReportServicePort() {
51          return (HandlingReportService)super.getPort(new QName("http://ws.handling.interfaces.dddsample.citerus.se/", "HandlingReportServicePort"), HandlingReportService.class);
52      }
53  
54      /**
55       * 
56       * @param features
57       *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
58       * @return
59       *     returns HandlingReportService
60       */
61      @WebEndpoint(name = "HandlingReportServicePort")
62      public HandlingReportService getHandlingReportServicePort(WebServiceFeature... features) {
63          return (HandlingReportService)super.getPort(new QName("http://ws.handling.interfaces.dddsample.citerus.se/", "HandlingReportServicePort"), HandlingReportService.class, features);
64      }
65  
66  }