oStream.write_boolean(nestedMember2Value.booleanValue());
oStream.write_fixed(fixedValue.movePointRight(2));
oStream.write_long(enumIndex);
oStream.write_float(floatValue.floatValue());
InputStream iStream = oStream.create_input_stream();
CorbaObjectReader reader = new CorbaObjectReader(iStream);
reader.read(obj);
// Now that the Object has its values, try and write it to Stax
XMLInputFactory inputFactory = XMLInputFactory.newInstance();