Author: alex.guizar(a)jboss.com
Date: 2007-03-10 12:17:10 -0500 (Sat, 10 Mar 2007)
New Revision: 2583
Modified:
trunk/jbossws-tests/src/java/org/jboss/test/ws/common/binding/SOAPBindingTestCase.java
Log:
JBCTS-442 fixed discrepancy between envelope namespace and fault subelements syntax
Modified:
trunk/jbossws-tests/src/java/org/jboss/test/ws/common/binding/SOAPBindingTestCase.java
===================================================================
---
trunk/jbossws-tests/src/java/org/jboss/test/ws/common/binding/SOAPBindingTestCase.java 2007-03-10
17:15:29 UTC (rev 2582)
+++
trunk/jbossws-tests/src/java/org/jboss/test/ws/common/binding/SOAPBindingTestCase.java 2007-03-10
17:17:10 UTC (rev 2583)
@@ -132,8 +132,12 @@
" <env:Header/>" +
" <env:Body>" +
" <env:Fault>" +
- " <faultcode>env:Client</faultcode>" +
- " <faultstring>Some fault message</faultstring>" +
+ " <env:Code>" +
+ " <env:Value>env:Sender</env:Value>" +
+ " </env:Code>" +
+ " <env:Reason>" +
+ " <env:Text xml:lang='en'>Some fault
message</env:Text>" +
+ " </env:Reason>" +
" </env:Fault>" +
" </env:Body>" +
"</env:Envelope>";
@@ -432,7 +436,7 @@
}
catch (SOAPFaultException faultEx)
{
- assertEquals("Client", faultEx.getFaultCode().getLocalPart());
+ assertEquals("Sender", faultEx.getFaultCode().getLocalPart());
assertEquals("Some fault message", faultEx.getFaultString());
}
}
Show replies by date