Skip to content

Commit ee8748b

Browse files
committed
SWS-931 Upgrade to Axiom 1.2.16
1 parent 4061eed commit ee8748b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ configure(allprojects) {
1414

1515
ext.springVersion = "4.0.9.RELEASE"
1616
ext.springSecurityVersion = "3.2.9.RELEASE"
17-
ext.axiomVersion = "1.2.15"
17+
ext.axiomVersion = "1.2.16"
1818
ext.smackVersion = "4.1.6"
1919

2020
apply plugin: "java"

spring-ws-core/src/main/java/org/springframework/ws/soap/axiom/support/AxiomUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ public static void removeContents(OMContainer container) {
115115
* @param envelope the SOAP envelope to be converted
116116
* @return the converted document
117117
* @throws IllegalArgumentException in case of errors
118-
* @see org.apache.rampart.util.Axis2Util#getDocumentFromSOAPEnvelope(SOAPEnvelope, boolean)
119118
*/
120119
public static Document toDocument(SOAPEnvelope envelope) {
121120
try {
@@ -144,7 +143,6 @@ public static Document toDocument(SOAPEnvelope envelope) {
144143
* @param document the document to be converted
145144
* @return the converted envelope
146145
* @throws IllegalArgumentException in case of errors
147-
* @see org.apache.rampart.util.Axis2Util#getSOAPEnvelopeFromDOMDocument(Document, boolean)
148146
*/
149147
public static SOAPEnvelope toEnvelope(Document document) {
150148
try {
@@ -163,6 +161,7 @@ public static SOAPEnvelope toEnvelope(Document document) {
163161

164162
XMLInputFactory inputFactory = StAXUtils.getXMLInputFactory();
165163

164+
@SuppressWarnings("deprecation")
166165
StAXSOAPModelBuilder stAXSOAPModelBuilder =
167166
new StAXSOAPModelBuilder(inputFactory.createXMLStreamReader(bis), null);
168167
SOAPEnvelope envelope = stAXSOAPModelBuilder.getSOAPEnvelope();

0 commit comments

Comments
 (0)