Q
Qingchun Guo
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.
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.