2008/12/12 Rao, Sameer V <[email protected]>: > > I think I found the answer, the Provider interface support StreamSource > & SAXSource which should be able to give me a Stream.
Actually this does work as well, I've done it myself in the past --
this is what I get for answering before I've had any coffee...
public StreamSource invoke( StreamSource request )
{
XMLInputFactory xif = XMLInputFactory.newInstance();
XMLStreamReader reader = xif.createXMLStreamReader( request );
// etc.
}
Andrew.
