File: InteropTestSoapBindingImpl.java

package info (click to toggle)
axis 1.4-25
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 51,864 kB
  • sloc: java: 129,119; xml: 10,573; jsp: 983; sh: 84; cs: 36; makefile: 26
file content (192 lines) | stat: -rw-r--r-- 7,043 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
/**
 * InteropTestSoapBindingImpl.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis Wsdl2java emitter.
 *
 * And then it was hand modified to echo
 * the arguments back to the caller.
 */

package samples.echo;

import org.apache.axis.MessageContext;

public class InteropTestSoapBindingImpl implements samples.echo.InteropTestPortType {
    public java.lang.String echoString(java.lang.String inputString) throws java.rmi.RemoteException {
        MessageContext.getCurrentContext().setProperty(echoHeaderStringHandler.ECHOHEADER_STRING_ID, "header text");
        return inputString;
    }

    public java.lang.String[] echoStringArray(java.lang.String[] inputStringArray) throws java.rmi.RemoteException {
        return inputStringArray;
    }

    public int echoInteger(int inputInteger) throws java.rmi.RemoteException {
        return inputInteger;
    }

    public int[] echoIntegerArray(int[] inputIntegerArray) throws java.rmi.RemoteException {
        return inputIntegerArray;
    }

    public float echoFloat(float inputFloat) throws java.rmi.RemoteException {
        return inputFloat;
    }

    public float[] echoFloatArray(float[] inputFloatArray) throws java.rmi.RemoteException {
        return inputFloatArray;
    }

    public samples.echo.SOAPStruct echoStruct(samples.echo.SOAPStruct inputStruct) throws java.rmi.RemoteException {
        return inputStruct;
    }

    public samples.echo.SOAPStruct[] echoStructArray(samples.echo.SOAPStruct[] inputStructArray) throws java.rmi.RemoteException {
        return inputStructArray;
    }

    public void echoVoid() throws java.rmi.RemoteException {
    }

    public byte[] echoBase64(byte[] inputBase64) throws java.rmi.RemoteException {
        return inputBase64;
    }

    public java.util.Calendar echoDate(java.util.Calendar inputDate) throws java.rmi.RemoteException {
        return inputDate;
    }

    public byte[] echoHexBinary(byte[] inputHexBinary) throws java.rmi.RemoteException {
        return inputHexBinary;
    }

    public java.math.BigDecimal echoDecimal(java.math.BigDecimal inputDecimal) throws java.rmi.RemoteException {
        return inputDecimal;
    }

    public boolean echoBoolean(boolean inputBoolean) throws java.rmi.RemoteException {
        return inputBoolean;
    }

    public void echoStructAsSimpleTypes(samples.echo.SOAPStruct inputStruct, javax.xml.rpc.holders.StringHolder outputString, javax.xml.rpc.holders.IntHolder outputInteger, javax.xml.rpc.holders.FloatHolder outputFloat) throws java.rmi.RemoteException {
        outputString.value = inputStruct.getVarString() ;
        outputInteger.value = inputStruct.getVarInt() ;
        outputFloat.value = inputStruct.getVarFloat() ;
    }

    public samples.echo.SOAPStruct echoSimpleTypesAsStruct(java.lang.String inputString, int inputInteger, float inputFloat) throws java.rmi.RemoteException {
        samples.echo.SOAPStruct s = new samples.echo.SOAPStruct();
        s.setVarInt(inputInteger);
        s.setVarString(inputString);
        s.setVarFloat(inputFloat);
        return s;
    }

    public java.lang.String[][] echo2DStringArray(java.lang.String[][] input2DStringArray) throws java.rmi.RemoteException {
        return input2DStringArray;
    }

    public samples.echo.SOAPStructStruct echoNestedStruct(samples.echo.SOAPStructStruct inputStruct) throws java.rmi.RemoteException {
        return inputStruct;
    }

    public samples.echo.SOAPArrayStruct echoNestedArray(samples.echo.SOAPArrayStruct inputStruct) throws java.rmi.RemoteException {
        return inputStruct;
    }

    /**
     * This method accepts a Map and echoes it back to the client.
     */
    public java.util.HashMap echoMap(java.util.HashMap input) {
        return input;
    }

    /**
     * This method accepts an array of Maps and echoes it back to the client.
     */
    public java.util.HashMap [] echoMapArray(java.util.HashMap[] input) {
        return input;
    }

    /**
     * This method accepts a Token (xsd:token) and echoes it back to the client.
     */
    public org.apache.axis.types.Token echoToken(org.apache.axis.types.Token input) throws java.rmi.RemoteException {
        return input;
    }

    /**
     * This method accepts a NormalizedString (xsd:normalizedString) and echoes
     * it back to the client.
     */
    public org.apache.axis.types.NormalizedString echoNormalizedString(org.apache.axis.types.NormalizedString input) throws java.rmi.RemoteException {
        return input;
    }

        /**
         * This method accepts a UnsignedLong (xsd:unsignedLong) and echoes
         * it back to the client.
         */
    public org.apache.axis.types.UnsignedLong echoUnsignedLong(org.apache.axis.types.UnsignedLong input) throws java.rmi.RemoteException {
            return input;
        }

        /**
         * This method accepts a UnsignedInt (xsd:unsignedInt) and echoes
         * it back to the client.
         */
    public org.apache.axis.types.UnsignedInt echoUnsignedInt(org.apache.axis.types.UnsignedInt input) throws java.rmi.RemoteException {
            return input;
        }

        /**
         * This method accepts a UnsignedShort (xsd:unsignedShort) and echoes
         * it back to the client.
         */
    public org.apache.axis.types.UnsignedShort echoUnsignedShort(org.apache.axis.types.UnsignedShort input) throws java.rmi.RemoteException {
            return input;
        }

        /**
         * This method accepts a UnsignedByte (xsd:unsignedByte) and echoes
         * it back to the client.
         */
    public org.apache.axis.types.UnsignedByte echoUnsignedByte(org.apache.axis.types.UnsignedByte input) throws java.rmi.RemoteException {
            return input;
        }

    /**
     * This method accepts a NonNegativeInteger (xsd:nonNegativeInteger) and echoes
     * it back to the client.
     */
    public org.apache.axis.types.NonNegativeInteger echoNonNegativeInteger(org.apache.axis.types.NonNegativeInteger input) throws java.rmi.RemoteException {
            return input;
        }
        
    /**
     * This method accepts a PositiveInteger (xsd:positiveInteger) and echoes
     * it back to the client.
     */
    public org.apache.axis.types.PositiveInteger echoPositiveInteger(org.apache.axis.types.PositiveInteger input) throws java.rmi.RemoteException {
            return input;
        }

    /**
     * This method accepts a NonPositiveInteger (xsd:nonPositiveInteger) and echoes
     * it back to the client.
     */
    public org.apache.axis.types.NonPositiveInteger echoNonPositiveInteger(org.apache.axis.types.NonPositiveInteger input) throws java.rmi.RemoteException {
            return input;
        }

    /**
     * This method accepts a NegativeInteger (xsd:negativeInteger) and echoes
     * it back to the client.
     */
    public org.apache.axis.types.NegativeInteger echoNegativeInteger(org.apache.axis.types.NegativeInteger input) throws java.rmi.RemoteException {
            return input;
        }


}