1 /* 2 * JBoss, Home of Professional Open Source 3 * Copyright 2005, JBoss Inc., and individual contributors as indicated 4 * by the @authors tag. See the copyright.txt in the distribution for a 5 * full listing of individual contributors. 6 * 7 * This is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU Lesser General Public License as 9 * published by the Free Software Foundation; either version 2.1 of 10 * the License, or (at your option) any later version. 11 * 12 * This software is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this software; if not, write to the Free 19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 */ 22 package org.jboss.test.webservice.marshalltest; 23 24 import java.math.BigDecimal; 25 import java.math.BigInteger; 26 import java.rmi.RemoteException; 27 import java.util.Calendar; 28 import java.util.Date; 29 30 import javax.ejb.EJBObject; 31 import javax.xml.namespace.QName; 32 33 import org.jboss.test.webservice.marshalltest.types.Bean; 34 35 public interface MarshallEndpointRemote extends EJBObject 36 { 37 public String echoString(String v) throws RemoteException; 38 39 public BigInteger echoInteger(BigInteger v) throws RemoteException; 40 41 public int echoInt(int v) throws RemoteException; 42 43 public long echoLong(long v) throws RemoteException; 44 45 public short echoShort(short v) throws RemoteException; 46 47 public BigDecimal echoDecimal(BigDecimal v) throws RemoteException; 48 49 public float echoFloat(float v) throws RemoteException; 50 51 public double echoDouble(double v) throws RemoteException; 52 53 public boolean echoBoolean(boolean v) throws RemoteException; 54 55 public byte echoByte(byte v) throws RemoteException; 56 57 public QName echoQName(QName v) throws RemoteException; 58 59 public Calendar echoDateTimeCalendar(Calendar v) throws RemoteException; 60 61 public Date echoDateTimeDate(Date v) throws RemoteException; 62 63 public Calendar echoDateCalendar(Calendar v) throws RemoteException; 64 65 public Date echoDateDate(Date v) throws RemoteException; 66 67 public byte[] echoBase64Binary(byte[] v) throws RemoteException; 68 69 public byte[] echoHexBinary(byte[] v) throws RemoteException; 70 71 public Bean echoBean(Bean bean) throws RemoteException; 72 73 public String[] echoStringArray(String[] v) throws RemoteException; 74 75 public BigInteger[] echoIntegerArray(BigInteger[] v) throws RemoteException; 76 77 public int[] echoIntArray(int[] v) throws RemoteException; 78 79 public long[] echoLongArray(long[] v) throws RemoteException; 80 81 public short[] echoShortArray(short[] v) throws RemoteException; 82 83 public BigDecimal[] echoDecimalArray(BigDecimal[] v) throws RemoteException; 84 85 public float[] echoFloatArray(float[] v) throws RemoteException; 86 87 public double[] echoDoubleArray(double[] v) throws RemoteException; 88 89 public boolean[] echoBooleanArray(boolean[] v) throws RemoteException; 90 91 public byte[] echoByteArray(byte[] v) throws RemoteException; 92 93 public QName[] echoQNameArray(QName[] v) throws RemoteException; 94 95 public Calendar[] echoDateTimeArray(Calendar[] v) throws RemoteException; 96 } 97