Gettig SOAPBody as string or as InputStream

I am receiving SOAP messages over jms Queues. After receiving messages I need to get the content of SOAP:Body as a String or as InputStream. How can this be done?
[169 byte] By [ppatidar2001a] at [2007-11-27 6:06:21]
# 1
depending on the type of message u're receiving, by that i mean the class of the message, e.g. OMElement?
JWKC-5ivea at 2007-7-12 16:21:50 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...