1 16 package org.apache.axis2.om; 17 18 import org.apache.axis2.soap.SOAPEnvelope; 19 20 import javax.xml.stream.XMLOutputFactory; 21 import javax.xml.stream.XMLStreamException; 22 23 24 public class SOAPFaultTest extends AbstractTestCase { 25 private SOAPEnvelope soapEnvelope; 26 private OMOutput omOutput; 27 28 31 public SOAPFaultTest(String testName) { 32 super(testName); 33 } 34 35 protected void setUp() throws Exception { 36 super.setUp(); 37 omOutput = new OMOutput(XMLOutputFactory.newInstance(). 38 createXMLStreamWriter(System.out)); 39 } 40 41 public void testSOAPFault() throws Exception { 42 50 51 52 } 53 54 private void print() throws XMLStreamException { 55 soapEnvelope.serializeWithCache(omOutput); 56 omOutput.flush(); 57 } 58 } 59 | Popular Tags |