View Javadoc

1   
2   package org.whatsitcalled.webflange.service;
3   
4   import java.net.MalformedURLException;
5   import java.net.URL;
6   import javax.xml.namespace.QName;
7   import javax.xml.ws.Service;
8   import javax.xml.ws.WebEndpoint;
9   import javax.xml.ws.WebServiceClient;
10  import org.whatsitcalled.webflange.service.TestService;
11  
12  /**
13   * This class was generated by the CXF 2.0.2-incubator
14   * Wed Apr 09 15:58:40 CDT 2008
15   * Generated source version: 2.0.2-incubator
16   * 
17   */
18  
19  @WebServiceClient(name = "TestServiceService", targetNamespace = "http://service.webflange.whatsitcalled.org/", wsdlLocation = "file:/C:/cygwin/home/jpiasci/work_spaces/webflange-ws/webflange/webflange-client/../webflange-server/target/generated/wsdl/TestService.wsdl")
20  public class TestServiceService extends Service {
21  
22      private final static URL WSDL_LOCATION;
23      private final static QName SERVICE = new QName("http://service.webflange.whatsitcalled.org/", "TestServiceService");
24      private final static QName TestServicePort = new QName("http://service.webflange.whatsitcalled.org/", "TestServicePort");
25      static {
26          URL url = null;
27          try {
28              url = new URL("file:/C:/cygwin/home/jpiasci/work_spaces/webflange-ws/webflange/webflange-client/../webflange-server/target/generated/wsdl/TestService.wsdl");
29          } catch (MalformedURLException e) {
30              System.err.println("Can not initialize the default wsdl from file:/C:/cygwin/home/jpiasci/work_spaces/webflange-ws/webflange/webflange-client/../webflange-server/target/generated/wsdl/TestService.wsdl");
31              // e.printStackTrace();
32          }
33          WSDL_LOCATION = url;
34      }
35  
36      public TestServiceService(URL wsdlLocation, QName serviceName) {
37          super(wsdlLocation, serviceName);
38      }
39  
40      public TestServiceService() {
41          super(WSDL_LOCATION, SERVICE);
42      }
43  
44      /**
45       * 
46       * @return
47       *     returns TestServicePort
48       */
49      @WebEndpoint(name = "TestServicePort")
50      public TestService getTestServicePort() {
51          return (TestService)super.getPort(TestServicePort, TestService.class);
52      }
53  
54  }