Details
Description
When running with REST support, if there is a SOAP fault (in my case, I attempted to call an invalid service), the client application will encounter a ClassCastException (it should encounter an AxisFault).
The error is caused because when a response is received from the server, the StAXOMBuilder is used to build the envelope (instead of the StAXSOAPModelBuilder); this builds a generic OM, not a SOAP model.