"Dahnke, Eric" <[EMAIL PROTECTED]> writes:

> Would someone be so kind as to point me in the right direction here.
>
> I need an OutputStream to InputStream converter (os -> is).
>
> SOAPmessage.writeTo(java.io.OutputStream os);
> SAXParser.parse(java.io.InputStream is, new SAXParseHandler());
>
> Is there such a utility or do I need to do it manually write two loops, one
> writing the stream out and one reading the stream in?

2 things:

1. it's easier to handle XML filtering at the element level, using
   SAX event producers and consumers.

2. if you do write a stream sink then be careful of blocking.


Nic Ferrier

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to