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.Remote; 27 import java.rmi.RemoteException; 28 import java.util.Calendar; 29 import java.util.Date; 30 31 import javax.xml.namespace.QName; 32 33 import org.jboss.test.webservice.marshalltest.types.Bean; 34 35 /** 36 * Service endpoint interface for the marshall test. 37 */ 38 public interface MarshallEndpoint extends Remote 39 { 40 public String echoString(String v) throws RemoteException; 41 42 public BigInteger echoInteger(BigInteger v) throws RemoteException; 43 44 public int echoInt(int v) throws RemoteException; 45 46 public long echoLong(long v) throws RemoteException; 47 48 public short echoShort(short v) throws RemoteException; 49 50 public BigDecimal echoDecimal(BigDecimal v) throws RemoteException; 51 52 public float echoFloat(float v) throws RemoteException; 53 54 public double echoDouble(double v) throws RemoteException; 55 56 public boolean echoBoolean(boolean v) throws RemoteException; 57 58 public byte echoByte(byte v) throws RemoteException; 59 60 public QName echoQName(QName v) throws RemoteException; 61 62 public Calendar echoDateTimeCalendar(Calendar v) throws RemoteException; 63 64 public Date echoDateTimeDate(Date v) throws RemoteException; 65 66 public Calendar echoDateCalendar(Calendar v) throws RemoteException; 67 68 public Date echoDateDate(Date v) throws RemoteException; 69 70 public byte[] echoBase64Binary(byte[] v) throws RemoteException; 71 72 public byte[] echoHexBinary(byte[] v) throws RemoteException; 73 74 public Bean echoBean(Bean bean) throws RemoteException; 75 76 public String[] echoStringArray(String[] v) throws RemoteException; 77 78 public BigInteger[] echoIntegerArray(BigInteger[] v) throws RemoteException; 79 80 public int[] echoIntArray(int[] v) throws RemoteException; 81 82 public long[] echoLongArray(long[] v) throws RemoteException; 83 84 public short[] echoShortArray(short[] v) throws RemoteException; 85 86 public BigDecimal[] echoDecimalArray(BigDecimal[] v) throws RemoteException; 87 88 public float[] echoFloatArray(float[] v) throws RemoteException; 89 90 public double[] echoDoubleArray(double[] v) throws RemoteException; 91 92 public boolean[] echoBooleanArray(boolean[] v) throws RemoteException; 93 94 public byte[] echoByteArray(byte[] v) throws RemoteException; 95 96 public QName[] echoQNameArray(QName[] v) throws RemoteException; 97 98 public Calendar[] echoDateTimeArray(Calendar[] v) throws RemoteException; 99 } 100