SWS-931 Upgrade to Axiom 1.2.16
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user