1 10 11 package samples.echo; 12 13 import org.apache.axis.MessageContext; 14 15 public class InteropTestSoapBindingImpl implements samples.echo.InteropTestPortType { 16 public java.lang.String echoString(java.lang.String inputString) throws java.rmi.RemoteException { 17 MessageContext.getCurrentContext().setProperty(echoHeaderStringHandler.ECHOHEADER_STRING_ID, "header text"); 18 return inputString; 19 } 20 21 public java.lang.String [] echoStringArray(java.lang.String [] inputStringArray) throws java.rmi.RemoteException { 22 return inputStringArray; 23 } 24 25 public int echoInteger(int inputInteger) throws java.rmi.RemoteException { 26 return inputInteger; 27 } 28 29 public int[] echoIntegerArray(int[] inputIntegerArray) throws java.rmi.RemoteException { 30 return inputIntegerArray; 31 } 32 33 public float echoFloat(float inputFloat) throws java.rmi.RemoteException { 34 return inputFloat; 35 } 36 37 public float[] echoFloatArray(float[] inputFloatArray) throws java.rmi.RemoteException { 38 return inputFloatArray; 39 } 40 41 public samples.echo.SOAPStruct echoStruct(samples.echo.SOAPStruct inputStruct) throws java.rmi.RemoteException { 42 return inputStruct; 43 } 44 45 public samples.echo.SOAPStruct[] echoStructArray(samples.echo.SOAPStruct[] inputStructArray) throws java.rmi.RemoteException { 46 return inputStructArray; 47 } 48 49 public void echoVoid() throws java.rmi.RemoteException { 50 } 51 52 public byte[] echoBase64(byte[] inputBase64) throws java.rmi.RemoteException { 53 return inputBase64; 54 } 55 56 public java.util.Calendar echoDate(java.util.Calendar inputDate) throws java.rmi.RemoteException { 57 return inputDate; 58 } 59 60 public byte[] echoHexBinary(byte[] inputHexBinary) throws java.rmi.RemoteException { 61 return inputHexBinary; 62 } 63 64 public java.math.BigDecimal echoDecimal(java.math.BigDecimal inputDecimal) throws java.rmi.RemoteException { 65 return inputDecimal; 66 } 67 68 public boolean echoBoolean(boolean inputBoolean) throws java.rmi.RemoteException { 69 return inputBoolean; 70 } 71 72 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 { 73 outputString.value = inputStruct.getVarString() ; 74 outputInteger.value = inputStruct.getVarInt() ; 75 outputFloat.value = inputStruct.getVarFloat() ; 76 } 77 78 public samples.echo.SOAPStruct echoSimpleTypesAsStruct(java.lang.String inputString, int inputInteger, float inputFloat) throws java.rmi.RemoteException { 79 samples.echo.SOAPStruct s = new samples.echo.SOAPStruct(); 80 s.setVarInt(inputInteger); 81 s.setVarString(inputString); 82 s.setVarFloat(inputFloat); 83 return s; 84 } 85 86 public java.lang.String [][] echo2DStringArray(java.lang.String [][] input2DStringArray) throws java.rmi.RemoteException { 87 return input2DStringArray; 88 } 89 90 public samples.echo.SOAPStructStruct echoNestedStruct(samples.echo.SOAPStructStruct inputStruct) throws java.rmi.RemoteException { 91 return inputStruct; 92 } 93 94 public samples.echo.SOAPArrayStruct echoNestedArray(samples.echo.SOAPArrayStruct inputStruct) throws java.rmi.RemoteException { 95 return inputStruct; 96 } 97 98 101 public java.util.HashMap echoMap(java.util.HashMap input) { 102 return input; 103 } 104 105 108 public java.util.HashMap [] echoMapArray(java.util.HashMap [] input) { 109 return input; 110 } 111 112 115 public org.apache.axis.types.Token echoToken(org.apache.axis.types.Token input) throws java.rmi.RemoteException { 116 return input; 117 } 118 119 123 public org.apache.axis.types.NormalizedString echoNormalizedString(org.apache.axis.types.NormalizedString input) throws java.rmi.RemoteException { 124 return input; 125 } 126 127 131 public org.apache.axis.types.UnsignedLong echoUnsignedLong(org.apache.axis.types.UnsignedLong input) throws java.rmi.RemoteException { 132 return input; 133 } 134 135 139 public org.apache.axis.types.UnsignedInt echoUnsignedInt(org.apache.axis.types.UnsignedInt input) throws java.rmi.RemoteException { 140 return input; 141 } 142 143 147 public org.apache.axis.types.UnsignedShort echoUnsignedShort(org.apache.axis.types.UnsignedShort input) throws java.rmi.RemoteException { 148 return input; 149 } 150 151 155 public org.apache.axis.types.UnsignedByte echoUnsignedByte(org.apache.axis.types.UnsignedByte input) throws java.rmi.RemoteException { 156 return input; 157 } 158 159 163 public org.apache.axis.types.NonNegativeInteger echoNonNegativeInteger(org.apache.axis.types.NonNegativeInteger input) throws java.rmi.RemoteException { 164 return input; 165 } 166 167 171 public org.apache.axis.types.PositiveInteger echoPositiveInteger(org.apache.axis.types.PositiveInteger input) throws java.rmi.RemoteException { 172 return input; 173 } 174 175 179 public org.apache.axis.types.NonPositiveInteger echoNonPositiveInteger(org.apache.axis.types.NonPositiveInteger input) throws java.rmi.RemoteException { 180 return input; 181 } 182 183 187 public org.apache.axis.types.NegativeInteger echoNegativeInteger(org.apache.axis.types.NegativeInteger input) throws java.rmi.RemoteException { 188 return input; 189 } 190 191 192 } 193 | Popular Tags |