1 16 17 package org.apache.axis2.soap; 18 19 public class SOAPFaultSubCodeTestCase extends SOAPFaultCodeTestCase { 20 protected SOAPFaultValue soap11FaultValue; 21 protected SOAPFaultValue soap12FaultValueInFaultCode; 22 protected SOAPFaultSubCode soap12FaultSubCodeInCode; 23 24 protected SOAPFaultValue soap12FaultValueInFaultSubCode; 25 protected SOAPFaultSubCode soap12FaultSubCodeInSubCode; 26 27 protected SOAPFaultValue soap11FaultValueWithParser; 28 protected SOAPFaultValue soap12FaultValueInFaultCodeWithParser; 29 protected SOAPFaultSubCode soap12FaultSubCodeInFaultCodeWithParser; 30 31 protected SOAPFaultValue soap12FaultValueInFaultSubCodeWithParser; 32 protected SOAPFaultSubCode soap12FaultSubCodeInSubCodeWithParser; 33 34 public SOAPFaultSubCodeTestCase(String testName) { 35 super(testName); 36 } 37 38 protected void setUp() throws Exception { 39 super.setUp(); 40 soap11FaultValue = soap11Factory.createSOAPFaultValue(soap11FaultCode); 41 42 soap12FaultValueInFaultCode = soap12Factory.createSOAPFaultValue(soap12FaultCode); 43 soap12FaultSubCodeInCode = soap12Factory.createSOAPFaultSubCode(soap12FaultCode); 44 45 46 soap12FaultSubCodeInSubCode = soap12Factory.createSOAPFaultSubCode(soap12FaultSubCodeInCode); 47 48 soap11FaultValueWithParser = soap11FaultCodeWithParser.getValue(); 49 soap12FaultValueInFaultCodeWithParser = soap12FaultCodeWithParser.getValue(); 50 soap12FaultSubCodeInFaultCodeWithParser = soap12FaultCodeWithParser.getSubCode(); 51 52 soap12FaultValueInFaultSubCodeWithParser = soap12FaultSubCodeInFaultCodeWithParser.getValue(); 53 soap12FaultSubCodeInSubCodeWithParser = soap12FaultSubCodeInFaultCodeWithParser.getSubCode(); 54 } 55 } 56 | Popular Tags |