What is covered?
Description
This example demonstrates how to invoke an ASPX web service from Mule, transform the result using XSLT, and deserialize the result to a StockQuote Java bean. The example demonstrates invoking the service using REST and SOAP.
Under the Hood
The configuration uses a HTTP endpoint to receive a stock symbol from a user, invokes the StockQuote service, transforms the result using the XSLT transformer, and then uses the XmlToObject transformer to convert the result into a StockQuote Java bean. The quote is then sent back to browser, transforming it once more into plain text.