SWS-931 Upgrade to Axiom 1.2.16

This commit is contained in:
Greg Turnquist
2015-12-18 12:18:25 -06:00
parent 4061eed02a
commit ee8748b956
2 changed files with 2 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ configure(allprojects) {
ext.springVersion = "4.0.9.RELEASE"
ext.springSecurityVersion = "3.2.9.RELEASE"
ext.axiomVersion = "1.2.15"
ext.axiomVersion = "1.2.16"
ext.smackVersion = "4.1.6"
apply plugin: "java"

View File

@@ -115,7 +115,6 @@ public abstract class AxiomUtils {
* @param envelope the SOAP envelope to be converted
* @return the converted document
* @throws IllegalArgumentException in case of errors
* @see org.apache.rampart.util.Axis2Util#getDocumentFromSOAPEnvelope(SOAPEnvelope, boolean)
*/
public static Document toDocument(SOAPEnvelope envelope) {
try {
@@ -144,7 +143,6 @@ public abstract class AxiomUtils {
* @param document the document to be converted
* @return the converted envelope
* @throws IllegalArgumentException in case of errors
* @see org.apache.rampart.util.Axis2Util#getSOAPEnvelopeFromDOMDocument(Document, boolean)
*/
public static SOAPEnvelope toEnvelope(Document document) {
try {
@@ -163,6 +161,7 @@ public abstract class AxiomUtils {
XMLInputFactory inputFactory = StAXUtils.getXMLInputFactory();
@SuppressWarnings("deprecation")
StAXSOAPModelBuilder stAXSOAPModelBuilder =
new StAXSOAPModelBuilder(inputFactory.createXMLStreamReader(bis), null);
SOAPEnvelope envelope = stAXSOAPModelBuilder.getSOAPEnvelope();