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