corbaStaxObject.writeObjectToStax(streamables[i].getObject(),
evtWriter,
XMLEventFactory.newInstance());
evtWriter.flush();
ByteArrayInputStream inStream = new ByteArrayInputStream(outStream.toByteArray());
XMLEventReader evtReader = inputFactory.createXMLEventReader(inStream);
MessagePartInfo part = getMessagePartInfo(msgInfo,
index,
opType.getReturn() == null,
isOutput);
Object partObj = reader.read(part, evtReader);