We are tryinmg to link Tamino to XMLBeans. XMLBeans can parse an InputStream. Is this the correct way to get it done ?
TXMLObject tempXML = myIterator.next();
java.io.OutputStream os = null ;
tempXML.writeTo(os); ()
InputStream is = MiscTools.convertOutpurStreamToInputStream(os);
PICKLISTDocumentXmlBean anotherPickListDocument =
PICKLISTDocumentXmlBean.
Factory.parse(is);
it fails at () with null pointer exception.
Hi Victor
It is giving null pointer exception because os=null.
Replace - java.io.OutputStream os = null ;
with - java.io.OutputStream os = new java.io.ByteArrayOutputStream();
Regards,
Vikram Shinde