01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one
03: * or more contributor license agreements. See the NOTICE file
04: * distributed with this work for additional information
05: * regarding copyright ownership. The ASF licenses this file
06: * to you under the Apache License, Version 2.0 (the
07: * "License"); you may not use this file except in compliance
08: * with the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing,
13: * software distributed under the License is distributed on an
14: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15: * KIND, either express or implied. See the License for the
16: * specific language governing permissions and limitations
17: * under the License.
18: */
19: package org.apache.axis2.jaxws.jaxb.stockquote;
20:
21: import java.net.MalformedURLException;
22: import java.net.URL;
23:
24: import javax.xml.namespace.QName;
25: import javax.xml.ws.Service;
26: import javax.xml.ws.WebEndpoint;
27: import javax.xml.ws.WebServiceClient;
28:
29: /**
30: * This class was generated by the JAXWS SI.
31: * JAX-WS RI 2.0_01-b15-fcs
32: * Generated source version: 2.0
33: *
34: */
35: @WebServiceClient(name="StockQuote",targetNamespace="http://org/apache/axis2/jaxws/test",wsdlLocation="StockQuote.wsdl")
36: public class StockQuote extends Service {
37:
38: private final static URL STOCKQUOTE_WSDL_LOCATION;
39:
40: static {
41: URL url = null;
42: try {
43: url = new URL(
44: "http://org/apache/axis2/jaxws/test/StockQuote.wsdl");
45: } catch (MalformedURLException e) {
46: e.printStackTrace();
47: }
48: STOCKQUOTE_WSDL_LOCATION = url;
49: }
50:
51: public StockQuote(URL wsdlLocation, QName serviceName) {
52: super (wsdlLocation, serviceName);
53: }
54:
55: public StockQuote() {
56: super (STOCKQUOTE_WSDL_LOCATION, new QName(
57: "http://org/apache/axis2/jaxws/test", "StockQuote"));
58: }
59:
60: /**
61: *
62: * @return
63: * returns StockQuoteIF
64: */
65: @WebEndpoint(name="StockQuotePort")
66: public StockQuoteIF getStockQuotePort() {
67: return (StockQuoteIF) super .getPort(
68: new QName("http://org/apache/axis2/jaxws/test",
69: "StockQuotePort"), StockQuoteIF.class);
70: }
71:
72: }
|