&& (x.getVarString().equals(y.getVarString()))
&& equals(x.getVarStructArray(), y.getVarStructArray());
}
public void testRecursiveStruct() throws Exception {
RecursiveStruct xtmp = new RecursiveStruct();
xtmp.setVarFloat(0.14f);
xtmp.setVarInt(4);
xtmp.setVarString("tmp-x");
xtmp.setVarStructArray(new RecursiveStructArray());
RecursiveStruct ytmp = new RecursiveStruct();
ytmp.setVarFloat(0.414f);
ytmp.setVarInt(1);
ytmp.setVarString("tmp-y");
ytmp.setVarStructArray(new RecursiveStructArray());
RecursiveStructArray arr = new RecursiveStructArray();
arr.getItem().add(xtmp);
arr.getItem().add(ytmp);
RecursiveStruct x = new RecursiveStruct();
x.setVarFloat(3.14f);
x.setVarInt(42);
x.setVarString("RecStruct-x");
x.setVarStructArray(arr);
RecursiveStruct yOrig = new RecursiveStruct();
yOrig.setVarFloat(1.414f);
yOrig.setVarInt(13);
yOrig.setVarString("RecStruct-y");
yOrig.setVarStructArray(arr);
Holder<RecursiveStruct> y = new Holder<RecursiveStruct>(yOrig);
Holder<RecursiveStruct> z = new Holder<RecursiveStruct>();
RecursiveStruct ret;
if (testDocLiteral) {
ret = docClient.testRecursiveStruct(x, y, z);
} else {
ret = rpcClient.testRecursiveStruct(x, y, z);
}