예제 #1
0
 @Override
 protected SOAPElement checkFaultCodeElement(SOAPFaultElement element) {
   assertEquals(SOAPConstants.URI_NS_SOAP_1_2_ENVELOPE, element.getNamespaceURI());
   assertEquals("Code", element.getLocalName());
   // TODO: we should do some additional tests
   return (SOAPElement) element.getChildElements().next();
 }
예제 #2
0
 @Override
 protected void checkFaultStringElement(SOAPFaultElement element) {
   assertEquals(SOAPConstants.URI_NS_SOAP_1_2_ENVELOPE, element.getNamespaceURI());
   assertEquals("Reason", element.getLocalName());
 }