RecursiveUnion tmp1 = new RecursiveUnion();
tmp1.setVarString("RecusiveUnion-1");
RecursiveUnion tmp2 = new RecursiveUnion();
tmp2.setVarString("RecusiveUnion-2");
RecursiveUnionData x = new RecursiveUnionData();
ChoiceArray xChoice = new ChoiceArray();
xChoice.getItem().add(tmp1);
xChoice.getItem().add(tmp2);
x.setVarInt(5);
x.setVarChoiceArray(xChoice);
RecursiveUnionData yOrig = new RecursiveUnionData();
ChoiceArray yOrigchoice = new ChoiceArray();
xChoice.getItem().add(tmp1);
xChoice.getItem().add(tmp2);
yOrig.setVarInt(-5);
yOrig.setVarChoiceArray(yOrigchoice);
Holder<RecursiveUnionData> y = new Holder<RecursiveUnionData>(yOrig);
Holder<RecursiveUnionData> z = new Holder<RecursiveUnionData>();
RecursiveUnionData ret;
if (testDocLiteral) {
ret = docClient.testRecursiveUnionData(x, y, z);
} else {
ret = rpcClient.testRecursiveUnionData(x, y, z);
}