SOAPElement elem = factory.createElement("StringElementQualified",
"x1", "http://apache.org/type_test/types1");
elem.addNamespaceDeclaration("x1", "http://apache.org/type_test/types1");
elem.addTextNode("This is the text of the node");
StructWithAnyArrayLax x = new StructWithAnyArrayLax();
x.setName("Name x");
x.setAddress("Some Address x");
x.getAny().add(elem);
elem = factory.createElement("StringElementQualified", "x1",
"http://apache.org/type_test/types1");
elem.addNamespaceDeclaration("x1", "http://apache.org/type_test/types1");
elem.addTextNode("This is the text of the node for the second struct");
StructWithAnyArrayLax yOrig = new StructWithAnyArrayLax();
yOrig.setName("Name y");
yOrig.setAddress("Some Other Address y");
yOrig.getAny().add(elem);
Holder<StructWithAnyArrayLax> y = new Holder<StructWithAnyArrayLax>(yOrig);
Holder<StructWithAnyArrayLax> z = new Holder<StructWithAnyArrayLax>();
StructWithAnyArrayLax ret = docClient.testStructWithAnyArrayLax(x, y, z);
if (!perfTestOnly) {
assertEqualsStructWithAnyArrayLax(x, y.value);
assertEqualsStructWithAnyArrayLax(yOrig, z.value);
assertEqualsStructWithAnyArrayLax(x, ret);
}