1 16 17 package org.apache.axis2.soap; 18 19 import org.apache.axis2.om.OMAbstractFactory; 20 21 public class SOAPFaultTestCase extends SOAPBodyTestCase { 22 protected SOAPFault soap11Fault; 23 protected SOAPFault soap12Fault; 24 protected SOAPFault soap11FaultWithParser; 25 protected SOAPFault soap12FaultWithParser; 26 27 public SOAPFaultTestCase(String testName) { 28 super(testName); 29 } 30 31 protected void setUp() throws Exception { 32 super.setUp(); 33 soap11Fault = OMAbstractFactory.getSOAP11Factory().createSOAPFault(soap11Body); 34 soap12Fault = OMAbstractFactory.getSOAP12Factory().createSOAPFault(soap12Body); 35 soap11FaultWithParser = soap11BodyWithParser.getFault(); 36 soap12FaultWithParser = soap12BodyWithParser.getFault(); 37 } 38 } 39 | Popular Tags |