Пример #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());
 }