OMElement response = stub.getStockQuote(
document.getOMDocumentElement());
Unmarshaller unmarshaller = new Unmarshaller(GetStockQuoteResponse.class);
UnmarshalHandler unmarshalHandler = unmarshaller.createHandler();
GetStockQuoteResponse stockQuoteResponse;
try {
ContentHandler contentHandler = Unmarshaller.getContentHandler(unmarshalHandler);
TransformerFactory.newInstance().newTransformer().transform(response.getSAXSource(false), new SAXResult(contentHandler));
stockQuoteResponse = (GetStockQuoteResponse) unmarshalHandler.getObject();
} catch (SAXException e) {
throw new RuntimeException(e);
} catch (TransformerException e) {
throw new RuntimeException(e);
}