log.debug("Inbound SOAP message was:\n" + XMLHelper.prettyPrintXML(responseElem));
}
Unmarshaller unmarshaller = Configuration.getUnmarshallerFactory().getUnmarshaller(responseElem);
return (Envelope) unmarshaller.unmarshall(responseElem);
} catch (XMLParserException e) {
throw new SOAPClientException("Unable to parse the XML within the response", e);
} catch (UnmarshallingException e) {
throw new SOAPClientException("unable to unmarshall the response DOM", e);
}
}