tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r662395 [1/3] - in /incubator/tuscany/java/sca/modules/binding-corba/src/test/java: ./ org/ org/apache/ org/apache/tuscany/ org/apache/tuscany/sca/ org/apache/tuscany/sca/binding/ org/apache/tuscany/sca/binding/corba/ org/apache/tuscany/sca...
Date Mon, 02 Jun 2008 11:17:35 GMT
Author: antelder
Date: Mon Jun  2 04:17:33 2008
New Revision: 662395

URL: http://svn.apache.org/viewvc?rev=662395&view=rev
Log:
TUSCANY-2357: Apply patch from Wojtek Janiszewski for CORBA objects invocation mechanism

Added:
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaTypesTestCase.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/TestConstants.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterOperations.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetter.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterOperations.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObject.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectOperations.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStruct.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStructHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStructHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStruct.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStructHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStructHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObject.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectOperations.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterImplBase.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterStub.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_PrimitivesSetterImplBase.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_PrimitivesSetterStub.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_RemoteObjectImplBase.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_RemoteObjectStub.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_TestObjectImplBase.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_TestObjectStub.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/boolean_listHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/boolean_listHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/char_listHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/char_listHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/double_listHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/double_listHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/float_listHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/float_listHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_listHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_listHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_long_listHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_long_listHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_seq1Helper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_seq1Holder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_seq2Helper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_seq2Holder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_seq3Helper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/long_seq3Holder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/octet_listHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/octet_listHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/remote_object_listHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/remote_object_listHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/short_listHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/short_listHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/string_listHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/string_listHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/unsigned_long_listHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/unsigned_long_listHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/unsigned_long_long_listHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/unsigned_long_long_listHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/unsigned_short_listHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/unsigned_short_listHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/wchar_listHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/wchar_listHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/wstring_listHelper.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/wstring_listHolder.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/SimpleStruct.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/hierarchy/SomeStruct.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/servants/
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/servants/ArraysSetterServant.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/servants/PrimitivesSetterServant.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/servants/TestObjectServant.java
    incubator/tuscany/java/sca/modules/binding-corba/src/test/java/tester.idl

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaTypesTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaTypesTestCase.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaTypesTestCase.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaTypesTestCase.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,368 @@
+package org.apache.tuscany.sca.binding.corba.testing;
+
+import java.lang.reflect.Array;
+
+import junit.framework.TestCase;
+
+import org.apache.tuscany.sca.binding.corba.impl.reference.DynaCorbaRequest;
+import org.apache.tuscany.sca.binding.corba.impl.reference.DynaCorbaResponse;
+import org.apache.tuscany.sca.binding.corba.testing.hierarchy.SimpleStruct;
+import org.apache.tuscany.sca.binding.corba.testing.hierarchy.SomeStruct;
+import org.apache.tuscany.sca.binding.corba.testing.servants.ArraysSetterServant;
+import org.apache.tuscany.sca.binding.corba.testing.servants.TestObjectServant;
+import org.apache.tuscany.sca.binding.corba.testing.servants.PrimitivesSetterServant;
+import org.omg.CORBA.ORB;
+import org.omg.CORBA.Object;
+import org.omg.CosNaming.NameComponent;
+import org.omg.CosNaming.NamingContext;
+import org.omg.CosNaming.NamingContextExt;
+import org.omg.CosNaming.NamingContextExtHelper;
+import org.omg.CosNaming.NamingContextHelper;
+
+public class CorbaTypesTestCase extends TestCase {
+
+	private Process tnameservProcess;
+	private Object refPrimitivesSetter;
+	private Object refArraysSetter;
+	private Object refTestObject;
+
+	/**
+	 * Spawns tnameserv process (must be in PATH). Initializes test servants and
+	 * stores it's references so tests can use it.
+	 */
+	public void setUp() {
+		try {
+			String[] args = { "-ORBInitialPort", "11100" };
+
+			tnameservProcess = Runtime.getRuntime().exec(
+					"tnameserv " + args[0] + " " + args[1]);
+
+			try {
+				// let the tnameserv have time to start
+				Thread.sleep(TestConstants.TNAMESERV_SPAWN_WAIT);
+			} catch (Exception e) {
+				e.printStackTrace();
+			}
+
+			ORB orb = ORB.init(args, null);
+			Object nameService = orb.resolve_initial_references("NameService");
+			NamingContext namingContext = NamingContextHelper
+					.narrow(nameService);
+
+			PrimitivesSetterServant singleSetter = new PrimitivesSetterServant();
+			ArraysSetterServant arraysSetter = new ArraysSetterServant();
+			TestObjectServant complexObject = new TestObjectServant();
+
+			orb.connect(singleSetter);
+			orb.connect(arraysSetter);
+
+			NameComponent nc;
+			NameComponent[] path;
+
+			nc = new NameComponent("PrimitivesSetter", "");
+			path = new NameComponent[] { nc };
+			namingContext.rebind(path, singleSetter);
+
+			nc = new NameComponent("ArraysSetter", "");
+			path = new NameComponent[] { nc };
+			namingContext.rebind(path, arraysSetter);
+
+			nc = new NameComponent("TestObject", "");
+			path = new NameComponent[] { nc };
+			namingContext.rebind(path, complexObject);
+
+			NamingContextExt nce = NamingContextExtHelper.narrow(orb
+					.resolve_initial_references("NameService"));
+
+			refArraysSetter = nce.resolve(nce.to_name("ArraysSetter"));
+			refPrimitivesSetter = nce.resolve(nce.to_name("PrimitivesSetter"));
+			refTestObject = nce.resolve(nce.to_name("TestObject"));
+
+		} catch (Exception e) {
+			e.printStackTrace();
+		}
+	}
+
+	/**
+	 * Kills previously spawned tnameserv process.
+	 */
+	public void tearDown() {
+		tnameservProcess.destroy();
+		try {
+			// let the tnameserv have time to die
+			Thread.sleep(TestConstants.TNAMESERV_SPAWN_WAIT);
+		} catch (Exception e) {
+			e.printStackTrace();
+		}
+	}
+
+	/**
+	 * Tests remote operation, basing on given reference, operation name,
+	 * arguments, expected return type and content
+	 * 
+	 * @param ref
+	 *            remote object
+	 * @param operationName
+	 *            operation to invoke
+	 * @param clazz
+	 *            expected return type
+	 * @param arguments
+	 *            array of operation arguments
+	 * @param equalTo
+	 *            expected return content
+	 */
+	private void dynaTestInvoker(Object ref, String operationName,
+			Class<?> clazz, java.lang.Object[] arguments,
+			java.lang.Object equalTo) {
+
+		try {
+			DynaCorbaRequest request = new DynaCorbaRequest(ref, operationName);
+			request.setOutputType(clazz);
+			for (int i = 0; arguments != null && i < arguments.length; i++) {
+				request.addArgument(arguments[i]);
+			}
+
+			DynaCorbaResponse response = request.invoke();
+			java.lang.Object content = (java.lang.Object) response.getContent();
+			assertTrue(content.getClass().equals(clazz));
+			if (equalTo != null && equalTo.getClass().isArray()) {
+				for (int i = 0; i < Array.getLength(equalTo); i++) {
+					assertTrue(Array.get(content, i).equals(
+							Array.get(equalTo, i)));
+				}
+			} else {
+				assertTrue(content.equals(equalTo));
+			}
+		} catch (Exception e) {
+			e.printStackTrace();
+			fail("Error while invoking " + operationName);
+		}
+	}
+
+	/**
+	 * Tests passing (and getting as result) varied primitives
+	 */
+	public void test_setPrimitives() {
+
+		dynaTestInvoker(refPrimitivesSetter, "setBoolean", Boolean.class,
+				new Boolean[] { true }, true);
+		dynaTestInvoker(refPrimitivesSetter, "setOctet", Byte.class,
+				new Byte[] { 1 }, (byte) 1);
+		dynaTestInvoker(refPrimitivesSetter, "setChar", Character.class,
+				new Character[] { 'A' }, 'A');
+		dynaTestInvoker(refPrimitivesSetter, "setShort", Short.class,
+				new Short[] { 1 }, (short) 1);
+		dynaTestInvoker(refPrimitivesSetter, "setLong", Integer.class,
+				new Integer[] { 1 }, (int) 1);
+		dynaTestInvoker(refPrimitivesSetter, "setLongLong", Long.class,
+				new Long[] { (long) 1 }, (long) 1);
+		dynaTestInvoker(refPrimitivesSetter, "setFloat", Float.class,
+				new Float[] { (float) 1 }, (float) 1);
+		dynaTestInvoker(refPrimitivesSetter, "setDouble", Double.class,
+				new Double[] { (double) 1 }, (double) 1);
+		dynaTestInvoker(refPrimitivesSetter, "setString", String.class,
+				new String[] { "1" }, "1");
+
+	}
+
+	/**
+	 * Tests passing (and getting as result) varied types sequences
+	 */
+	public void test_setArrays() {
+
+		dynaTestInvoker(refArraysSetter, "setBoolean", Boolean[].class,
+				new Boolean[][] { new Boolean[] { false, true } },
+				new Boolean[] { false, true });
+
+		dynaTestInvoker(refArraysSetter, "setChar", Character[].class,
+				new Character[][] { new Character[] { 'A', 'B' } },
+				new Character[] { 'A', 'B' });
+
+		dynaTestInvoker(refArraysSetter, "setOctet", Byte[].class,
+				new Byte[][] { new Byte[] { 1, 2 } }, new Byte[] { 1, 2 });
+
+		dynaTestInvoker(refArraysSetter, "setShort", Short[].class,
+				new Short[][] { new Short[] { 1, 2 } }, new Short[] { 1, 2 });
+
+		dynaTestInvoker(refArraysSetter, "setLong", Integer[].class,
+				new Integer[][] { new Integer[] { 1, 2 } }, new Integer[] { 1,
+						2 });
+
+		dynaTestInvoker(refArraysSetter, "setLongLong", Long[].class,
+				new Long[][] { new Long[] { new Long(1), new Long(2) } },
+				new Long[] { new Long(1), new Long(2) });
+
+		dynaTestInvoker(
+				refArraysSetter,
+				"setFloat",
+				Float[].class,
+				new Float[][] { new Float[] { new Float(1.0), new Float(2.0) } },
+				new Float[] { new Float(1.0), new Float(2.0) });
+
+		dynaTestInvoker(refArraysSetter, "setDouble", Double[].class,
+				new Double[][] { new Double[] { new Double(1.0),
+						new Double(2.0) } }, new Double[] { new Double(1.0),
+						new Double(2.0) });
+
+		dynaTestInvoker(refArraysSetter, "setString", String[].class,
+				new String[][] { new String[] { "A", "B" } }, new String[] {
+						"A", "B" });
+
+	}
+
+	/**
+	 * Tests passing (and getting as result) complex structure
+	 */
+	public void test_TestObject_setStruct() {
+		DynaCorbaRequest request = new DynaCorbaRequest(refTestObject,
+				"setStruct");
+
+		SomeStruct struct = new SomeStruct();
+		SimpleStruct inner = new SimpleStruct();
+		inner.field1 = TestConstants.STR_1;
+		inner.field2 = TestConstants.INT_1;
+		struct.innerStruct = inner;
+		struct.str_list = TestConstants.STR_ARR_2;
+		struct.twoDimSeq = TestConstants.INT_ARRAY_2_DIM;
+		struct.threeDimSeq = TestConstants.INT_ARRAY_3_DIM;
+		struct.str = TestConstants.STR_1;
+
+		request.addArgument(struct);
+		request.setOutputType(SomeStruct.class);
+
+		try {
+			DynaCorbaResponse response = request.invoke();
+			SomeStruct result = (SomeStruct) response.getContent();
+			int sum = 0;
+			for (int i = 0; i < result.twoDimSeq.length; i++) {
+				for (int j = 0; j < result.twoDimSeq[i].length; j++) {
+					sum++;
+					assertEquals(TestConstants.INT_ARRAY_2_DIM[i][j],
+							result.twoDimSeq[i][j]);
+				}
+			}
+			sum = 0;
+			for (int i = 0; i < result.threeDimSeq.length; i++) {
+				for (int j = 0; j < result.threeDimSeq[i].length; j++) {
+					for (int k = 0; k < result.threeDimSeq[i][j].length; k++) {
+						sum++;
+						assertEquals(TestConstants.INT_ARRAY_3_DIM[i][j][k],
+								result.threeDimSeq[i][j][k]);
+					}
+				}
+			}
+			assertEquals(TestConstants.STR_1, result.str);
+			assertEquals(TestConstants.STR_ARR_2[0], result.str_list[0]);
+			assertEquals(TestConstants.STR_ARR_2[1], result.str_list[1]);
+			assertEquals(TestConstants.STR_1, result.innerStruct.field1);
+			assertEquals(TestConstants.INT_1, result.innerStruct.field2);
+		} catch (Exception e) {
+			e.printStackTrace();
+			fail("Exception occured during tests: " + e);
+		}
+	}
+
+	/**
+	 * Test passing (and getting as result) simple two-field structure
+	 */
+	public void test_TestObject_setSimpleStruct() {
+		SimpleStruct struct = new SimpleStruct();
+		struct.field1 = TestConstants.STR_1;
+		struct.field2 = TestConstants.INT_1;
+		DynaCorbaRequest request = new DynaCorbaRequest(refTestObject,
+				"setSimpleStruct");
+		request.setOutputType(SimpleStruct.class);
+		request.addArgument(struct);
+		try {
+			DynaCorbaResponse response = request.invoke();
+			SimpleStruct retStruct = (SimpleStruct) response.getContent();
+			assertTrue(retStruct.field1.equals(struct.field1)
+					&& retStruct.field2 == struct.field2);
+		} catch (Exception e) {
+			e.printStackTrace();
+			fail("Exception occured during tests: " + e);
+		}
+	}
+
+	/**
+	 * Tests passing (and getting as result) two dim. sequence of long.
+	 */
+	public void test_TestObject_setLongSeq2() {
+		int[][] arr1 = new int[2][2];
+		for (int i = 0; i < 2; i++) {
+			for (int j = 0; j < 2; j++) {
+				arr1[i][j] = (int) (Math.random() * 1000);
+			}
+		}
+		DynaCorbaRequest request = new DynaCorbaRequest(refTestObject,
+				"setLongSeq2");
+		request.setOutputType(arr1.getClass());
+		request.addArgument(arr1);
+		try {
+			DynaCorbaResponse response = request.invoke();
+			int[][] arr2 = (int[][]) response.getContent();
+			for (int i = 0; i < 2; i++) {
+				for (int j = 0; j < 2; j++) {
+					assertEquals(arr1[i][j], arr2[i][j]);
+				}
+			}
+		} catch (Exception e) {
+			e.printStackTrace();
+			fail("Exception occured during tests: " + e);
+		}
+	}
+
+	/**
+	 * Tests passing multiple complex attributes.
+	 */
+	public void test_TestObject_pickStructFromArgs() {
+		SomeStruct arg1 = new SomeStruct();
+		SomeStruct arg2 = new SomeStruct();
+		SomeStruct arg3 = new SomeStruct();
+
+		SimpleStruct inner = new SimpleStruct();
+		inner.field1 = TestConstants.STR_1;
+		inner.field2 = TestConstants.INT_1;
+
+		arg1.innerStruct = inner;
+		arg2.innerStruct = inner;
+		arg3.innerStruct = inner;
+
+		arg1.str = TestConstants.STR_1;
+		arg2.str = TestConstants.STR_2;
+		arg3.str = TestConstants.STR_3;
+
+		arg1.str_list = TestConstants.STR_ARR_1;
+		arg2.str_list = TestConstants.STR_ARR_2;
+		arg3.str_list = TestConstants.STR_ARR_2;
+
+		arg1.threeDimSeq = TestConstants.INT_ARRAY_3_DIM;
+		arg2.threeDimSeq = TestConstants.INT_ARRAY_3_DIM;
+		arg3.threeDimSeq = TestConstants.INT_ARRAY_3_DIM;
+
+		arg1.twoDimSeq = TestConstants.INT_ARRAY_2_DIM;
+		arg2.twoDimSeq = TestConstants.INT_ARRAY_2_DIM;
+		arg3.twoDimSeq = TestConstants.INT_ARRAY_2_DIM;
+
+		DynaCorbaRequest request = new DynaCorbaRequest(refTestObject,
+				"pickStructFromArgs");
+		request.setOutputType(SomeStruct.class);
+		request.addArgument(arg1);
+		request.addArgument(arg2);
+		request.addArgument(arg3);
+		request.addArgument(1);
+		try {
+
+			DynaCorbaResponse response = request.invoke();
+			SomeStruct result = (SomeStruct) response.getContent();
+
+			// just make sure that servant returned right structure
+			assertTrue(result.str.equals(TestConstants.STR_1));
+		} catch (Exception e) {
+			fail("Exception occured during tests " + e);
+			e.printStackTrace();
+		}
+
+	}
+
+}

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/TestConstants.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/TestConstants.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/TestConstants.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/TestConstants.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,18 @@
+package org.apache.tuscany.sca.binding.corba.testing;
+
+public class TestConstants {
+
+	public static final String STR_1 = "Hello world!";
+	public static final String STR_2 = "2nd string";
+	public static final String STR_3 = "Other string";
+	public static final String[] STR_ARR_1 = { "Hello", "World" };
+	public static final String[] STR_ARR_2 = { "Another", "string", "array" };
+	public static final int INT_1 = 0;
+
+	public static final int[][] INT_ARRAY_2_DIM = { { 1, 2 }, { 3, 4 } };
+	public static final int[][][] INT_ARRAY_3_DIM = { { { 1, 2 }, { 3, 4 } },
+			{ { 5, 6 }, { 7, 8 } } };
+
+	public static final long TNAMESERV_SPAWN_WAIT = 100;
+
+}

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,13 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/ArraysSetter.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public interface ArraysSetter extends ArraysSetterOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 
+{
+} // interface ArraysSetter

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterHelper.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterHelper.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterHelper.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterHelper.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,85 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/ArraysSetterHelper.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+abstract public class ArraysSetterHelper
+{
+  private static String  _id = "IDL:Tester/ArraysSetter:1.0";
+
+  public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetter that)
+  {
+    org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
+    a.type (type ());
+    write (out, that);
+    a.read_value (out.create_input_stream (), type ());
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetter extract (org.omg.CORBA.Any a)
+  {
+    return read (a.create_input_stream ());
+  }
+
+  private static org.omg.CORBA.TypeCode __typeCode = null;
+  synchronized public static org.omg.CORBA.TypeCode type ()
+  {
+    if (__typeCode == null)
+    {
+      __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetterHelper.id (), "ArraysSetter");
+    }
+    return __typeCode;
+  }
+
+  public static String id ()
+  {
+    return _id;
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetter read (org.omg.CORBA.portable.InputStream istream)
+  {
+    return narrow (istream.read_Object (_ArraysSetterStub.class));
+  }
+
+  public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetter value)
+  {
+    ostream.write_Object ((org.omg.CORBA.Object) value);
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetter narrow (org.omg.CORBA.Object obj)
+  {
+    if (obj == null)
+      return null;
+    else if (obj instanceof org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetter)
+      return (org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetter)obj;
+    else if (!obj._is_a (id ()))
+      throw new org.omg.CORBA.BAD_PARAM ();
+    else
+    {
+      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
+      org.apache.tuscany.sca.binding.corba.testing.generated._ArraysSetterStub stub = new org.apache.tuscany.sca.binding.corba.testing.generated._ArraysSetterStub ();
+      stub._set_delegate(delegate);
+      return stub;
+    }
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetter unchecked_narrow (org.omg.CORBA.Object obj)
+  {
+    if (obj == null)
+      return null;
+    else if (obj instanceof org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetter)
+      return (org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetter)obj;
+    else
+    {
+      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
+      org.apache.tuscany.sca.binding.corba.testing.generated._ArraysSetterStub stub = new org.apache.tuscany.sca.binding.corba.testing.generated._ArraysSetterStub ();
+      stub._set_delegate(delegate);
+      return stub;
+    }
+  }
+
+}

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterHolder.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterHolder.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterHolder.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterHolder.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,38 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+/**
+* Tester/ArraysSetterHolder.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public final class ArraysSetterHolder implements org.omg.CORBA.portable.Streamable
+{
+  public org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetter value = null;
+
+  public ArraysSetterHolder ()
+  {
+  }
+
+  public ArraysSetterHolder (org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetter initialValue)
+  {
+    value = initialValue;
+  }
+
+  public void _read (org.omg.CORBA.portable.InputStream i)
+  {
+    value = org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetterHelper.read (i);
+  }
+
+  public void _write (org.omg.CORBA.portable.OutputStream o)
+  {
+    org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetterHelper.write (o, value);
+  }
+
+  public org.omg.CORBA.TypeCode _type ()
+  {
+    return org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetterHelper.type ();
+  }
+
+}

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterOperations.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterOperations.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterOperations.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetterOperations.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,28 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/ArraysSetterOperations.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public interface ArraysSetterOperations 
+{
+  boolean[] setBoolean (boolean[] arg);
+  char[] setChar (char[] arg);
+  char[] setWchar (char[] arg);
+  byte[] setOctet (byte[] arg);
+  short[] setShort (short[] arg);
+  short[] setUnsignedShort (short[] arg);
+  int[] setLong (int[] arg);
+  int[] setUnsignedLong (int[] arg);
+  long[] setLongLong (long[] arg);
+  long[] setUnsignedLongLong (long[] arg);
+  float[] setFloat (float[] arg);
+  double[] setDouble (double[] arg);
+  String[] setString (String[] arg);
+  String[] setWstring (String[] arg);
+  org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject[] setRemoteObject (org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject[] obj);
+} // interface ArraysSetterOperations

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetter.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetter.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetter.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetter.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,13 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/PrimitivesSetter.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public interface PrimitivesSetter extends PrimitivesSetterOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 
+{
+} // interface PrimitivesSetter

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterHelper.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterHelper.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterHelper.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterHelper.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,85 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/PrimitivesSetterHelper.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+abstract public class PrimitivesSetterHelper
+{
+  private static String  _id = "IDL:Tester/PrimitivesSetter:1.0";
+
+  public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.binding.corba.testing.generated.PrimitivesSetter that)
+  {
+    org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
+    a.type (type ());
+    write (out, that);
+    a.read_value (out.create_input_stream (), type ());
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.PrimitivesSetter extract (org.omg.CORBA.Any a)
+  {
+    return read (a.create_input_stream ());
+  }
+
+  private static org.omg.CORBA.TypeCode __typeCode = null;
+  synchronized public static org.omg.CORBA.TypeCode type ()
+  {
+    if (__typeCode == null)
+    {
+      __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (org.apache.tuscany.sca.binding.corba.testing.generated.PrimitivesSetterHelper.id (), "PrimitivesSetter");
+    }
+    return __typeCode;
+  }
+
+  public static String id ()
+  {
+    return _id;
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.PrimitivesSetter read (org.omg.CORBA.portable.InputStream istream)
+  {
+    return narrow (istream.read_Object (_PrimitivesSetterStub.class));
+  }
+
+  public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.binding.corba.testing.generated.PrimitivesSetter value)
+  {
+    ostream.write_Object ((org.omg.CORBA.Object) value);
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.PrimitivesSetter narrow (org.omg.CORBA.Object obj)
+  {
+    if (obj == null)
+      return null;
+    else if (obj instanceof org.apache.tuscany.sca.binding.corba.testing.generated.PrimitivesSetter)
+      return (org.apache.tuscany.sca.binding.corba.testing.generated.PrimitivesSetter)obj;
+    else if (!obj._is_a (id ()))
+      throw new org.omg.CORBA.BAD_PARAM ();
+    else
+    {
+      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
+      org.apache.tuscany.sca.binding.corba.testing.generated._PrimitivesSetterStub stub = new org.apache.tuscany.sca.binding.corba.testing.generated._PrimitivesSetterStub ();
+      stub._set_delegate(delegate);
+      return stub;
+    }
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.PrimitivesSetter unchecked_narrow (org.omg.CORBA.Object obj)
+  {
+    if (obj == null)
+      return null;
+    else if (obj instanceof org.apache.tuscany.sca.binding.corba.testing.generated.PrimitivesSetter)
+      return (org.apache.tuscany.sca.binding.corba.testing.generated.PrimitivesSetter)obj;
+    else
+    {
+      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
+      org.apache.tuscany.sca.binding.corba.testing.generated._PrimitivesSetterStub stub = new org.apache.tuscany.sca.binding.corba.testing.generated._PrimitivesSetterStub ();
+      stub._set_delegate(delegate);
+      return stub;
+    }
+  }
+
+}

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterHolder.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterHolder.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterHolder.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterHolder.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,38 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+/**
+* Tester/PrimitivesSetterHolder.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public final class PrimitivesSetterHolder implements org.omg.CORBA.portable.Streamable
+{
+  public org.apache.tuscany.sca.binding.corba.testing.generated.PrimitivesSetter value = null;
+
+  public PrimitivesSetterHolder ()
+  {
+  }
+
+  public PrimitivesSetterHolder (org.apache.tuscany.sca.binding.corba.testing.generated.PrimitivesSetter initialValue)
+  {
+    value = initialValue;
+  }
+
+  public void _read (org.omg.CORBA.portable.InputStream i)
+  {
+    value = org.apache.tuscany.sca.binding.corba.testing.generated.PrimitivesSetterHelper.read (i);
+  }
+
+  public void _write (org.omg.CORBA.portable.OutputStream o)
+  {
+    org.apache.tuscany.sca.binding.corba.testing.generated.PrimitivesSetterHelper.write (o, value);
+  }
+
+  public org.omg.CORBA.TypeCode _type ()
+  {
+    return org.apache.tuscany.sca.binding.corba.testing.generated.PrimitivesSetterHelper.type ();
+  }
+
+}

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterOperations.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterOperations.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterOperations.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetterOperations.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,28 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/PrimitivesSetterOperations.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public interface PrimitivesSetterOperations 
+{
+  boolean setBoolean (boolean arg);
+  char setChar (char arg);
+  char setWchar (char arg);
+  byte setOctet (byte arg);
+  short setShort (short arg);
+  short setUnsignedShort (short arg);
+  int setLong (int arg);
+  int setUnsignedLong (int arg);
+  long setLongLong (long arg);
+  long setUnsignedLongLong (long arg);
+  float setFloat (float arg);
+  double setDouble (double arg);
+  String setString (String arg);
+  String setWstring (String arg);
+  org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject setRemoteObject (org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject obj);
+} // interface PrimitivesSetterOperations

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObject.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObject.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObject.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObject.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,13 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/RemoteObject.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public interface RemoteObject extends RemoteObjectOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 
+{
+} // interface RemoteObject

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectHelper.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectHelper.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectHelper.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectHelper.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,85 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/RemoteObjectHelper.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+abstract public class RemoteObjectHelper
+{
+  private static String  _id = "IDL:Tester/RemoteObject:1.0";
+
+  public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject that)
+  {
+    org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
+    a.type (type ());
+    write (out, that);
+    a.read_value (out.create_input_stream (), type ());
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject extract (org.omg.CORBA.Any a)
+  {
+    return read (a.create_input_stream ());
+  }
+
+  private static org.omg.CORBA.TypeCode __typeCode = null;
+  synchronized public static org.omg.CORBA.TypeCode type ()
+  {
+    if (__typeCode == null)
+    {
+      __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObjectHelper.id (), "RemoteObject");
+    }
+    return __typeCode;
+  }
+
+  public static String id ()
+  {
+    return _id;
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject read (org.omg.CORBA.portable.InputStream istream)
+  {
+    return narrow (istream.read_Object (_RemoteObjectStub.class));
+  }
+
+  public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject value)
+  {
+    ostream.write_Object ((org.omg.CORBA.Object) value);
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject narrow (org.omg.CORBA.Object obj)
+  {
+    if (obj == null)
+      return null;
+    else if (obj instanceof org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject)
+      return (org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject)obj;
+    else if (!obj._is_a (id ()))
+      throw new org.omg.CORBA.BAD_PARAM ();
+    else
+    {
+      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
+      org.apache.tuscany.sca.binding.corba.testing.generated._RemoteObjectStub stub = new org.apache.tuscany.sca.binding.corba.testing.generated._RemoteObjectStub ();
+      stub._set_delegate(delegate);
+      return stub;
+    }
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject unchecked_narrow (org.omg.CORBA.Object obj)
+  {
+    if (obj == null)
+      return null;
+    else if (obj instanceof org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject)
+      return (org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject)obj;
+    else
+    {
+      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
+      org.apache.tuscany.sca.binding.corba.testing.generated._RemoteObjectStub stub = new org.apache.tuscany.sca.binding.corba.testing.generated._RemoteObjectStub ();
+      stub._set_delegate(delegate);
+      return stub;
+    }
+  }
+
+}

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectHolder.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectHolder.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectHolder.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectHolder.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,38 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+/**
+* Tester/RemoteObjectHolder.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public final class RemoteObjectHolder implements org.omg.CORBA.portable.Streamable
+{
+  public org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject value = null;
+
+  public RemoteObjectHolder ()
+  {
+  }
+
+  public RemoteObjectHolder (org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject initialValue)
+  {
+    value = initialValue;
+  }
+
+  public void _read (org.omg.CORBA.portable.InputStream i)
+  {
+    value = org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObjectHelper.read (i);
+  }
+
+  public void _write (org.omg.CORBA.portable.OutputStream o)
+  {
+    org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObjectHelper.write (o, value);
+  }
+
+  public org.omg.CORBA.TypeCode _type ()
+  {
+    return org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObjectHelper.type ();
+  }
+
+}

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectOperations.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectOperations.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectOperations.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObjectOperations.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,13 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/RemoteObjectOperations.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public interface RemoteObjectOperations 
+{
+} // interface RemoteObjectOperations

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStruct.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStruct.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStruct.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStruct.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,26 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/SimpleStruct.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public final class SimpleStruct implements org.omg.CORBA.portable.IDLEntity
+{
+  public String field1 = null;
+  public int field2 = (int)0;
+
+  public SimpleStruct ()
+  {
+  } // ctor
+
+  public SimpleStruct (String _field1, int _field2)
+  {
+    field1 = _field1;
+    field2 = _field2;
+  } // ctor
+
+} // class SimpleStruct

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStructHelper.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStructHelper.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStructHelper.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStructHelper.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,82 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/SimpleStructHelper.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+abstract public class SimpleStructHelper
+{
+  private static String  _id = "IDL:Tester/SimpleStruct/SimpleStruct:1.0";
+
+  public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStruct that)
+  {
+    org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
+    a.type (type ());
+    write (out, that);
+    a.read_value (out.create_input_stream (), type ());
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStruct extract (org.omg.CORBA.Any a)
+  {
+    return read (a.create_input_stream ());
+  }
+
+  private static org.omg.CORBA.TypeCode __typeCode = null;
+  private static boolean __active = false;
+  synchronized public static org.omg.CORBA.TypeCode type ()
+  {
+    if (__typeCode == null)
+    {
+      synchronized (org.omg.CORBA.TypeCode.class)
+      {
+        if (__typeCode == null)
+        {
+          if (__active)
+          {
+            return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
+          }
+          __active = true;
+          org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [2];
+          org.omg.CORBA.TypeCode _tcOf_members0 = null;
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
+          _members0[0] = new org.omg.CORBA.StructMember (
+            "field1",
+            _tcOf_members0,
+            null);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long);
+          _members0[1] = new org.omg.CORBA.StructMember (
+            "field2",
+            _tcOf_members0,
+            null);
+          __typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStructHelper.id (), "SimpleStruct", _members0);
+          __active = false;
+        }
+      }
+    }
+    return __typeCode;
+  }
+
+  public static String id ()
+  {
+    return _id;
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStruct read (org.omg.CORBA.portable.InputStream istream)
+  {
+    org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStruct value = new org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStruct ();
+    value.field1 = istream.read_string ();
+    value.field2 = istream.read_long ();
+    return value;
+  }
+
+  public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStruct value)
+  {
+    ostream.write_string (value.field1);
+    ostream.write_long (value.field2);
+  }
+
+}

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStructHolder.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStructHolder.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStructHolder.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SimpleStructHolder.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,38 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+/**
+* Tester/SimpleStructHolder.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public final class SimpleStructHolder implements org.omg.CORBA.portable.Streamable
+{
+  public org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStruct value = null;
+
+  public SimpleStructHolder ()
+  {
+  }
+
+  public SimpleStructHolder (org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStruct initialValue)
+  {
+    value = initialValue;
+  }
+
+  public void _read (org.omg.CORBA.portable.InputStream i)
+  {
+    value = org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStructHelper.read (i);
+  }
+
+  public void _write (org.omg.CORBA.portable.OutputStream o)
+  {
+    org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStructHelper.write (o, value);
+  }
+
+  public org.omg.CORBA.TypeCode _type ()
+  {
+    return org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStructHelper.type ();
+  }
+
+}

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStruct.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStruct.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStruct.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStruct.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,32 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/SomeStruct.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public final class SomeStruct implements org.omg.CORBA.portable.IDLEntity
+{
+  public org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStruct innerStruct = null;
+  public String str = null;
+  public String str_list[] = null;
+  public int twoDimSeq[][] = null;
+  public int threeDimSeq[][][] = null;
+
+  public SomeStruct ()
+  {
+  } // ctor
+
+  public SomeStruct (org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStruct _innerStruct, String _str, String[] _str_list, int[][] _twoDimSeq, int[][][] _threeDimSeq)
+  {
+    innerStruct = _innerStruct;
+    str = _str;
+    str_list = _str_list;
+    twoDimSeq = _twoDimSeq;
+    threeDimSeq = _threeDimSeq;
+  } // ctor
+
+} // class SomeStruct

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStructHelper.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStructHelper.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStructHelper.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStructHelper.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,115 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/SomeStructHelper.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+abstract public class SomeStructHelper
+{
+  private static String  _id = "IDL:Tester/SomeStruct/SomeStruct:1.0";
+
+  public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.binding.corba.testing.generated.SomeStruct that)
+  {
+    org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
+    a.type (type ());
+    write (out, that);
+    a.read_value (out.create_input_stream (), type ());
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.SomeStruct extract (org.omg.CORBA.Any a)
+  {
+    return read (a.create_input_stream ());
+  }
+
+  private static org.omg.CORBA.TypeCode __typeCode = null;
+  private static boolean __active = false;
+  synchronized public static org.omg.CORBA.TypeCode type ()
+  {
+    if (__typeCode == null)
+    {
+      synchronized (org.omg.CORBA.TypeCode.class)
+      {
+        if (__typeCode == null)
+        {
+          if (__active)
+          {
+            return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
+          }
+          __active = true;
+          org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [5];
+          org.omg.CORBA.TypeCode _tcOf_members0 = null;
+          _tcOf_members0 = org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStructHelper.type ();
+          _members0[0] = new org.omg.CORBA.StructMember (
+            "innerStruct",
+            _tcOf_members0,
+            null);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
+          _members0[1] = new org.omg.CORBA.StructMember (
+            "str",
+            _tcOf_members0,
+            null);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.apache.tuscany.sca.binding.corba.testing.generated.string_listHelper.id (), "string_list", _tcOf_members0);
+          _members0[2] = new org.omg.CORBA.StructMember (
+            "str_list",
+            _tcOf_members0,
+            null);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.apache.tuscany.sca.binding.corba.testing.generated.long_seq1Helper.id (), "long_seq1", _tcOf_members0);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.apache.tuscany.sca.binding.corba.testing.generated.long_seq2Helper.id (), "long_seq2", _tcOf_members0);
+          _members0[3] = new org.omg.CORBA.StructMember (
+            "twoDimSeq",
+            _tcOf_members0,
+            null);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_long);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.apache.tuscany.sca.binding.corba.testing.generated.long_seq1Helper.id (), "long_seq1", _tcOf_members0);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.apache.tuscany.sca.binding.corba.testing.generated.long_seq2Helper.id (), "long_seq2", _tcOf_members0);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().create_sequence_tc (0, _tcOf_members0);
+          _tcOf_members0 = org.omg.CORBA.ORB.init ().create_alias_tc (org.apache.tuscany.sca.binding.corba.testing.generated.long_seq3Helper.id (), "long_seq3", _tcOf_members0);
+          _members0[4] = new org.omg.CORBA.StructMember (
+            "threeDimSeq",
+            _tcOf_members0,
+            null);
+          __typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (org.apache.tuscany.sca.binding.corba.testing.generated.SomeStructHelper.id (), "SomeStruct", _members0);
+          __active = false;
+        }
+      }
+    }
+    return __typeCode;
+  }
+
+  public static String id ()
+  {
+    return _id;
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.SomeStruct read (org.omg.CORBA.portable.InputStream istream)
+  {
+    org.apache.tuscany.sca.binding.corba.testing.generated.SomeStruct value = new org.apache.tuscany.sca.binding.corba.testing.generated.SomeStruct ();
+    value.innerStruct = org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStructHelper.read (istream);
+    value.str = istream.read_string ();
+    value.str_list = org.apache.tuscany.sca.binding.corba.testing.generated.string_listHelper.read (istream);
+    value.twoDimSeq = org.apache.tuscany.sca.binding.corba.testing.generated.long_seq2Helper.read (istream);
+    value.threeDimSeq = org.apache.tuscany.sca.binding.corba.testing.generated.long_seq3Helper.read (istream);
+    return value;
+  }
+
+  public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.binding.corba.testing.generated.SomeStruct value)
+  {
+    org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStructHelper.write (ostream, value.innerStruct);
+    ostream.write_string (value.str);
+    org.apache.tuscany.sca.binding.corba.testing.generated.string_listHelper.write (ostream, value.str_list);
+    org.apache.tuscany.sca.binding.corba.testing.generated.long_seq2Helper.write (ostream, value.twoDimSeq);
+    org.apache.tuscany.sca.binding.corba.testing.generated.long_seq3Helper.write (ostream, value.threeDimSeq);
+  }
+
+}

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStructHolder.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStructHolder.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStructHolder.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/SomeStructHolder.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,38 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+/**
+* Tester/SomeStructHolder.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public final class SomeStructHolder implements org.omg.CORBA.portable.Streamable
+{
+  public org.apache.tuscany.sca.binding.corba.testing.generated.SomeStruct value = null;
+
+  public SomeStructHolder ()
+  {
+  }
+
+  public SomeStructHolder (org.apache.tuscany.sca.binding.corba.testing.generated.SomeStruct initialValue)
+  {
+    value = initialValue;
+  }
+
+  public void _read (org.omg.CORBA.portable.InputStream i)
+  {
+    value = org.apache.tuscany.sca.binding.corba.testing.generated.SomeStructHelper.read (i);
+  }
+
+  public void _write (org.omg.CORBA.portable.OutputStream o)
+  {
+    org.apache.tuscany.sca.binding.corba.testing.generated.SomeStructHelper.write (o, value);
+  }
+
+  public org.omg.CORBA.TypeCode _type ()
+  {
+    return org.apache.tuscany.sca.binding.corba.testing.generated.SomeStructHelper.type ();
+  }
+
+}

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObject.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObject.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObject.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObject.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,13 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/TestObject.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public interface TestObject extends TestObjectOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 
+{
+} // interface TestObject

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectHelper.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectHelper.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectHelper.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectHelper.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,85 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/TestObjectHelper.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+abstract public class TestObjectHelper
+{
+  private static String  _id = "IDL:Tester/TestObject:1.0";
+
+  public static void insert (org.omg.CORBA.Any a, org.apache.tuscany.sca.binding.corba.testing.generated.TestObject that)
+  {
+    org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
+    a.type (type ());
+    write (out, that);
+    a.read_value (out.create_input_stream (), type ());
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.TestObject extract (org.omg.CORBA.Any a)
+  {
+    return read (a.create_input_stream ());
+  }
+
+  private static org.omg.CORBA.TypeCode __typeCode = null;
+  synchronized public static org.omg.CORBA.TypeCode type ()
+  {
+    if (__typeCode == null)
+    {
+      __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (org.apache.tuscany.sca.binding.corba.testing.generated.TestObjectHelper.id (), "TestObject");
+    }
+    return __typeCode;
+  }
+
+  public static String id ()
+  {
+    return _id;
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.TestObject read (org.omg.CORBA.portable.InputStream istream)
+  {
+    return narrow (istream.read_Object (_TestObjectStub.class));
+  }
+
+  public static void write (org.omg.CORBA.portable.OutputStream ostream, org.apache.tuscany.sca.binding.corba.testing.generated.TestObject value)
+  {
+    ostream.write_Object ((org.omg.CORBA.Object) value);
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.TestObject narrow (org.omg.CORBA.Object obj)
+  {
+    if (obj == null)
+      return null;
+    else if (obj instanceof org.apache.tuscany.sca.binding.corba.testing.generated.TestObject)
+      return (org.apache.tuscany.sca.binding.corba.testing.generated.TestObject)obj;
+    else if (!obj._is_a (id ()))
+      throw new org.omg.CORBA.BAD_PARAM ();
+    else
+    {
+      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
+      org.apache.tuscany.sca.binding.corba.testing.generated._TestObjectStub stub = new org.apache.tuscany.sca.binding.corba.testing.generated._TestObjectStub ();
+      stub._set_delegate(delegate);
+      return stub;
+    }
+  }
+
+  public static org.apache.tuscany.sca.binding.corba.testing.generated.TestObject unchecked_narrow (org.omg.CORBA.Object obj)
+  {
+    if (obj == null)
+      return null;
+    else if (obj instanceof org.apache.tuscany.sca.binding.corba.testing.generated.TestObject)
+      return (org.apache.tuscany.sca.binding.corba.testing.generated.TestObject)obj;
+    else
+    {
+      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
+      org.apache.tuscany.sca.binding.corba.testing.generated._TestObjectStub stub = new org.apache.tuscany.sca.binding.corba.testing.generated._TestObjectStub ();
+      stub._set_delegate(delegate);
+      return stub;
+    }
+  }
+
+}

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectHolder.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectHolder.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectHolder.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectHolder.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,38 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+/**
+* Tester/TestObjectHolder.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public final class TestObjectHolder implements org.omg.CORBA.portable.Streamable
+{
+  public org.apache.tuscany.sca.binding.corba.testing.generated.TestObject value = null;
+
+  public TestObjectHolder ()
+  {
+  }
+
+  public TestObjectHolder (org.apache.tuscany.sca.binding.corba.testing.generated.TestObject initialValue)
+  {
+    value = initialValue;
+  }
+
+  public void _read (org.omg.CORBA.portable.InputStream i)
+  {
+    value = org.apache.tuscany.sca.binding.corba.testing.generated.TestObjectHelper.read (i);
+  }
+
+  public void _write (org.omg.CORBA.portable.OutputStream o)
+  {
+    org.apache.tuscany.sca.binding.corba.testing.generated.TestObjectHelper.write (o, value);
+  }
+
+  public org.omg.CORBA.TypeCode _type ()
+  {
+    return org.apache.tuscany.sca.binding.corba.testing.generated.TestObjectHelper.type ();
+  }
+
+}

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectOperations.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectOperations.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectOperations.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/TestObjectOperations.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,19 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/TestObjectOperations.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public interface TestObjectOperations 
+{
+  org.apache.tuscany.sca.binding.corba.testing.generated.SomeStruct pickStructFromArgs (org.apache.tuscany.sca.binding.corba.testing.generated.SomeStructHolder arg1, org.apache.tuscany.sca.binding.corba.testing.generated.SomeStructHolder arg2, org.apache.tuscany.sca.binding.corba.testing.generated.SomeStructHolder arg3, int structNumber);
+  org.apache.tuscany.sca.binding.corba.testing.generated.SomeStruct setStruct (org.apache.tuscany.sca.binding.corba.testing.generated.SomeStructHolder arg);
+  org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStruct setSimpleStruct (org.apache.tuscany.sca.binding.corba.testing.generated.SimpleStructHolder arg);
+  int[] setLongSeq1 (org.apache.tuscany.sca.binding.corba.testing.generated.long_seq1Holder arg);
+  int[][] setLongSeq2 (org.apache.tuscany.sca.binding.corba.testing.generated.long_seq2Holder arg);
+  int[][][] setLongSeq3 (org.apache.tuscany.sca.binding.corba.testing.generated.long_seq3Holder arg);
+} // interface TestObjectOperations

Added: incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterImplBase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterImplBase.java?rev=662395&view=auto
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterImplBase.java (added)
+++ incubator/tuscany/java/sca/modules/binding-corba/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterImplBase.java Mon Jun  2 04:17:33 2008
@@ -0,0 +1,218 @@
+package org.apache.tuscany.sca.binding.corba.testing.generated;
+
+
+/**
+* Tester/_ArraysSetterImplBase.java .
+* Generated by the IDL-to-Java compiler (portable), version "3.2"
+* from tester.idl
+* pi±tek, 30 maj 2008 17:04:42 CEST
+*/
+
+public abstract class _ArraysSetterImplBase extends org.omg.CORBA.portable.ObjectImpl
+                implements org.apache.tuscany.sca.binding.corba.testing.generated.ArraysSetter, org.omg.CORBA.portable.InvokeHandler
+{
+
+  // Constructors
+  public _ArraysSetterImplBase ()
+  {
+  }
+
+  private static java.util.Hashtable _methods = new java.util.Hashtable ();
+  static
+  {
+    _methods.put ("setBoolean", new java.lang.Integer (0));
+    _methods.put ("setChar", new java.lang.Integer (1));
+    _methods.put ("setWchar", new java.lang.Integer (2));
+    _methods.put ("setOctet", new java.lang.Integer (3));
+    _methods.put ("setShort", new java.lang.Integer (4));
+    _methods.put ("setUnsignedShort", new java.lang.Integer (5));
+    _methods.put ("setLong", new java.lang.Integer (6));
+    _methods.put ("setUnsignedLong", new java.lang.Integer (7));
+    _methods.put ("setLongLong", new java.lang.Integer (8));
+    _methods.put ("setUnsignedLongLong", new java.lang.Integer (9));
+    _methods.put ("setFloat", new java.lang.Integer (10));
+    _methods.put ("setDouble", new java.lang.Integer (11));
+    _methods.put ("setString", new java.lang.Integer (12));
+    _methods.put ("setWstring", new java.lang.Integer (13));
+    _methods.put ("setRemoteObject", new java.lang.Integer (14));
+  }
+
+  public org.omg.CORBA.portable.OutputStream _invoke (String $method,
+                                org.omg.CORBA.portable.InputStream in,
+                                org.omg.CORBA.portable.ResponseHandler $rh)
+  {
+    org.omg.CORBA.portable.OutputStream out = null;
+    java.lang.Integer __method = (java.lang.Integer)_methods.get ($method);
+    if (__method == null)
+      throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
+
+    switch (__method.intValue ())
+    {
+       case 0:  // Tester/ArraysSetter/setBoolean
+       {
+         boolean arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.boolean_listHelper.read (in);
+         boolean $result[] = null;
+         $result = this.setBoolean (arg);
+         out = $rh.createReply();
+         org.apache.tuscany.sca.binding.corba.testing.generated.boolean_listHelper.write (out, $result);
+         break;
+       }
+
+       case 1:  // Tester/ArraysSetter/setChar
+       {
+         char arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.char_listHelper.read (in);
+         char $result[] = null;
+         $result = this.setChar (arg);
+         out = $rh.createReply();
+         org.apache.tuscany.sca.binding.corba.testing.generated.char_listHelper.write (out, $result);
+         break;
+       }
+
+       case 2:  // Tester/ArraysSetter/setWchar
+       {
+         char arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.wchar_listHelper.read (in);
+         char $result[] = null;
+         $result = this.setWchar (arg);
+         out = $rh.createReply();
+         org.apache.tuscany.sca.binding.corba.testing.generated.wchar_listHelper.write (out, $result);
+         break;
+       }
+
+       case 3:  // Tester/ArraysSetter/setOctet
+       {
+         byte arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.octet_listHelper.read (in);
+         byte $result[] = null;
+         $result = this.setOctet (arg);
+         out = $rh.createReply();
+         org.apache.tuscany.sca.binding.corba.testing.generated.octet_listHelper.write (out, $result);
+         break;
+       }
+
+       case 4:  // Tester/ArraysSetter/setShort
+       {
+         short arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.short_listHelper.read (in);
+         short $result[] = null;
+         $result = this.setShort (arg);
+         out = $rh.createReply();
+         org.apache.tuscany.sca.binding.corba.testing.generated.short_listHelper.write (out, $result);
+         break;
+       }
+
+       case 5:  // Tester/ArraysSetter/setUnsignedShort
+       {
+         short arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.unsigned_short_listHelper.read (in);
+         short $result[] = null;
+         $result = this.setUnsignedShort (arg);
+         out = $rh.createReply();
+         org.apache.tuscany.sca.binding.corba.testing.generated.unsigned_short_listHelper.write (out, $result);
+         break;
+       }
+
+       case 6:  // Tester/ArraysSetter/setLong
+       {
+         int arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.long_listHelper.read (in);
+         int $result[] = null;
+         $result = this.setLong (arg);
+         out = $rh.createReply();
+         org.apache.tuscany.sca.binding.corba.testing.generated.long_listHelper.write (out, $result);
+         break;
+       }
+
+       case 7:  // Tester/ArraysSetter/setUnsignedLong
+       {
+         int arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.unsigned_long_listHelper.read (in);
+         int $result[] = null;
+         $result = this.setUnsignedLong (arg);
+         out = $rh.createReply();
+         org.apache.tuscany.sca.binding.corba.testing.generated.unsigned_long_listHelper.write (out, $result);
+         break;
+       }
+
+       case 8:  // Tester/ArraysSetter/setLongLong
+       {
+         long arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.long_long_listHelper.read (in);
+         long $result[] = null;
+         $result = this.setLongLong (arg);
+         out = $rh.createReply();
+         org.apache.tuscany.sca.binding.corba.testing.generated.long_long_listHelper.write (out, $result);
+         break;
+       }
+
+       case 9:  // Tester/ArraysSetter/setUnsignedLongLong
+       {
+         long arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.unsigned_long_long_listHelper.read (in);
+         long $result[] = null;
+         $result = this.setUnsignedLongLong (arg);
+         out = $rh.createReply();
+         org.apache.tuscany.sca.binding.corba.testing.generated.unsigned_long_long_listHelper.write (out, $result);
+         break;
+       }
+
+       case 10:  // Tester/ArraysSetter/setFloat
+       {
+         float arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.float_listHelper.read (in);
+         float $result[] = null;
+         $result = this.setFloat (arg);
+         out = $rh.createReply();
+         org.apache.tuscany.sca.binding.corba.testing.generated.float_listHelper.write (out, $result);
+         break;
+       }
+
+       case 11:  // Tester/ArraysSetter/setDouble
+       {
+         double arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.double_listHelper.read (in);
+         double $result[] = null;
+         $result = this.setDouble (arg);
+         out = $rh.createReply();
+         org.apache.tuscany.sca.binding.corba.testing.generated.double_listHelper.write (out, $result);
+         break;
+       }
+
+       case 12:  // Tester/ArraysSetter/setString
+       {
+         String arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.string_listHelper.read (in);
+         String $result[] = null;
+         $result = this.setString (arg);
+         out = $rh.createReply();
+         org.apache.tuscany.sca.binding.corba.testing.generated.string_listHelper.write (out, $result);
+         break;
+       }
+
+       case 13:  // Tester/ArraysSetter/setWstring
+       {
+         String arg[] = org.apache.tuscany.sca.binding.corba.testing.generated.wstring_listHelper.read (in);
+         String $result[] = null;
+         $result = this.setWstring (arg);
+         out = $rh.createReply();
+         org.apache.tuscany.sca.binding.corba.testing.generated.wstring_listHelper.write (out, $result);
+         break;
+       }
+
+       case 14:  // Tester/ArraysSetter/setRemoteObject
+       {
+         org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject obj[] = org.apache.tuscany.sca.binding.corba.testing.generated.remote_object_listHelper.read (in);
+         org.apache.tuscany.sca.binding.corba.testing.generated.RemoteObject $result[] = null;
+         $result = this.setRemoteObject (obj);
+         out = $rh.createReply();
+         org.apache.tuscany.sca.binding.corba.testing.generated.remote_object_listHelper.write (out, $result);
+         break;
+       }
+
+       default:
+         throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
+    }
+
+    return out;
+  } // _invoke
+
+  // Type-specific CORBA::Object operations
+  private static String[] __ids = {
+    "IDL:Tester/ArraysSetter:1.0"};
+
+  public String[] _ids ()
+  {
+    return (String[])__ids.clone ();
+  }
+
+
+} // class _ArraysSetterImplBase



Mime
View raw message