Re-introduced custom StaxSource and StaxResult for Spring Web Services
Adapted getXmlAsSource implementation to avoid compilation failure in IntelliJ IDEA