View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package net.webservicex;
8   
9   import java.net.MalformedURLException;
10  import java.net.URL;
11  import javax.xml.namespace.QName;
12  import javax.xml.ws.WebEndpoint;
13  import javax.xml.ws.WebServiceClient;
14  import javax.xml.ws.WebServiceFeature;
15  import javax.xml.ws.Service;
16  
17  /**
18   * This class was generated by Apache CXF 2.2.8
19   * Tue May 11 18:53:01 ART 2010
20   * Generated source version: 2.2.8
21   * 
22   */
23  
24  
25  @WebServiceClient(name = "StockQuote", 
26                    wsdlLocation = "file:stockquote.wsdl",
27                    targetNamespace = "http://www.webserviceX.NET/") 
28  public class StockQuote extends Service {
29  
30      public final static URL WSDL_LOCATION;
31      public final static QName SERVICE = new QName("http://www.webserviceX.NET/", "StockQuote");
32      public final static QName StockQuoteHttpPost = new QName("http://www.webserviceX.NET/", "StockQuoteHttpPost");
33      public final static QName StockQuoteSoap = new QName("http://www.webserviceX.NET/", "StockQuoteSoap");
34      public final static QName StockQuoteSoap12 = new QName("http://www.webserviceX.NET/", "StockQuoteSoap12");
35      public final static QName StockQuoteHttpGet = new QName("http://www.webserviceX.NET/", "StockQuoteHttpGet");
36      static {
37          URL url = null;
38          try {
39              url = new URL("file:stockquote.wsdl");
40          } catch (MalformedURLException e) {
41              System.err.println("Can not initialize the default wsdl from file:stockquote.wsdl");
42              // e.printStackTrace();
43          }
44          WSDL_LOCATION = url;
45      }
46  
47      public StockQuote(URL wsdlLocation) {
48          super(wsdlLocation, SERVICE);
49      }
50  
51      public StockQuote(URL wsdlLocation, QName serviceName) {
52          super(wsdlLocation, serviceName);
53      }
54  
55      public StockQuote() {
56          super(WSDL_LOCATION, SERVICE);
57      }
58  
59      /**
60       * 
61       * @return
62       *     returns StockQuoteHttpPost
63       */
64      @WebEndpoint(name = "StockQuoteHttpPost")
65      public StockQuoteHttpPost getStockQuoteHttpPost() {
66          return super.getPort(StockQuoteHttpPost, StockQuoteHttpPost.class);
67      }
68  
69      /**
70       * 
71       * @param features
72       *     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.
73       * @return
74       *     returns StockQuoteHttpPost
75       */
76      @WebEndpoint(name = "StockQuoteHttpPost")
77      public StockQuoteHttpPost getStockQuoteHttpPost(WebServiceFeature... features) {
78          return super.getPort(StockQuoteHttpPost, StockQuoteHttpPost.class, features);
79      }
80      /**
81       * 
82       * @return
83       *     returns StockQuoteSoap
84       */
85      @WebEndpoint(name = "StockQuoteSoap")
86      public StockQuoteSoap getStockQuoteSoap() {
87          return super.getPort(StockQuoteSoap, StockQuoteSoap.class);
88      }
89  
90      /**
91       * 
92       * @param features
93       *     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.
94       * @return
95       *     returns StockQuoteSoap
96       */
97      @WebEndpoint(name = "StockQuoteSoap")
98      public StockQuoteSoap getStockQuoteSoap(WebServiceFeature... features) {
99          return super.getPort(StockQuoteSoap, StockQuoteSoap.class, features);
100     }
101     /**
102      * 
103      * @return
104      *     returns StockQuoteSoap
105      */
106     @WebEndpoint(name = "StockQuoteSoap12")
107     public StockQuoteSoap getStockQuoteSoap12() {
108         return super.getPort(StockQuoteSoap12, StockQuoteSoap.class);
109     }
110 
111     /**
112      * 
113      * @param features
114      *     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.
115      * @return
116      *     returns StockQuoteSoap
117      */
118     @WebEndpoint(name = "StockQuoteSoap12")
119     public StockQuoteSoap getStockQuoteSoap12(WebServiceFeature... features) {
120         return super.getPort(StockQuoteSoap12, StockQuoteSoap.class, features);
121     }
122     /**
123      * 
124      * @return
125      *     returns StockQuoteHttpGet
126      */
127     @WebEndpoint(name = "StockQuoteHttpGet")
128     public StockQuoteHttpGet getStockQuoteHttpGet() {
129         return super.getPort(StockQuoteHttpGet, StockQuoteHttpGet.class);
130     }
131 
132     /**
133      * 
134      * @param features
135      *     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.
136      * @return
137      *     returns StockQuoteHttpGet
138      */
139     @WebEndpoint(name = "StockQuoteHttpGet")
140     public StockQuoteHttpGet getStockQuoteHttpGet(WebServiceFeature... features) {
141         return super.getPort(StockQuoteHttpGet, StockQuoteHttpGet.class, features);
142     }
143 
144 }