any.insert_octet(octetValue);
anyHandler.setValue(any);
expectedSchemaType = "xs:unsignedByte";
result = anyHandler.getValue();
assertTrue(result.type().kind().value() == TCKind._tk_octet);
byte octetResult = result.extract_octet();
assertTrue(octetResult == octetValue);
resultSchemaType = anyHandler.getSchemaType();
assertTrue(resultSchemaType.equals(expectedSchemaType));
short shortValue = (short)-123;