Package org.apache.tests.type_test.sequence

Examples of org.apache.tests.type_test.sequence.SimpleStruct


    public SimpleStruct sendReceiveAnyType(Holder<SimpleAll> x, SimpleChoice y) {
        SimpleAll sa = new SimpleAll();
        sa.setVarString(y.getVarString());
       
        SimpleStruct ss = new SimpleStruct();
        ss.setVarAttrString(x.value.getVarAttrString() + "Ret");
        ss.setVarInt(x.value.getVarInt() + 100);
        x.value = sa;
        return ss;
    }
View Full Code Here


        sa.setVarInt(100);
        sa.setVarString("varString");
        simpleAll.value = sa;
        SimpleChoice sc = new SimpleChoice();
        sc.setVarString("scVarString");
        SimpleStruct ss = proxy.sendReceiveAnyType(simpleAll, sc);
        assertEquals(simpleAll.value.getVarString(), "scVarString");
        assertEquals(ss.getVarInt(), 200);
        assertEquals(ss.getVarAttrString(), "varAttrStringRet");
    }
View Full Code Here

        sa.setVarInt(100);
        sa.setVarString("varString");
        simpleAll.value = sa;
        SimpleChoice sc = new SimpleChoice();
        sc.setVarString("scVarString");
        SimpleStruct ss = proxy.sendReceiveAnyType(simpleAll, sc);
        assertEquals(simpleAll.value.getVarString(), "scVarString");
        assertEquals(ss.getVarInt(), 200);
        assertEquals(ss.getVarAttrString(), "varAttrStringRet");
    }
View Full Code Here

        sa.setVarInt(100);
        sa.setVarString("varString");
        simpleAll.value = sa;
        SimpleChoice sc = new SimpleChoice();
        sc.setVarString("scVarString");
        SimpleStruct ss = proxy.sendReceiveAnyType(simpleAll, sc);
        assertEquals(simpleAll.value.getVarString(), "scVarString");
        assertEquals(ss.getVarInt(), 200);
        assertEquals(ss.getVarAttrString(), "varAttrStringRet");
    }
View Full Code Here

        sa.setVarInt(100);
        sa.setVarString("varString");
        simpleAll.value = sa;
        SimpleChoice sc = new SimpleChoice();
        sc.setVarString("scVarString");
        SimpleStruct ss = proxy.sendReceiveAnyType(simpleAll, sc);
        assertEquals(simpleAll.value.getVarString(), "scVarString");
        assertEquals(ss.getVarInt(), 200);
        assertEquals(ss.getVarAttrString(), "varAttrStringRet");
    }
View Full Code Here

        sa.setVarInt(100);
        sa.setVarString("varString");
        simpleAll.value = sa;
        SimpleChoice sc = new SimpleChoice();
        sc.setVarString("scVarString");
        SimpleStruct ss = proxy.sendReceiveAnyType(simpleAll, sc);
        assertEquals(simpleAll.value.getVarString(), "scVarString");
        assertEquals(ss.getVarInt(), 200);
        assertEquals(ss.getVarAttrString(), "varAttrStringRet");
    }
View Full Code Here

    public SimpleStruct sendReceiveAnyType(Holder<SimpleAll> x, SimpleChoice y) {
        SimpleAll sa = new SimpleAll();
        sa.setVarString(y.getVarString());
       
        SimpleStruct ss = new SimpleStruct();
        ss.setVarAttrString(x.value.getVarAttrString() + "Ret");
        ss.setVarInt(x.value.getVarInt() + 100);
        x.value = sa;
        return ss;
    }
View Full Code Here

TOP

Related Classes of org.apache.tests.type_test.sequence.SimpleStruct

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.