-
Notifications
You must be signed in to change notification settings - Fork 30
/
HelloService.java
94 lines (78 loc) · 2.96 KB
/
HelloService.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
package ee.jakarta.tck.authentication.test.basic.soap;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import jakarta.xml.ws.Service;
import jakarta.xml.ws.WebEndpoint;
import jakarta.xml.ws.WebServiceClient;
import jakarta.xml.ws.WebServiceException;
import jakarta.xml.ws.WebServiceFeature;
/**
* This class was generated by the XML-WS Tools.
* XML-WS Tools 4.0.1
* Generated source version: 3.0
*
*/
@WebServiceClient(name = "HelloService", targetNamespace = "http://soap.basic.test.authentication.tck.jakarta.ee/", wsdlLocation = "http://localhost:8080/spitests_servlet_web/HelloService?wsdl")
public class HelloService
extends Service
{
private static final URL HELLOSERVICE_WSDL_LOCATION;
private static final WebServiceException HELLOSERVICE_EXCEPTION;
private static final QName HELLOSERVICE_QNAME = new QName("http://soap.basic.test.authentication.tck.jakarta.ee/", "HelloService");
static {
URL url = null;
WebServiceException e = null;
try {
url = new URL("http://localhost:8080/spitests_servlet_web/HelloService?wsdl");
} catch (MalformedURLException ex) {
e = new WebServiceException(ex);
}
HELLOSERVICE_WSDL_LOCATION = url;
HELLOSERVICE_EXCEPTION = e;
}
public HelloService() {
super(__getWsdlLocation(), HELLOSERVICE_QNAME);
}
public HelloService(WebServiceFeature... features) {
super(__getWsdlLocation(), HELLOSERVICE_QNAME, features);
}
public HelloService(URL wsdlLocation) {
super(wsdlLocation, HELLOSERVICE_QNAME);
}
public HelloService(URL wsdlLocation, WebServiceFeature... features) {
super(wsdlLocation, HELLOSERVICE_QNAME, features);
}
public HelloService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public HelloService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
super(wsdlLocation, serviceName, features);
}
/**
*
* @return
* returns Hello
*/
@WebEndpoint(name = "HelloPort")
public Hello getHelloPort() {
return super.getPort(new QName("http://soap.basic.test.authentication.tck.jakarta.ee/", "HelloPort"), Hello.class);
}
/**
*
* @param features
* A list of {@link jakarta.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns Hello
*/
@WebEndpoint(name = "HelloPort")
public Hello getHelloPort(WebServiceFeature... features) {
return super.getPort(new QName("http://soap.basic.test.authentication.tck.jakarta.ee/", "HelloPort"), Hello.class, features);
}
private static URL __getWsdlLocation() {
if (HELLOSERVICE_EXCEPTION!= null) {
throw HELLOSERVICE_EXCEPTION;
}
return HELLOSERVICE_WSDL_LOCATION;
}
}