001: /*
002: * To change this template, choose Tools | Templates
003: * and open the template in the editor.
004: */
005:
006: package forwsclient;
007:
008: import javax.jws.WebMethod;
009: import javax.jws.WebParam;
010: import javax.jws.WebService;
011:
012: /**
013: *
014: * @author Lukas
015: */
016: @WebService()
017: public class EchoWS_forWSClient {
018: /**
019: * Web service operation
020: */
021: @WebMethod(operationName="getString")
022: public String getString(@WebParam(name="parameter")
023: String parameter) {
024: return parameter;
025: }
026:
027: @WebMethod(operationName="getInt")
028: public int getInt(@WebParam(name="parameter")
029: int parameter) {
030: return parameter;
031: }
032:
033: // @WebMethod(operationName = "getIntegerWrapper")
034: // public Integer getInteger(@WebParam(name = "parameter")
035: // Integer parameter) {
036: // return parameter;
037: // }
038:
039: @WebMethod(operationName="getLong")
040: public long getLong(@WebParam(name="parameter")
041: long parameter) {
042: return parameter;
043: }
044:
045: @WebMethod(operationName="getLongWrapper")
046: public Long getLongWrapper(@WebParam(name="parameter")
047: Long parameter) {
048: return parameter;
049: }
050:
051: @WebMethod(operationName="getShortWrapper")
052: public Short getShortWrapper(@WebParam(name="parameter")
053: Short parameter) {
054: return parameter;
055: }
056:
057: @WebMethod(operationName="getShort")
058: public short getShort(@WebParam(name="parameter")
059: short parameter) {
060: return parameter;
061: }
062:
063: @WebMethod(operationName="getBoolean")
064: public boolean getBoolean(@WebParam(name="parameter")
065: boolean parameter) {
066: return parameter;
067: }
068:
069: @WebMethod(operationName="getBooleanWrapper")
070: public Boolean getBooleanWrapper(@WebParam(name="parameter")
071: Boolean parameter) {
072: return parameter;
073: }
074:
075: @WebMethod(operationName="getFloat")
076: public float getFloat(@WebParam(name="parameter")
077: float parameter) {
078: return parameter;
079: }
080:
081: @WebMethod(operationName="getFloatWrapper")
082: public Float getFloatWrapper(@WebParam(name="parameter")
083: Float parameter) {
084: return parameter;
085: }
086:
087: @WebMethod(operationName="getDouble")
088: public double getDouble(@WebParam(name="parameter")
089: double parameter) {
090: return parameter;
091: }
092:
093: @WebMethod(operationName="getDoubleWrapper")
094: public Double getDoubleWrapper(@WebParam(name="parameter")
095: Double parameter) {
096: return parameter;
097: }
098:
099: // @WebMethod(operationName = "getQName")
100: // public javax.xml.namespace.QName getQName(@WebParam(name = "parameter") javax.xml.namespace.QName parameter) {
101: // return parameter;
102: // }
103:
104: @WebMethod(operationName="getByte")
105: public byte getByte(@WebParam(name="parameter")
106: byte parameter) {
107: return parameter;
108: }
109:
110: @WebMethod(operationName="getByteWrapper")
111: public Byte getByteWrapper(@WebParam(name="parameter")
112: Byte parameter) {
113: return parameter;
114: }
115: }
|