1
2
3
4
5
6 package org.mule.example.employee;
7
8 import java.net.MalformedURLException;
9 import java.net.URL;
10 import javax.xml.namespace.QName;
11 import javax.xml.ws.WebEndpoint;
12 import javax.xml.ws.WebServiceClient;
13 import javax.xml.ws.WebServiceFeature;
14 import javax.xml.ws.Service;
15
16
17
18
19
20
21
22
23
24 @WebServiceClient(name = "EmployeeDirectory",
25 wsdlLocation = "file:/opt/j2ee/domains/mulesource.com/bamboo/webapps/atlassian-bamboo/data/atlassian-bamboo-2.6.2/xml-data/build-dir/MULE-301SITE/modules/cxf/src/test/resources/employeeDirectory.wsdl",
26 targetNamespace = "http://employee.example.mule.org/")
27 public class EmployeeDirectory_Service extends Service {
28
29 public final static URL WSDL_LOCATION;
30 public final static QName SERVICE = new QName("http://employee.example.mule.org/", "EmployeeDirectory");
31 public final static QName EmployeeDirectoryPort = new QName("http://employee.example.mule.org/", "EmployeeDirectoryPort");
32 static {
33 URL url = null;
34 try {
35 url = new URL("file:/opt/j2ee/domains/mulesource.com/bamboo/webapps/atlassian-bamboo/data/atlassian-bamboo-2.6.2/xml-data/build-dir/MULE-301SITE/modules/cxf/src/test/resources/employeeDirectory.wsdl");
36 } catch (MalformedURLException e) {
37 System.err.println("Can not initialize the default wsdl from file:/opt/j2ee/domains/mulesource.com/bamboo/webapps/atlassian-bamboo/data/atlassian-bamboo-2.6.2/xml-data/build-dir/MULE-301SITE/modules/cxf/src/test/resources/employeeDirectory.wsdl");
38
39 }
40 WSDL_LOCATION = url;
41 }
42
43 public EmployeeDirectory_Service(URL wsdlLocation) {
44 super(wsdlLocation, SERVICE);
45 }
46
47 public EmployeeDirectory_Service(URL wsdlLocation, QName serviceName) {
48 super(wsdlLocation, serviceName);
49 }
50
51 public EmployeeDirectory_Service() {
52 super(WSDL_LOCATION, SERVICE);
53 }
54
55
56
57
58
59
60 @WebEndpoint(name = "EmployeeDirectoryPort")
61 public EmployeeDirectory getEmployeeDirectoryPort() {
62 return super.getPort(EmployeeDirectoryPort, EmployeeDirectory.class);
63 }
64
65
66
67
68
69
70
71
72 @WebEndpoint(name = "EmployeeDirectoryPort")
73 public EmployeeDirectory getEmployeeDirectoryPort(WebServiceFeature... features) {
74 return super.getPort(EmployeeDirectoryPort, EmployeeDirectory.class, features);
75 }
76
77 }