String[] xx = {"http://www.iona.com", "http://www.google.com"};
String[] yy = {"http://www.google.com", "http://www.iona.com"};
Holder<AnyURIEnum> z = new Holder<AnyURIEnum>();
for (int i = 0; i < 2; i++) {
AnyURIEnum x = AnyURIEnum.fromValue(xx[i]);
AnyURIEnum yOrig = AnyURIEnum.fromValue(yy[i]);
Holder<AnyURIEnum> y = new Holder<AnyURIEnum>(yOrig);
AnyURIEnum ret;
if (testDocLiteral) {
ret = docClient.testAnyURIEnum(x, y, z);
} else if (testXMLBinding) {
ret = xmlClient.testAnyURIEnum(x, y, z);
} else {
ret = rpcClient.testAnyURIEnum(x, y, z);
}
if (!perfTestOnly) {
assertEquals("testAnyURIEnum(): Incorrect value for inout param",
x.value(), y.value.value());
assertEquals("testAnyURIEnum(): Incorrect value for out param",
yOrig.value(), z.value.value());
assertEquals("testAnyURIEnum(): Incorrect return value", x.value(), ret.value());
}
}
}