View Javadoc

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