1 package org.apache.axis2.soap.impl.llom.soap11; 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 SOAP11BodyImpl extends SOAPBodyImpl{ 29 32 public SOAP11BodyImpl(SOAPEnvelope envelope) throws SOAPProcessingException { 33 super(envelope); 34 } 35 36 42 public SOAP11BodyImpl(SOAPEnvelope envelope, OMXMLParserWrapper builder) { 43 super(envelope, builder); 44 } 45 46 public SOAPFault addFault(Exception e) throws OMException { 47 SOAPFault soapFault = new SOAP11Factory().createSOAPFault(this, e); 48 return soapFault; 49 } 50 } 51 | Popular Tags |