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
15
16
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
47
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
57
58
59
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 }