Hi, currently making a SOAP request using Java's SOAPConnectionFactory and SOAPConnection's .call() method, which returns a SOAPMessage object, and I would like to apply an XPath query to it. Is this at all possible, or am I going about it completely wrong? 
As far as I can work out, I'd have to somehow convert SOAPMessage to an InputSource which I can then apply the XPath to, but I can't quite work out how to go about doing this.
Thanks, Peter