wildfly/wildfly — pull request #4762 by ehsavoie (2013-07-10 11:29:09+00:00)
Title: Wfly 1667

* Adding some integration test code to check that WFLY-1667 can be closed.
* **When using an EJB endpoint**, the SoapFaultException is nested inside an EJBException which breaks the propagation of Fault subcodes in **CXF** `org.apache.cxf.jaxws.interceptors.WebFaultOutInterceptor` which only check the direct cause and not the whole exception stack. This was fixed in the webservice integration class : `org.jboss.as.webservices.invocation.AbstractInvocationHandler` by setting the SoapFaultException as the cause of the InvocationTargetException.