the reverse of SOAPMessage's writeTo(out) method
From: Qingchun Guo (qingchun_guo_at_yahoo.com)
Date: 02/28/04
- Next message: Mori: "Re: what happens when typing http://hostname:portnumber"
- Previous message: les ander: "java going in the wrong direction (1.5)"
- Next in thread: Esmond Pitt: "Re: the reverse of SOAPMessage's writeTo(out) method"
- Reply: Esmond Pitt: "Re: the reverse of SOAPMessage's writeTo(out) method"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Feb 2004 21:55:36 -0800
Java's "SOAPMessage" class has a "writeTo" method, which writes a
SOAPMessage object into an outputStream, like this:
SOAPMessage mySoapMessage = ...;
mySoapMessage.writeTo(OutputStream out);
What if I want to do the reverse? That is, suppose I have an
inputStream which contains a SOAPMessage object, how do I read the
data from this inputStream and construct a SOAPMessage object? Is
there a "readFrom" method that works in the following way?
SOAPMessage mySoapMessage = SOAPMessage.readFrom(InputStream in)
Thanks.
- Next message: Mori: "Re: what happens when typing http://hostname:portnumber"
- Previous message: les ander: "java going in the wrong direction (1.5)"
- Next in thread: Esmond Pitt: "Re: the reverse of SOAPMessage's writeTo(out) method"
- Reply: Esmond Pitt: "Re: the reverse of SOAPMessage's writeTo(out) method"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]