1 package org.apache.axis2.soap.impl.llom.soap12; 2 3 import org.apache.axis2.om.OMException; 4 import org.apache.axis2.om.OMXMLParserWrapper; 5 import org.apache.axis2.soap.SOAPEnvelope; 6 import org.apache.axis2.soap.SOAPFault; 7 import org.apache.axis2.soap.impl.llom.SOAPBodyImpl; 8 import org.apache.axis2.soap.impl.llom.SOAPProcessingException; 9 10 27 28 public class SOAP12BodyImpl extends SOAPBodyImpl{ 29 32 public SOAP12BodyImpl(SOAPEnvelope envelope) throws SOAPProcessingException { 33 super(envelope); 34 } 35 36 42 public SOAP12BodyImpl(SOAPEnvelope envelope, OMXMLParserWrapper builder) { 43 super(envelope, builder); 44 } 45 46 public SOAPFault addFault(Exception e) throws OMException { 47 SOAPFault soapFault = new SOAP12FaultImpl(this, e); 48 addFault(soapFault); 49 return soapFault; 50 } 51 } 52 | Popular Tags |