1
2
3
4
5
6
7
8
9
10
11 package net.webservicex;
12
13 import javax.jws.WebMethod;
14 import javax.jws.WebParam;
15 import javax.jws.WebResult;
16 import javax.jws.WebService;
17 import javax.xml.bind.annotation.XmlSeeAlso;
18 import javax.xml.ws.RequestWrapper;
19 import javax.xml.ws.ResponseWrapper;
20
21
22
23
24
25
26
27
28 @WebService(targetNamespace = "http://www.webserviceX.NET/", name = "StockQuoteSoap")
29 @XmlSeeAlso({ObjectFactory.class})
30 public interface StockQuoteSoap {
31
32 @ResponseWrapper(localName = "GetQuoteResponse", targetNamespace = "http://www.webserviceX.NET/", className = "net.webservicex.GetQuoteResponse")
33 @RequestWrapper(localName = "GetQuote", targetNamespace = "http://www.webserviceX.NET/", className = "net.webservicex.GetQuote")
34 @WebResult(name = "GetQuoteResult", targetNamespace = "http://www.webserviceX.NET/")
35 @WebMethod(operationName = "GetQuote", action = "http://www.webserviceX.NET/GetQuote")
36 public java.lang.String getQuote(
37 @WebParam(name = "symbol", targetNamespace = "http://www.webserviceX.NET/")
38 java.lang.String symbol
39 );
40 }