Author: veithen
Date: Sun Feb 14 10:24:00 2016
New Revision: 1730308
URL: http://svn.apache.org/viewvc?rev=1730308&view=rev
Log:
Eliminate usage of deprecated Axiom APIs.
Modified:
axis/axis2/java/core/trunk/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java
axis/axis2/java/core/trunk/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java
Modified:
axis/axis2/java/core/trunk/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java
URL:
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java?rev=1730308&r1=1730307&r2=1730308&view=diff
==============================================================================
---
axis/axis2/java/core/trunk/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java
(original)
+++
axis/axis2/java/core/trunk/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java
Sun Feb 14 10:24:00 2016
@@ -114,7 +114,7 @@ public class SOAP12InFlowHandlerDefaultB
//fault.setReason(reason);
if (roleValue != null &&
roleValue.equals(SAMPLE_ROLE + "/" + ROLE_BY_B)) {
SOAPFaultNode node =
factory.createSOAPFaultNode(fault);
- node.setNodeValue(SAMPLE_ROLE + "/" +
ROLE_BY_B);
+ node.setFaultNodeValue(SAMPLE_ROLE +
"/" + ROLE_BY_B);
SOAPFaultRole role =
factory.createSOAPFaultRole(fault);
role.setRoleValue(SAMPLE_ROLE + "/" +
ROLE_BY_B);
msgContext.setProperty(SOAP12Constants.SOAP_FAULT_NODE_LOCAL_NAME, node);
Modified:
axis/axis2/java/core/trunk/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java
URL:
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java?rev=1730308&r1=1730307&r2=1730308&view=diff
==============================================================================
---
axis/axis2/java/core/trunk/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java
(original)
+++
axis/axis2/java/core/trunk/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java
Sun Feb 14 10:24:00 2016
@@ -117,7 +117,7 @@ public class SOAP12InFlowHandlerDefaultC
//fault.setReason(reason);
if (roleValue != null &&
roleValue.equals(SAMPLE_ROLE + "/" + ROLE_BY_B)) {
SOAPFaultNode node =
factory.createSOAPFaultNode(fault);
- node.setNodeValue(SAMPLE_ROLE + "/" +
ROLE_BY_B);
+ node.setFaultNodeValue(SAMPLE_ROLE +
"/" + ROLE_BY_B);
SOAPFaultRole role =
factory.createSOAPFaultRole(fault);
role.setRoleValue(SAMPLE_ROLE + "/" +
ROLE_BY_B);
msgContext.setProperty(SOAP12Constants.SOAP_FAULT_NODE_LOCAL_NAME, node);