View Javadoc
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   * This class was generated by Apache CXF 2.3.1
18   * Sun Feb 23 10:16:58 CST 2014
19   * Generated source version: 2.3.1
20   * 
21   */
22  
23  
24  @WebServiceClient(name = "EmployeeDirectory", 
25                    wsdlLocation = "file:/opt/j2ee/domains/mulesource.com/bamboo/webapps/atlassian-bamboo/data/atlassian-bamboo-3.0.3/xml-data/build-dir/MULE-31XSITE-JOB1/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-3.0.3/xml-data/build-dir/MULE-31XSITE-JOB1/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-3.0.3/xml-data/build-dir/MULE-31XSITE-JOB1/modules/cxf/src/test/resources/employeeDirectory.wsdl");
38              // e.printStackTrace();
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       * @return
59       *     returns EmployeeDirectory
60       */
61      @WebEndpoint(name = "EmployeeDirectoryPort")
62      public EmployeeDirectory getEmployeeDirectoryPort() {
63          return super.getPort(EmployeeDirectoryPort, EmployeeDirectory.class);
64      }
65  
66      /**
67       * 
68       * @param features
69       *     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.
70       * @return
71       *     returns EmployeeDirectory
72       */
73      @WebEndpoint(name = "EmployeeDirectoryPort")
74      public EmployeeDirectory getEmployeeDirectoryPort(WebServiceFeature... features) {
75          return super.getPort(EmployeeDirectoryPort, EmployeeDirectory.class, features);
76      }
77  
78  }