ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1697061 [1/2] - in /webservices/axiom/trunk: aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/ implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/factory/ implementations/axiom-dom/src/main/java/org/apac...
Date Fri, 21 Aug 2015 22:29:02 GMT
Author: veithen
Date: Fri Aug 21 22:29:01 2015
New Revision: 1697061

URL: http://svn.apache.org/r1697061
Log:
Eliminate duplicate code in SOAPFactory implementations.

Modified:
    webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAPFactorySupport.aj
    webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/SOAPHelper.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/factory/OMDOMFactory.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPBodyImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultCodeImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultReasonImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultRoleImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPHeaderImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11BodyImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultCodeImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultReasonImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultRoleImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11HeaderImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12BodyImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultCodeImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultReasonImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultRoleImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12HeaderImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListImplFactory.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPBodyImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultCodeImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultDetailImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultReasonImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultRoleImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPHeaderImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11BodyImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11Factory.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultCodeImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultDetailImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultReasonImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11FaultRoleImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11HeaderImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12BodyImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12Factory.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultCodeImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultDetailImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultReasonImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultRoleImpl.java
    webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12HeaderImpl.java

Modified: webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAPFactorySupport.aj
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAPFactorySupport.aj?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAPFactorySupport.aj (original)
+++ webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/AxiomSOAPFactorySupport.aj Fri Aug 21 22:29:01 2015
@@ -18,15 +18,47 @@
  */
 package org.apache.axiom.soap.impl.common;
 
+import javax.xml.namespace.QName;
+
+import org.apache.axiom.om.OMElement;
 import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.om.OMXMLParserWrapper;
+import org.apache.axiom.om.impl.common.AxiomContainer;
+import org.apache.axiom.soap.SOAPBody;
 import org.apache.axiom.soap.SOAPConstants;
 import org.apache.axiom.soap.SOAPEnvelope;
+import org.apache.axiom.soap.SOAPFault;
+import org.apache.axiom.soap.SOAPFaultCode;
+import org.apache.axiom.soap.SOAPFaultDetail;
+import org.apache.axiom.soap.SOAPFaultReason;
+import org.apache.axiom.soap.SOAPFaultRole;
 import org.apache.axiom.soap.SOAPHeader;
 import org.apache.axiom.soap.SOAPHeaderBlock;
 import org.apache.axiom.soap.SOAPMessage;
 
 public aspect AxiomSOAPFactorySupport {
+    private final <T extends AxiomSOAPElement> T AxiomSOAPFactory.createSOAPElement(Class<T> type, OMElement parent, QName qname, OMXMLParserWrapper builder) {
+        T element = createNSAwareElement(type);
+        if (builder != null) {
+            element.coreSetBuilder(builder);
+        } else if (parent != null) {
+            element.checkParent(parent);
+        }
+        if (parent != null) {
+            ((AxiomContainer)parent).addChild(element, builder != null);
+        }
+        if (builder != null) {
+            element.internalSetLocalName(qname.getLocalPart());
+        } else if (qname.getNamespaceURI().length() == 0) {
+            element.initName(qname.getLocalPart(), null, true);
+        } else if (parent != null) {
+            element.initName(qname.getLocalPart(), parent.getNamespace(), false);
+        } else {
+            element.initName(qname.getLocalPart(), getNamespace(), true);
+        }
+        return element;
+    }
+
     public final SOAPMessage AxiomSOAPFactory.createSOAPMessage(OMXMLParserWrapper builder) {
         AxiomSOAPMessage message = createSOAPMessage();
         // Null check for Spring-WS compatibility
@@ -48,6 +80,19 @@ public aspect AxiomSOAPFactorySupport {
         return createAxiomElement(AxiomSOAPEnvelope.class, message, SOAPConstants.SOAPENVELOPE_LOCAL_NAME, null, builder, false);
     }
 
+    public final SOAPHeader AxiomSOAPFactory.createSOAPHeader(SOAPEnvelope parent, OMXMLParserWrapper builder) {
+        SOAPHelper helper = getSOAPHelper();
+        return createSOAPElement(helper.getHeaderClass(), parent, helper.getHeaderQName(), builder);
+    }
+
+    public final SOAPHeader AxiomSOAPFactory.createSOAPHeader(SOAPEnvelope parent) {
+        return createSOAPHeader(parent, null);
+    }
+
+    public final SOAPHeader AxiomSOAPFactory.createSOAPHeader() {
+        return createSOAPHeader(null, null);
+    }
+
     public final SOAPHeaderBlock AxiomSOAPFactory.createSOAPHeaderBlock(String localName, OMNamespace ns, SOAPHeader parent) {
         return createAxiomElement(getSOAPHelper().getHeaderBlockClass(), parent, localName, ns, null, true);
     }
@@ -59,4 +104,82 @@ public aspect AxiomSOAPFactorySupport {
     public final SOAPHeaderBlock AxiomSOAPFactory.createSOAPHeaderBlock(String localName, SOAPHeader parent, OMXMLParserWrapper builder) {
         return createAxiomElement(getSOAPHelper().getHeaderBlockClass(), parent, localName, null, builder, false);
     }
+
+    public final SOAPBody AxiomSOAPFactory.createSOAPBody(SOAPEnvelope parent, OMXMLParserWrapper builder) {
+        SOAPHelper helper = getSOAPHelper();
+        return createSOAPElement(helper.getBodyClass(), parent, helper.getBodyQName(), builder);
+    }
+
+    public final SOAPBody AxiomSOAPFactory.createSOAPBody(SOAPEnvelope parent) {
+        return createSOAPBody(parent, null);
+    }
+
+    public final SOAPBody AxiomSOAPFactory.createSOAPBody() {
+        return createSOAPBody(null, null);
+    }
+
+    public final SOAPFault AxiomSOAPFactory.createSOAPFault(SOAPBody parent, OMXMLParserWrapper builder) {
+        SOAPHelper helper = getSOAPHelper();
+        return createSOAPElement(helper.getFaultClass(), parent, helper.getFaultQName(), builder);
+    }
+
+    public final SOAPFault AxiomSOAPFactory.createSOAPFault(SOAPBody parent) {
+        return createSOAPFault(parent, (OMXMLParserWrapper)null);
+    }
+
+    public final SOAPFault AxiomSOAPFactory.createSOAPFault() {
+        return createSOAPFault(null, (OMXMLParserWrapper)null);
+    }
+
+    public final SOAPFaultCode AxiomSOAPFactory.createSOAPFaultCode(SOAPFault parent, OMXMLParserWrapper builder) {
+        SOAPHelper helper = getSOAPHelper();
+        return createSOAPElement(helper.getFaultCodeClass(), parent, helper.getFaultCodeQName(), builder);
+    }
+
+    public final SOAPFaultCode AxiomSOAPFactory.createSOAPFaultCode(SOAPFault parent) {
+        return createSOAPFaultCode(parent, null);
+    }
+
+    public final SOAPFaultCode AxiomSOAPFactory.createSOAPFaultCode() {
+        return createSOAPFaultCode(null, null);
+    }
+
+    public final SOAPFaultReason AxiomSOAPFactory.createSOAPFaultReason(SOAPFault parent, OMXMLParserWrapper builder) {
+        SOAPHelper helper = getSOAPHelper();
+        return createSOAPElement(helper.getFaultReasonClass(), parent, helper.getFaultReasonQName(), builder);
+    }
+
+    public final SOAPFaultReason AxiomSOAPFactory.createSOAPFaultReason(SOAPFault parent) {
+        return createSOAPFaultReason(parent, null);
+    }
+
+    public final SOAPFaultReason AxiomSOAPFactory.createSOAPFaultReason() {
+        return createSOAPFaultReason(null, null);
+    }
+
+    public final SOAPFaultRole AxiomSOAPFactory.createSOAPFaultRole(SOAPFault parent, OMXMLParserWrapper builder) {
+        SOAPHelper helper = getSOAPHelper();
+        return createSOAPElement(helper.getFaultRoleClass(), parent, helper.getFaultRoleQName(), builder);
+    }
+
+    public final SOAPFaultRole AxiomSOAPFactory.createSOAPFaultRole(SOAPFault parent) {
+        return createSOAPFaultRole(parent, null);
+    }
+
+    public final SOAPFaultRole AxiomSOAPFactory.createSOAPFaultRole() {
+        return createSOAPFaultRole(null, null);
+    }
+
+    public final SOAPFaultDetail AxiomSOAPFactory.createSOAPFaultDetail(SOAPFault parent, OMXMLParserWrapper builder) {
+        SOAPHelper helper = getSOAPHelper();
+        return createSOAPElement(helper.getFaultDetailClass(), parent, helper.getFaultDetailQName(), builder);
+    }
+
+    public final SOAPFaultDetail AxiomSOAPFactory.createSOAPFaultDetail(SOAPFault parent) {
+        return createSOAPFaultDetail(parent, null);
+    }
+
+    public final SOAPFaultDetail AxiomSOAPFactory.createSOAPFaultDetail() {
+        return createSOAPFaultDetail(null, null);
+    }
 }

Modified: webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/SOAPHelper.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/SOAPHelper.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/SOAPHelper.java (original)
+++ webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/common/SOAPHelper.java Fri Aug 21 22:29:01 2015
@@ -34,7 +34,14 @@ import org.apache.axiom.soap.SOAPVersion
  */
 abstract class SOAPHelper {
     static final SOAPHelper SOAP11 = new SOAPHelper(SOAP11Version.getSingleton(), "SOAP 1.1",
+            AxiomSOAP11Header.class,
             AxiomSOAP11HeaderBlock.class,
+            AxiomSOAP11Body.class,
+            AxiomSOAP11Fault.class,
+            AxiomSOAP11FaultCode.class,
+            AxiomSOAP11FaultReason.class,
+            AxiomSOAP11FaultRole.class,
+            AxiomSOAP11FaultDetail.class,
             SOAP11Constants.ATTR_ACTOR, null) {
         public Boolean parseBoolean(String literal) {
             if (literal.equals("1")) {
@@ -53,7 +60,14 @@ abstract class SOAPHelper {
     };
     
     static final SOAPHelper SOAP12 = new SOAPHelper(SOAP12Version.getSingleton(), "SOAP 1.2",
+            AxiomSOAP12Header.class,
             AxiomSOAP12HeaderBlock.class,
+            AxiomSOAP12Body.class,
+            AxiomSOAP12Fault.class,
+            AxiomSOAP12FaultCode.class,
+            AxiomSOAP12FaultReason.class,
+            AxiomSOAP12FaultRole.class,
+            AxiomSOAP12FaultDetail.class,
             SOAP12Constants.SOAP_ROLE, SOAP12Constants.SOAP_RELAY) {
         public Boolean parseBoolean(String literal) {
             if (literal.equals("true") || literal.equals("1")) {
@@ -73,17 +87,47 @@ abstract class SOAPHelper {
     
     private final SOAPVersion version;
     private final String specName;
+    private final Class<? extends AxiomSOAPHeader> headerClass;
+    private final QName headerQName;
     private final Class<? extends AxiomSOAPHeaderBlock> headerBlockClass;
+    private final Class<? extends AxiomSOAPBody> bodyClass;
+    private final QName bodyQName;
+    private final Class<? extends AxiomSOAPFault> faultClass;
+    private final QName faultQName;
+    private final Class<? extends AxiomSOAPFaultCode> faultCodeClass;
+    private final Class<? extends AxiomSOAPFaultReason> faultReasonClass;
+    private final Class<? extends AxiomSOAPFaultRole> faultRoleClass;
+    private final Class<? extends AxiomSOAPFaultDetail> faultDetailClass;
     private final QName mustUnderstandAttributeQName;
     private final QName roleAttributeQName;
     private final QName relayAttributeQName;
     
     private SOAPHelper(SOAPVersion version, String specName,
+            Class<? extends AxiomSOAPHeader> headerClass,
             Class<? extends AxiomSOAPHeaderBlock> headerBlockClass,
+            Class<? extends AxiomSOAPBody> bodyClass,
+            Class<? extends AxiomSOAPFault> faultClass,
+            Class<? extends AxiomSOAPFaultCode> faultCodeClass,
+            Class<? extends AxiomSOAPFaultReason> faultReasonClass,
+            Class<? extends AxiomSOAPFaultRole> faultRoleClass,
+            Class<? extends AxiomSOAPFaultDetail> faultDetailClass,
             String roleAttributeLocalName, String relayAttributeLocalName) {
         this.version = version;
         this.specName = specName;
+        this.headerClass = headerClass;
+        headerQName = new QName(version.getEnvelopeURI(), SOAPConstants.HEADER_LOCAL_NAME,
+                SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX);
         this.headerBlockClass = headerBlockClass;
+        this.bodyClass = bodyClass;
+        bodyQName = new QName(version.getEnvelopeURI(), SOAPConstants.BODY_LOCAL_NAME,
+                SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX);
+        this.faultClass = faultClass;
+        faultQName = new QName(version.getEnvelopeURI(), SOAPConstants.SOAPFAULT_LOCAL_NAME,
+                SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX);
+        this.faultCodeClass = faultCodeClass;
+        this.faultReasonClass = faultReasonClass;
+        this.faultRoleClass = faultRoleClass;
+        this.faultDetailClass = faultDetailClass;
         mustUnderstandAttributeQName = new QName(
                 version.getEnvelopeURI(), SOAPConstants.ATTR_MUSTUNDERSTAND, SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX);
         roleAttributeQName = new QName(
@@ -100,10 +144,66 @@ abstract class SOAPHelper {
         return specName;
     }
 
+    final Class<? extends AxiomSOAPHeader> getHeaderClass() {
+        return headerClass;
+    }
+
+    final QName getHeaderQName() {
+        return headerQName;
+    }
+
     final Class<? extends AxiomSOAPHeaderBlock> getHeaderBlockClass() {
         return headerBlockClass;
     }
 
+    final Class<? extends AxiomSOAPBody> getBodyClass() {
+        return bodyClass;
+    }
+
+    final QName getBodyQName() {
+        return bodyQName;
+    }
+
+    final Class<? extends AxiomSOAPFault> getFaultClass() {
+        return faultClass;
+    }
+
+    final QName getFaultQName() {
+        return faultQName;
+    }
+
+    final Class<? extends AxiomSOAPFaultCode> getFaultCodeClass() {
+        return faultCodeClass;
+    }
+
+    final QName getFaultCodeQName() {
+        return version.getFaultCodeQName();
+    }
+
+    final Class<? extends AxiomSOAPFaultReason> getFaultReasonClass() {
+        return faultReasonClass;
+    }
+
+    final QName getFaultReasonQName() {
+        return version.getFaultReasonQName();
+    }
+
+    final Class<? extends AxiomSOAPFaultRole> getFaultRoleClass() {
+        return faultRoleClass;
+    }
+
+    final QName getFaultRoleQName() {
+        return version.getFaultRoleQName();
+    }
+
+    final Class<? extends AxiomSOAPFaultDetail> getFaultDetailClass() {
+        return faultDetailClass;
+    }
+
+    final QName getFaultDetailQName() {
+        return version.getFaultDetailQName();
+    }
+
     final QName getMustUnderstandAttributeQName() {
         return mustUnderstandAttributeQName;
     }

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/factory/OMDOMFactory.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/factory/OMDOMFactory.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/factory/OMDOMFactory.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/factory/OMDOMFactory.java Fri Aug 21 22:29:01 2015
@@ -19,6 +19,8 @@
 
 package org.apache.axiom.om.impl.dom.factory;
 
+import javax.xml.namespace.QName;
+
 import org.apache.axiom.core.CoreCDATASection;
 import org.apache.axiom.core.CoreCharacterDataNode;
 import org.apache.axiom.core.CoreDocument;
@@ -57,20 +59,54 @@ import org.apache.axiom.om.impl.dom.Docu
 import org.apache.axiom.om.impl.dom.DocumentTypeImpl;
 import org.apache.axiom.om.impl.dom.ElementImpl;
 import org.apache.axiom.om.impl.dom.EntityReferenceImpl;
-import org.apache.axiom.om.impl.dom.NamespaceDeclaration;
 import org.apache.axiom.om.impl.dom.NSAwareAttribute;
 import org.apache.axiom.om.impl.dom.NSUnawareAttribute;
+import org.apache.axiom.om.impl.dom.NamespaceDeclaration;
 import org.apache.axiom.om.impl.dom.ProcessingInstructionImpl;
 import org.apache.axiom.om.impl.dom.TextImpl;
 import org.apache.axiom.om.impl.util.OMSerializerUtil;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11Body;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11Fault;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11FaultCode;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11FaultDetail;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11FaultReason;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11FaultRole;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11Header;
 import org.apache.axiom.soap.impl.common.AxiomSOAP11HeaderBlock;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12Body;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12Fault;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultCode;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultDetail;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultNode;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultReason;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultRole;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultSubCode;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultText;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultValue;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12Header;
 import org.apache.axiom.soap.impl.common.AxiomSOAP12HeaderBlock;
 import org.apache.axiom.soap.impl.common.AxiomSOAPEnvelope;
 import org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl;
+import org.apache.axiom.soap.impl.dom.soap11.SOAP11BodyImpl;
+import org.apache.axiom.soap.impl.dom.soap11.SOAP11FaultCodeImpl;
+import org.apache.axiom.soap.impl.dom.soap11.SOAP11FaultDetailImpl;
+import org.apache.axiom.soap.impl.dom.soap11.SOAP11FaultImpl;
+import org.apache.axiom.soap.impl.dom.soap11.SOAP11FaultReasonImpl;
+import org.apache.axiom.soap.impl.dom.soap11.SOAP11FaultRoleImpl;
 import org.apache.axiom.soap.impl.dom.soap11.SOAP11HeaderBlockImpl;
+import org.apache.axiom.soap.impl.dom.soap11.SOAP11HeaderImpl;
+import org.apache.axiom.soap.impl.dom.soap12.SOAP12BodyImpl;
+import org.apache.axiom.soap.impl.dom.soap12.SOAP12FaultCodeImpl;
+import org.apache.axiom.soap.impl.dom.soap12.SOAP12FaultDetailImpl;
+import org.apache.axiom.soap.impl.dom.soap12.SOAP12FaultImpl;
+import org.apache.axiom.soap.impl.dom.soap12.SOAP12FaultNodeImpl;
+import org.apache.axiom.soap.impl.dom.soap12.SOAP12FaultReasonImpl;
+import org.apache.axiom.soap.impl.dom.soap12.SOAP12FaultRoleImpl;
+import org.apache.axiom.soap.impl.dom.soap12.SOAP12FaultSubCodeImpl;
+import org.apache.axiom.soap.impl.dom.soap12.SOAP12FaultTextImpl;
+import org.apache.axiom.soap.impl.dom.soap12.SOAP12FaultValueImpl;
 import org.apache.axiom.soap.impl.dom.soap12.SOAP12HeaderBlockImpl;
-
-import javax.xml.namespace.QName;
+import org.apache.axiom.soap.impl.dom.soap12.SOAP12HeaderImpl;
 
 /**
  * OM factory implementation for DOOM. It creates nodes that implement
@@ -302,10 +338,46 @@ public class OMDOMFactory implements Axi
             element = new ElementImpl(this);
         } else if (type == AxiomSOAPEnvelope.class) {
             element = new SOAPEnvelopeImpl(this);
+        } else if (type == AxiomSOAP11Header.class) {
+            element = new SOAP11HeaderImpl(this);
+        } else if (type == AxiomSOAP12Header.class) {
+            element = new SOAP12HeaderImpl(this);
         } else if (type == AxiomSOAP11HeaderBlock.class) {
             element = new SOAP11HeaderBlockImpl(this);
         } else if (type == AxiomSOAP12HeaderBlock.class) {
             element = new SOAP12HeaderBlockImpl(this);
+        } else if (type == AxiomSOAP11Body.class) {
+            element = new SOAP11BodyImpl(this);
+        } else if (type == AxiomSOAP12Body.class) {
+            element = new SOAP12BodyImpl(this);
+        } else if (type == AxiomSOAP11Fault.class) {
+            element = new SOAP11FaultImpl(this);
+        } else if (type == AxiomSOAP12Fault.class) {
+            element = new SOAP12FaultImpl(this);
+        } else if (type == AxiomSOAP11FaultCode.class) {
+            element = new SOAP11FaultCodeImpl(this);
+        } else if (type == AxiomSOAP12FaultCode.class) {
+            element = new SOAP12FaultCodeImpl(this);
+        } else if (type == AxiomSOAP12FaultValue.class) {
+            element = new SOAP12FaultValueImpl(this);
+        } else if (type == AxiomSOAP12FaultSubCode.class) {
+            element = new SOAP12FaultSubCodeImpl(this);
+        } else if (type == AxiomSOAP11FaultReason.class) {
+            element = new SOAP11FaultReasonImpl(this);
+        } else if (type == AxiomSOAP12FaultReason.class) {
+            element = new SOAP12FaultReasonImpl(this);
+        } else if (type == AxiomSOAP12FaultText.class) {
+            element = new SOAP12FaultTextImpl(this);
+        } else if (type == AxiomSOAP12FaultNode.class) {
+            element = new SOAP12FaultNodeImpl(this);
+        } else if (type == AxiomSOAP11FaultRole.class) {
+            element = new SOAP11FaultRoleImpl(this);
+        } else if (type == AxiomSOAP12FaultRole.class) {
+            element = new SOAP12FaultRoleImpl(this);
+        } else if (type == AxiomSOAP11FaultDetail.class) {
+            element = new SOAP11FaultDetailImpl(this);
+        } else if (type == AxiomSOAP12FaultDetail.class) {
+            element = new SOAP12FaultDetailImpl(this);
         } else {
             throw new IllegalArgumentException();
         }

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPBodyImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPBodyImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPBodyImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPBodyImpl.java Fri Aug 21 22:29:01 2015
@@ -26,7 +26,6 @@ import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.om.OMXMLParserWrapper;
 import org.apache.axiom.om.impl.dom.ParentNode;
-import org.apache.axiom.soap.SOAPBody;
 import org.apache.axiom.soap.SOAPConstants;
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
@@ -40,13 +39,6 @@ public abstract class SOAPBodyImpl exten
         super(factory);
     }
 
-    /** @param envelope  */
-    public SOAPBodyImpl(SOAPEnvelope envelope, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(envelope, SOAPConstants.BODY_LOCAL_NAME, true, factory);
-
-    }
-
     public SOAPBodyImpl(ParentNode parentNode, OMNamespace ns,
             OMXMLParserWrapper builder, OMFactory factory, boolean generateNSDecl) {
         super(parentNode, SOAPConstants.BODY_LOCAL_NAME, ns, builder, factory, generateNSDecl);

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultCodeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultCodeImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultCodeImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultCodeImpl.java Fri Aug 21 22:29:01 2015
@@ -25,9 +25,7 @@ import org.apache.axiom.om.OMXMLParserWr
 import org.apache.axiom.om.impl.dom.ParentNode;
 import org.apache.axiom.soap.SOAP12Constants;
 import org.apache.axiom.soap.SOAPFactory;
-import org.apache.axiom.soap.SOAPFault;
 import org.apache.axiom.soap.SOAPFaultSubCode;
-import org.apache.axiom.soap.SOAPProcessingException;
 import org.apache.axiom.soap.impl.common.AxiomSOAPFaultCode;
 
 public abstract class SOAPFaultCodeImpl extends SOAPElement implements AxiomSOAPFaultCode {
@@ -41,14 +39,6 @@ public abstract class SOAPFaultCodeImpl
                 ns, builder, factory, generateNSDecl);
     }
 
-    /** @param parent  */
-    public SOAPFaultCodeImpl(SOAPFault parent,
-                             boolean extractNamespaceFromParent,
-                             SOAPFactory factory) throws SOAPProcessingException {
-        super(parent, factory.getSOAPVersion().getFaultCodeQName().getLocalPart(),
-              extractNamespaceFromParent, factory);
-    }
-
     public SOAPFaultSubCode getSubCode() {
         return (SOAPFaultSubCode)getFirstChildWithName(SOAP12Constants.QNAME_FAULT_SUBCODE);
     }

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultImpl.java Fri Aug 21 22:29:01 2015
@@ -66,11 +66,6 @@ public abstract class SOAPFaultImpl exte
         putExceptionToSOAPFault(e);
     }
 
-    public SOAPFaultImpl(SOAPBody parent, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(parent, SOAPConstants.SOAPFAULT_LOCAL_NAME, true, factory);
-    }
-
     public SOAPFaultImpl(ParentNode parentNode, OMNamespace ns,
             OMXMLParserWrapper builder, OMFactory factory, boolean generateNSDecl) {
         super(parentNode, SOAPConstants.SOAPFAULT_LOCAL_NAME, ns, builder, factory, generateNSDecl);

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultReasonImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultReasonImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultReasonImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultReasonImpl.java Fri Aug 21 22:29:01 2015
@@ -19,7 +19,6 @@
 
 package org.apache.axiom.soap.impl.dom;
 
-import org.apache.axiom.om.OMElement;
 import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.om.OMNode;
@@ -49,14 +48,6 @@ public abstract class SOAPFaultReasonImp
                 ns, builder, factory, generateNSDecl);
     }
 
-    /** @param parent  */
-    public SOAPFaultReasonImpl(OMElement parent,
-                               boolean extractNamespaceFromParent, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(parent, factory.getSOAPVersion().getFaultReasonQName().getLocalPart(),
-              extractNamespaceFromParent, factory);
-    }
-
     public void addSOAPText(SOAPFaultText soapFaultText) throws SOAPProcessingException {
         ElementHelper.setNewElement(this, text, soapFaultText);
     }

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultRoleImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultRoleImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultRoleImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPFaultRoleImpl.java Fri Aug 21 22:29:01 2015
@@ -24,8 +24,6 @@ import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.om.OMXMLParserWrapper;
 import org.apache.axiom.om.impl.dom.ParentNode;
 import org.apache.axiom.soap.SOAPFactory;
-import org.apache.axiom.soap.SOAPFault;
-import org.apache.axiom.soap.SOAPProcessingException;
 import org.apache.axiom.soap.impl.common.AxiomSOAPFaultRole;
 
 public abstract class SOAPFaultRoleImpl extends SOAPElement implements
@@ -35,13 +33,6 @@ public abstract class SOAPFaultRoleImpl
         super(factory);
     }
 
-    public SOAPFaultRoleImpl(SOAPFault parent,
-                             String localName,
-                             boolean extractNamespaceFromParent,
-                             SOAPFactory factory) throws SOAPProcessingException {
-        super(parent, localName, extractNamespaceFromParent, factory);
-    }
-
     public SOAPFaultRoleImpl(ParentNode parentNode, OMNamespace ns,
             OMXMLParserWrapper builder, OMFactory factory, boolean generateNSDecl) {
         super(parentNode, ((SOAPFactory)factory).getSOAPVersion().getFaultRoleQName().getLocalPart(), ns, builder, factory, generateNSDecl);

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPHeaderImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPHeaderImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPHeaderImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPHeaderImpl.java Fri Aug 21 22:29:01 2015
@@ -29,7 +29,6 @@ import org.apache.axiom.om.impl.OMNodeEx
 import org.apache.axiom.om.impl.dom.ParentNode;
 import org.apache.axiom.soap.RolePlayer;
 import org.apache.axiom.soap.SOAPConstants;
-import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
 import org.apache.axiom.soap.SOAPHeaderBlock;
 import org.apache.axiom.soap.SOAPProcessingException;
@@ -50,13 +49,6 @@ public abstract class SOAPHeaderImpl ext
         super(factory);
     }
 
-    /** @param envelope  */
-    public SOAPHeaderImpl(SOAPEnvelope envelope, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(envelope, SOAPConstants.HEADER_LOCAL_NAME, true, factory);
-
-    }
-
     public SOAPHeaderImpl(ParentNode parentNode, OMNamespace ns,
             OMXMLParserWrapper builder, OMFactory factory, boolean generateNSDecl) {
         super(parentNode, SOAPConstants.HEADER_LOCAL_NAME, ns, builder, factory, generateNSDecl);

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11BodyImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11BodyImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11BodyImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11BodyImpl.java Fri Aug 21 22:29:01 2015
@@ -26,10 +26,8 @@ import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.om.OMXMLParserWrapper;
 import org.apache.axiom.om.impl.dom.ParentNode;
-import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
 import org.apache.axiom.soap.SOAPFault;
-import org.apache.axiom.soap.SOAPProcessingException;
 import org.apache.axiom.soap.impl.common.AxiomSOAP11Body;
 import org.apache.axiom.soap.impl.dom.SOAPBodyImpl;
 
@@ -38,12 +36,6 @@ public class SOAP11BodyImpl extends SOAP
         super(factory);
     }
 
-    /** @param envelope  */
-    public SOAP11BodyImpl(SOAPEnvelope envelope, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(envelope, factory);
-    }
-
     public SOAP11BodyImpl(ParentNode parentNode, OMNamespace ns, OMXMLParserWrapper builder,
             OMFactory factory, boolean generateNSDecl) {
         super(parentNode, ns, builder, factory, generateNSDecl);

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java Fri Aug 21 22:29:01 2015
@@ -20,24 +20,18 @@
 package org.apache.axiom.soap.impl.dom.soap11;
 
 import org.apache.axiom.om.OMNamespace;
-import org.apache.axiom.om.OMXMLParserWrapper;
 import org.apache.axiom.om.impl.common.OMNamespaceImpl;
-import org.apache.axiom.om.impl.dom.ParentNode;
 import org.apache.axiom.om.impl.dom.factory.OMDOMMetaFactory;
 import org.apache.axiom.soap.SOAP11Constants;
 import org.apache.axiom.soap.SOAPBody;
 import org.apache.axiom.soap.SOAPEnvelope;
-import org.apache.axiom.soap.SOAPFactory;
 import org.apache.axiom.soap.SOAPFault;
 import org.apache.axiom.soap.SOAPFaultCode;
-import org.apache.axiom.soap.SOAPFaultDetail;
 import org.apache.axiom.soap.SOAPFaultNode;
 import org.apache.axiom.soap.SOAPFaultReason;
-import org.apache.axiom.soap.SOAPFaultRole;
 import org.apache.axiom.soap.SOAPFaultSubCode;
 import org.apache.axiom.soap.SOAPFaultText;
 import org.apache.axiom.soap.SOAPFaultValue;
-import org.apache.axiom.soap.SOAPHeader;
 import org.apache.axiom.soap.SOAPProcessingException;
 import org.apache.axiom.soap.SOAPVersion;
 import org.apache.axiom.soap.SOAP11Version;
@@ -62,65 +56,11 @@ public class SOAP11Factory extends SOAPF
         return SOAP11Version.getSingleton();
     }
 
-    public SOAPHeader createSOAPHeader() throws SOAPProcessingException {
-        return new SOAP11HeaderImpl(null, getNamespace(), null, this, true);
-    }
-
-    public SOAPHeader createSOAPHeader(SOAPEnvelope envelope)
-            throws SOAPProcessingException {
-        return new SOAP11HeaderImpl(envelope, this);
-    }
-
-    public SOAPHeader createSOAPHeader(SOAPEnvelope envelope,
-                                       OMXMLParserWrapper builder) {
-        return new SOAP11HeaderImpl((ParentNode)envelope, null, builder, this, false);
-    }
-
-
     public SOAPFault createSOAPFault(SOAPBody parent, Exception e)
             throws SOAPProcessingException {
         return new SOAP11FaultImpl(parent, e, this);
     }
 
-    public SOAPFault createSOAPFault(SOAPBody parent)
-            throws SOAPProcessingException {
-        return new SOAP11FaultImpl(parent, this);
-    }
-
-    public SOAPFault createSOAPFault(SOAPBody parent,
-                                     OMXMLParserWrapper builder) {
-        return new SOAP11FaultImpl((ParentNode)parent, null, builder, this, false);
-    }
-
-    public SOAPBody createSOAPBody() throws SOAPProcessingException {
-        return new SOAP11BodyImpl(null, getNamespace(), null, this, true);
-    }
-
-    public SOAPBody createSOAPBody(SOAPEnvelope envelope)
-            throws SOAPProcessingException {
-        return new SOAP11BodyImpl(envelope, (SOAPFactory) envelope
-                .getOMFactory());
-    }
-
-    public SOAPBody createSOAPBody(SOAPEnvelope envelope,
-                                   OMXMLParserWrapper builder) {
-        return new SOAP11BodyImpl((ParentNode)envelope, null, builder, this, false);
-    }
-
-    public SOAPFaultCode createSOAPFaultCode(SOAPFault parent)
-            throws SOAPProcessingException {
-        return new SOAP11FaultCodeImpl(parent, this);
-    }
-
-    public SOAPFaultCode createSOAPFaultCode(SOAPFault parent,
-                                             OMXMLParserWrapper builder) {
-        return new SOAP11FaultCodeImpl((ParentNode)parent, null, builder, this, false);
-    }
-
-    public SOAPFaultCode createSOAPFaultCode() {
-        return new SOAP11FaultCodeImpl(null, null, null, this, true);
-    }
-
     public SOAPFaultValue createSOAPFaultValue() throws SOAPProcessingException {
         throw new UnsupportedOperationException();
     }
@@ -151,20 +91,6 @@ public class SOAP11Factory extends SOAPF
         throw new UnsupportedOperationException();
     }
 
-    public SOAPFaultReason createSOAPFaultReason(SOAPFault parent)
-            throws SOAPProcessingException {
-        return new SOAP11FaultReasonImpl(parent, this);
-    }
-
-    public SOAPFaultReason createSOAPFaultReason(SOAPFault parent,
-                                                 OMXMLParserWrapper builder) {
-        return new SOAP11FaultReasonImpl((ParentNode)parent, null, builder, this, false);
-    }
-
-    public SOAPFaultReason createSOAPFaultReason() {
-        return new SOAP11FaultReasonImpl(null, null, null, this, true);
-    }
-
     public SOAPFaultText createSOAPFaultText() throws SOAPProcessingException {
         throw new UnsupportedOperationException();
     }
@@ -183,43 +109,11 @@ public class SOAP11Factory extends SOAPF
         throw new UnsupportedOperationException("SOAP 1.1 has no SOAP Fault Node");
     }
 
-    public SOAPFaultRole createSOAPFaultRole(SOAPFault parent)
-            throws SOAPProcessingException {
-        return new SOAP11FaultRoleImpl(parent, this);
-    }
-
-    public SOAPFaultRole createSOAPFaultRole(SOAPFault parent,
-                                             OMXMLParserWrapper builder) {
-        return new SOAP11FaultRoleImpl((ParentNode)parent, null, builder, this, false);
-    }
-
-    public SOAPFaultRole createSOAPFaultRole() {
-        return new SOAP11FaultRoleImpl(null, null, null, this, true);
-    }
-
-    public SOAPFaultDetail createSOAPFaultDetail(SOAPFault parent)
-            throws SOAPProcessingException {
-        return new SOAP11FaultDetailImpl(parent, this);
-    }
-
-    public SOAPFaultDetail createSOAPFaultDetail(SOAPFault parent,
-                                                 OMXMLParserWrapper builder) {
-        return new SOAP11FaultDetailImpl((ParentNode)parent, null, builder, this, false);
-    }
-
-    public SOAPFaultDetail createSOAPFaultDetail() {
-        return new SOAP11FaultDetailImpl(null, null, null, this, true);
-    }
-
     public OMNamespace getNamespace() {
         return new OMNamespaceImpl(SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI,
                                  SOAP11Constants.SOAP_DEFAULT_NAMESPACE_PREFIX);
     }
 
-    public SOAPFault createSOAPFault() throws SOAPProcessingException {
-        return new SOAP11FaultImpl(null, getNamespace(), null, this, true);
-    }
-
     public SOAPEnvelope getDefaultFaultEnvelope() throws SOAPProcessingException {
         SOAPEnvelope defaultEnvelope = getDefaultEnvelope();
         SOAPFault fault = createSOAPFault(defaultEnvelope.getBody());

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultCodeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultCodeImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultCodeImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultCodeImpl.java Fri Aug 21 22:29:01 2015
@@ -25,8 +25,6 @@ import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.om.OMXMLParserWrapper;
 import org.apache.axiom.om.impl.dom.ParentNode;
-import org.apache.axiom.soap.SOAPFactory;
-import org.apache.axiom.soap.SOAPFault;
 import org.apache.axiom.soap.SOAPFaultSubCode;
 import org.apache.axiom.soap.SOAPFaultValue;
 import org.apache.axiom.soap.SOAPProcessingException;
@@ -45,13 +43,6 @@ public class SOAP11FaultCodeImpl extends
         super(parentNode, ns, builder, factory, generateNSDecl);
     }
 
-    /** @param parent  */
-    public SOAP11FaultCodeImpl(SOAPFault parent, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(parent, false, factory);
-    }
-
-
     public void setSubCode(SOAPFaultSubCode subCode) throws SOAPProcessingException {
         throw new UnsupportedOperationException();
     }

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultImpl.java Fri Aug 21 22:29:01 2015
@@ -48,16 +48,6 @@ public class SOAP11FaultImpl extends SOA
         super(parentNode, ns, builder, factory, generateNSDecl);
     }
 
-    /**
-     * This is a convenience method for the SOAP Fault Impl.
-     *
-     * @param parent
-     */
-    public SOAP11FaultImpl(SOAPBody parent, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(parent, factory);
-    }
-
     protected SOAPFaultDetail getNewSOAPFaultDetail(SOAPFault fault)
             throws SOAPProcessingException {
         return new SOAP11FaultDetailImpl(fault, (SOAPFactory)getOMFactory());

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultReasonImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultReasonImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultReasonImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultReasonImpl.java Fri Aug 21 22:29:01 2015
@@ -25,8 +25,6 @@ import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.om.OMXMLParserWrapper;
 import org.apache.axiom.om.impl.dom.ParentNode;
-import org.apache.axiom.soap.SOAPFactory;
-import org.apache.axiom.soap.SOAPFault;
 import org.apache.axiom.soap.SOAPFaultText;
 import org.apache.axiom.soap.SOAPProcessingException;
 import org.apache.axiom.soap.impl.common.AxiomSOAP11FaultReason;
@@ -42,12 +40,6 @@ public class SOAP11FaultReasonImpl exten
         super(parentNode, ns, builder, factory, generateNSDecl);
     }
 
-    /** @param parent  */
-    public SOAP11FaultReasonImpl(SOAPFault parent, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(parent, false, factory);
-    }
-
     public void addSOAPText(SOAPFaultText soapFaultText)
             throws SOAPProcessingException {
         throw new UnsupportedOperationException("addSOAPText() not allowed for SOAP 1.1!");

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultRoleImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultRoleImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultRoleImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11FaultRoleImpl.java Fri Aug 21 22:29:01 2015
@@ -25,9 +25,6 @@ import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.om.OMXMLParserWrapper;
 import org.apache.axiom.om.impl.dom.ParentNode;
-import org.apache.axiom.soap.SOAP11Constants;
-import org.apache.axiom.soap.SOAPFactory;
-import org.apache.axiom.soap.SOAPFault;
 import org.apache.axiom.soap.SOAPProcessingException;
 import org.apache.axiom.soap.impl.common.AxiomSOAP11FaultRole;
 import org.apache.axiom.soap.impl.dom.SOAPFaultRoleImpl;
@@ -37,12 +34,6 @@ public class SOAP11FaultRoleImpl extends
         super(factory);
     }
 
-    public SOAP11FaultRoleImpl(SOAPFault parent, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(parent, SOAP11Constants.SOAP_FAULT_ACTOR_LOCAL_NAME, false,
-              factory);
-    }
-
     public SOAP11FaultRoleImpl(ParentNode parentNode, OMNamespace ns, OMXMLParserWrapper builder,
             OMFactory factory, boolean generateNSDecl) {
         super(parentNode, ns, builder, factory, generateNSDecl);

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11HeaderImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11HeaderImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11HeaderImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11HeaderImpl.java Fri Aug 21 22:29:01 2015
@@ -27,9 +27,6 @@ import org.apache.axiom.om.OMXMLParserWr
 import org.apache.axiom.om.impl.dom.ParentNode;
 import org.apache.axiom.om.impl.traverse.OMChildrenWithSpecificAttributeIterator;
 import org.apache.axiom.soap.SOAP11Constants;
-import org.apache.axiom.soap.SOAPEnvelope;
-import org.apache.axiom.soap.SOAPFactory;
-import org.apache.axiom.soap.SOAPProcessingException;
 import org.apache.axiom.soap.impl.common.AxiomSOAP11Header;
 import org.apache.axiom.soap.impl.dom.SOAPHeaderImpl;
 
@@ -42,12 +39,6 @@ public class SOAP11HeaderImpl extends SO
         super(factory);
     }
 
-    /** @param envelope  */
-    public SOAP11HeaderImpl(SOAPEnvelope envelope, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(envelope, factory);
-    }
-
     public SOAP11HeaderImpl(ParentNode parentNode, OMNamespace ns, OMXMLParserWrapper builder,
             OMFactory factory, boolean generateNSDecl) {
         super(parentNode, ns, builder, factory, generateNSDecl);

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12BodyImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12BodyImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12BodyImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12BodyImpl.java Fri Aug 21 22:29:01 2015
@@ -26,10 +26,8 @@ import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.om.OMXMLParserWrapper;
 import org.apache.axiom.om.impl.dom.ParentNode;
-import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
 import org.apache.axiom.soap.SOAPFault;
-import org.apache.axiom.soap.SOAPProcessingException;
 import org.apache.axiom.soap.impl.common.AxiomSOAP12Body;
 import org.apache.axiom.soap.impl.dom.SOAPBodyImpl;
 
@@ -38,12 +36,6 @@ public class SOAP12BodyImpl extends SOAP
         super(factory);
     }
 
-    /** @param envelope  */
-    public SOAP12BodyImpl(SOAPEnvelope envelope, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(envelope, factory);
-    }
-
     public SOAP12BodyImpl(ParentNode parentNode, OMNamespace ns, OMXMLParserWrapper builder,
             OMFactory factory, boolean generateNSDecl) {
         super(parentNode, ns, builder, factory, generateNSDecl);

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java Fri Aug 21 22:29:01 2015
@@ -29,14 +29,11 @@ import org.apache.axiom.soap.SOAPBody;
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFault;
 import org.apache.axiom.soap.SOAPFaultCode;
-import org.apache.axiom.soap.SOAPFaultDetail;
 import org.apache.axiom.soap.SOAPFaultNode;
 import org.apache.axiom.soap.SOAPFaultReason;
-import org.apache.axiom.soap.SOAPFaultRole;
 import org.apache.axiom.soap.SOAPFaultSubCode;
 import org.apache.axiom.soap.SOAPFaultText;
 import org.apache.axiom.soap.SOAPFaultValue;
-import org.apache.axiom.soap.SOAPHeader;
 import org.apache.axiom.soap.SOAPProcessingException;
 import org.apache.axiom.soap.SOAPVersion;
 import org.apache.axiom.soap.SOAP12Version;
@@ -61,58 +58,10 @@ public class SOAP12Factory extends SOAPF
         return SOAP12Version.getSingleton();
     }
 
-    public SOAPHeader createSOAPHeader() throws SOAPProcessingException {
-        return new SOAP12HeaderImpl(null, getNamespace(), null, this, true);
-    }
-
-    public SOAPHeader createSOAPHeader(SOAPEnvelope envelope) throws SOAPProcessingException {
-        return new SOAP12HeaderImpl(envelope, this);
-    }
-
-    public SOAPHeader createSOAPHeader(SOAPEnvelope envelope,
-                                       OMXMLParserWrapper builder) {
-        return new SOAP12HeaderImpl((ParentNode)envelope, null, builder, this, false);
-    }
-
     public SOAPFault createSOAPFault(SOAPBody parent, Exception e) throws SOAPProcessingException {
         return new SOAP12FaultImpl(parent, e, this);
     }
 
-    public SOAPFault createSOAPFault(SOAPBody parent) throws SOAPProcessingException {
-        return new SOAP12FaultImpl(parent, this);
-    }
-
-    public SOAPFault createSOAPFault(SOAPBody parent,
-                                     OMXMLParserWrapper builder) {
-        return new SOAP12FaultImpl((ParentNode)parent, null, builder, this, false);
-    }
-
-    public SOAPBody createSOAPBody() throws SOAPProcessingException {
-        return new SOAP12BodyImpl(null, getNamespace(), null, this, true);
-    }
-
-    public SOAPBody createSOAPBody(SOAPEnvelope envelope) throws SOAPProcessingException {
-        return new SOAP12BodyImpl(envelope, this);
-    }
-
-    public SOAPBody createSOAPBody(SOAPEnvelope envelope,
-                                   OMXMLParserWrapper builder) {
-        return new SOAP12BodyImpl((ParentNode)envelope, null, builder, this, false);
-    }
-
-    public SOAPFaultCode createSOAPFaultCode(SOAPFault parent) throws SOAPProcessingException {
-        return new SOAP12FaultCodeImpl(parent, this);
-    }
-
-    public SOAPFaultCode createSOAPFaultCode(SOAPFault parent,
-                                             OMXMLParserWrapper builder) {
-        return new SOAP12FaultCodeImpl((ParentNode)parent, null, builder, this, false);
-    }
-
-    public SOAPFaultCode createSOAPFaultCode() {
-        return new SOAP12FaultCodeImpl(null, getNamespace(), null, this, true);
-    }
-
     public SOAPFaultValue createSOAPFaultValue() throws SOAPProcessingException {
         return new SOAP12FaultValueImpl(null, getNamespace(), null, this, true);
     }
@@ -165,19 +114,6 @@ public class SOAP12Factory extends SOAPF
         return new SOAP12FaultSubCodeImpl((ParentNode)parent, null, builder, this, false);
     }
 
-    public SOAPFaultReason createSOAPFaultReason(SOAPFault parent) throws SOAPProcessingException {
-        return new SOAP12FaultReasonImpl(parent, this);
-    }
-
-    public SOAPFaultReason createSOAPFaultReason(SOAPFault parent,
-                                                 OMXMLParserWrapper builder) {
-        return new SOAP12FaultReasonImpl((ParentNode)parent, null, builder, this, false);
-    }
-
-    public SOAPFaultReason createSOAPFaultReason() {
-        return new SOAP12FaultReasonImpl(null, getNamespace(), null, this, true);
-    }
-
     public SOAPFaultText createSOAPFaultText() throws SOAPProcessingException {
         return new SOAP12FaultTextImpl(null, getNamespace(), null, this, true);
     }
@@ -205,41 +141,11 @@ public class SOAP12Factory extends SOAPF
         return new SOAP12FaultNodeImpl((ParentNode)parent, null, builder, this, false);
     }
 
-    public SOAPFaultRole createSOAPFaultRole(SOAPFault parent) throws SOAPProcessingException {
-        return new SOAP12FaultRoleImpl(parent, this);
-    }
-
-    public SOAPFaultRole createSOAPFaultRole(SOAPFault parent,
-                                             OMXMLParserWrapper builder) {
-        return new SOAP12FaultRoleImpl((ParentNode)parent, null, builder, this, false);
-    }
-
-    public SOAPFaultRole createSOAPFaultRole() {
-        return new SOAP12FaultRoleImpl(null, getNamespace(), null, this, true);
-    }
-
-    public SOAPFaultDetail createSOAPFaultDetail(SOAPFault parent) throws SOAPProcessingException {
-        return new SOAP12FaultDetailImpl(parent, this);
-    }
-
-    public SOAPFaultDetail createSOAPFaultDetail(SOAPFault parent,
-                                                 OMXMLParserWrapper builder) {
-        return new SOAP12FaultDetailImpl((ParentNode)parent, null, builder, this, false);
-    }
-
-    public SOAPFaultDetail createSOAPFaultDetail() {
-        return new SOAP12FaultDetailImpl(null, getNamespace(), null, this, true);
-    }
-
     public OMNamespace getNamespace() {
         return new OMNamespaceImpl(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI,
                                  SOAP12Constants.SOAP_DEFAULT_NAMESPACE_PREFIX);
     }
 
-    public SOAPFault createSOAPFault() throws SOAPProcessingException {
-        return new SOAP12FaultImpl(null, getNamespace(), null, this, true);
-    }
-
     public SOAPEnvelope getDefaultFaultEnvelope() throws SOAPProcessingException {
         SOAPEnvelope defaultEnvelope = getDefaultEnvelope();
         SOAPFault fault = createSOAPFault(defaultEnvelope.getBody());

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultCodeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultCodeImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultCodeImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultCodeImpl.java Fri Aug 21 22:29:01 2015
@@ -28,7 +28,6 @@ import org.apache.axiom.om.impl.dom.Pare
 import org.apache.axiom.om.util.ElementHelper;
 import org.apache.axiom.soap.SOAP12Constants;
 import org.apache.axiom.soap.SOAPFactory;
-import org.apache.axiom.soap.SOAPFault;
 import org.apache.axiom.soap.SOAPFaultSubCode;
 import org.apache.axiom.soap.SOAPFaultValue;
 import org.apache.axiom.soap.SOAPProcessingException;
@@ -47,13 +46,6 @@ public class SOAP12FaultCodeImpl extends
         super(parentNode, ns, builder, factory, generateNSDecl);
     }
 
-    /** @param parent  */
-    public SOAP12FaultCodeImpl(SOAPFault parent, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(parent, true, factory);
-    }
-
-
     public void setSubCode(SOAPFaultSubCode subCode)
             throws SOAPProcessingException {
         if (!(subCode instanceof SOAP12FaultSubCodeImpl)) {

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultImpl.java Fri Aug 21 22:29:01 2015
@@ -48,16 +48,6 @@ public class SOAP12FaultImpl extends SOA
         super(parentNode, ns, builder, factory, generateNSDecl);
     }
 
-    /**
-     * This is a convenience method for the SOAP Fault Impl.
-     *
-     * @param parent
-     */
-    public SOAP12FaultImpl(SOAPBody parent, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(parent, factory);
-    }
-
     protected SOAPFaultDetail getNewSOAPFaultDetail(SOAPFault fault) {
         return new SOAP12FaultDetailImpl(fault, (SOAPFactory)getOMFactory());
 

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultReasonImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultReasonImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultReasonImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultReasonImpl.java Fri Aug 21 22:29:01 2015
@@ -25,8 +25,6 @@ import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.om.OMXMLParserWrapper;
 import org.apache.axiom.om.impl.dom.ParentNode;
-import org.apache.axiom.soap.SOAPFactory;
-import org.apache.axiom.soap.SOAPFault;
 import org.apache.axiom.soap.SOAPFaultText;
 import org.apache.axiom.soap.SOAPProcessingException;
 import org.apache.axiom.soap.SOAP12Constants;
@@ -43,12 +41,6 @@ public class SOAP12FaultReasonImpl exten
         super(parentNode, ns, builder, factory, generateNSDecl);
     }
 
-    /** @param parent  */
-    public SOAP12FaultReasonImpl(SOAPFault parent, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(parent, true, factory);
-    }
-
     public void addSOAPText(SOAPFaultText soapFaultText)
             throws SOAPProcessingException {
         if (!(soapFaultText instanceof SOAP12FaultTextImpl)) {

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultRoleImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultRoleImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultRoleImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultRoleImpl.java Fri Aug 21 22:29:01 2015
@@ -37,11 +37,6 @@ public class SOAP12FaultRoleImpl extends
         super(factory);
     }
 
-    public SOAP12FaultRoleImpl(SOAPFault parent, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(parent, SOAP12Constants.SOAP_FAULT_ROLE_LOCAL_NAME, true, factory);
-    }
-
     public SOAP12FaultRoleImpl(ParentNode parentNode, OMNamespace ns, OMXMLParserWrapper builder,
             OMFactory factory, boolean generateNSDecl) {
         super(parentNode, ns, builder, factory, generateNSDecl);

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12HeaderImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12HeaderImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12HeaderImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12HeaderImpl.java Fri Aug 21 22:29:01 2015
@@ -27,9 +27,6 @@ import org.apache.axiom.om.OMXMLParserWr
 import org.apache.axiom.om.impl.dom.ParentNode;
 import org.apache.axiom.om.impl.traverse.OMChildrenWithSpecificAttributeIterator;
 import org.apache.axiom.soap.SOAP12Constants;
-import org.apache.axiom.soap.SOAPEnvelope;
-import org.apache.axiom.soap.SOAPFactory;
-import org.apache.axiom.soap.SOAPProcessingException;
 import org.apache.axiom.soap.impl.common.AxiomSOAP12Header;
 import org.apache.axiom.soap.impl.dom.SOAPHeaderImpl;
 
@@ -42,12 +39,6 @@ public class SOAP12HeaderImpl extends SO
         super(factory);
     }
 
-    /** @param envelope  */
-    public SOAP12HeaderImpl(SOAPEnvelope envelope, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(envelope, factory);
-    }
-
     public SOAP12HeaderImpl(ParentNode parentNode, OMNamespace ns, OMXMLParserWrapper builder,
             OMFactory factory, boolean generateNSDecl) {
         super(parentNode, ns, builder, factory, generateNSDecl);

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListImplFactory.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListImplFactory.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListImplFactory.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/factory/OMLinkedListImplFactory.java Fri Aug 21 22:29:01 2015
@@ -19,6 +19,8 @@
 
 package org.apache.axiom.om.impl.llom.factory;
 
+import javax.xml.namespace.QName;
+
 import org.apache.axiom.core.CoreCDATASection;
 import org.apache.axiom.core.CoreCharacterDataNode;
 import org.apache.axiom.core.CoreDocument;
@@ -60,14 +62,48 @@ import org.apache.axiom.om.impl.llom.OME
 import org.apache.axiom.om.impl.llom.OMProcessingInstructionImpl;
 import org.apache.axiom.om.impl.llom.OMSourcedElementImpl;
 import org.apache.axiom.om.impl.util.OMSerializerUtil;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11Body;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11Fault;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11FaultCode;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11FaultDetail;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11FaultReason;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11FaultRole;
+import org.apache.axiom.soap.impl.common.AxiomSOAP11Header;
 import org.apache.axiom.soap.impl.common.AxiomSOAP11HeaderBlock;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12Body;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12Fault;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultCode;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultDetail;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultNode;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultReason;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultRole;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultSubCode;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultText;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12FaultValue;
+import org.apache.axiom.soap.impl.common.AxiomSOAP12Header;
 import org.apache.axiom.soap.impl.common.AxiomSOAP12HeaderBlock;
 import org.apache.axiom.soap.impl.common.AxiomSOAPEnvelope;
 import org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl;
+import org.apache.axiom.soap.impl.llom.soap11.SOAP11BodyImpl;
+import org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultCodeImpl;
+import org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultDetailImpl;
+import org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultImpl;
+import org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultReasonImpl;
+import org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultRoleImpl;
 import org.apache.axiom.soap.impl.llom.soap11.SOAP11HeaderBlockImpl;
+import org.apache.axiom.soap.impl.llom.soap11.SOAP11HeaderImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12BodyImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultCodeImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultDetailImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultNodeImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultReasonImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultRoleImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultSubCodeImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultTextImpl;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12FaultValueImpl;
 import org.apache.axiom.soap.impl.llom.soap12.SOAP12HeaderBlockImpl;
-
-import javax.xml.namespace.QName;
+import org.apache.axiom.soap.impl.llom.soap12.SOAP12HeaderImpl;
 
 /** Class OMLinkedListImplFactory
  */
@@ -297,10 +333,46 @@ public class OMLinkedListImplFactory imp
             element = new OMElementImpl(this);
         } else if (type == AxiomSOAPEnvelope.class) {
             element = new SOAPEnvelopeImpl(this);
+        } else if (type == AxiomSOAP11Header.class) {
+            element = new SOAP11HeaderImpl(this);
+        } else if (type == AxiomSOAP12Header.class) {
+            element = new SOAP12HeaderImpl(this);
         } else if (type == AxiomSOAP11HeaderBlock.class) {
             element = new SOAP11HeaderBlockImpl(this);
         } else if (type == AxiomSOAP12HeaderBlock.class) {
             element = new SOAP12HeaderBlockImpl(this);
+        } else if (type == AxiomSOAP11Body.class) {
+            element = new SOAP11BodyImpl(this);
+        } else if (type == AxiomSOAP12Body.class) {
+            element = new SOAP12BodyImpl(this);
+        } else if (type == AxiomSOAP11Fault.class) {
+            element = new SOAP11FaultImpl(this);
+        } else if (type == AxiomSOAP12Fault.class) {
+            element = new SOAP12FaultImpl(this);
+        } else if (type == AxiomSOAP11FaultCode.class) {
+            element = new SOAP11FaultCodeImpl(this);
+        } else if (type == AxiomSOAP12FaultCode.class) {
+            element = new SOAP12FaultCodeImpl(this);
+        } else if (type == AxiomSOAP12FaultValue.class) {
+            element = new SOAP12FaultValueImpl(this);
+        } else if (type == AxiomSOAP12FaultSubCode.class) {
+            element = new SOAP12FaultSubCodeImpl(this);
+        } else if (type == AxiomSOAP11FaultReason.class) {
+            element = new SOAP11FaultReasonImpl(this);
+        } else if (type == AxiomSOAP12FaultReason.class) {
+            element = new SOAP12FaultReasonImpl(this);
+        } else if (type == AxiomSOAP12FaultText.class) {
+            element = new SOAP12FaultTextImpl(this);
+        } else if (type == AxiomSOAP12FaultNode.class) {
+            element = new SOAP12FaultNodeImpl(this);
+        } else if (type == AxiomSOAP11FaultRole.class) {
+            element = new SOAP11FaultRoleImpl(this);
+        } else if (type == AxiomSOAP12FaultRole.class) {
+            element = new SOAP12FaultRoleImpl(this);
+        } else if (type == AxiomSOAP11FaultDetail.class) {
+            element = new SOAP11FaultDetailImpl(this);
+        } else if (type == AxiomSOAP12FaultDetail.class) {
+            element = new SOAP12FaultDetailImpl(this);
         } else {
             throw new IllegalArgumentException();
         }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPBodyImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPBodyImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPBodyImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPBodyImpl.java Fri Aug 21 22:29:01 2015
@@ -27,7 +27,6 @@ import org.apache.axiom.om.OMException;
 import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.om.OMNode;
-import org.apache.axiom.om.OMXMLParserWrapper;
 import org.apache.axiom.soap.SOAP11Constants;
 import org.apache.axiom.soap.SOAP12Constants;
 import org.apache.axiom.soap.SOAPConstants;
@@ -51,29 +50,6 @@ public abstract class SOAPBodyImpl exten
         super(factory);
     }
 
-    protected SOAPBodyImpl(String localName, OMNamespace ns,
-                           SOAPFactory factory) {
-        super(localName, ns, factory);
-    }
-
-    /** @param envelope  */
-    public SOAPBodyImpl(SOAPEnvelope envelope, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(envelope, SOAPConstants.BODY_LOCAL_NAME, true, factory);
-
-    }
-
-    /**
-     * Constructor SOAPBodyImpl
-     *
-     * @param envelope
-     * @param builder
-     */
-    public SOAPBodyImpl(SOAPEnvelope envelope, OMXMLParserWrapper builder,
-                        SOAPFactory factory) {
-        super(envelope, SOAPConstants.BODY_LOCAL_NAME, builder, factory);
-    }
-
     /**
      * Creates a new <code>SOAPFault</code> object and adds it to this <code>SOAPBody</code>
      * object.

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultCodeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultCodeImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultCodeImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultCodeImpl.java Fri Aug 21 22:29:01 2015
@@ -27,7 +27,6 @@ import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.om.OMXMLParserWrapper;
 import org.apache.axiom.soap.SOAPFactory;
 import org.apache.axiom.soap.SOAPFault;
-import org.apache.axiom.soap.SOAPProcessingException;
 import org.apache.axiom.soap.impl.common.AxiomSOAPFaultCode;
 
 public abstract class SOAPFaultCodeImpl extends SOAPElement implements AxiomSOAPFaultCode {
@@ -39,38 +38,11 @@ public abstract class SOAPFaultCodeImpl
         super(localName, ns, factory);
     }
 
-    protected SOAPFaultCodeImpl(OMNamespace ns, SOAPFactory factory) {
-        this(factory.getSOAPVersion().getFaultCodeQName().getLocalPart(), ns, factory);
-    }
-
     public SOAPFaultCodeImpl(SOAPFault parent, String localName, OMXMLParserWrapper builder,
                              SOAPFactory factory) {
         super(parent, localName, builder, factory);
     }
 
-    public SOAPFaultCodeImpl(SOAPFault parent, OMXMLParserWrapper builder,
-                             SOAPFactory factory) {
-        this(parent, factory.getSOAPVersion().getFaultCodeQName().getLocalPart(), builder,
-             factory);
-    }
-
-    public SOAPFaultCodeImpl(SOAPFault parent,
-                             String localName,
-                             boolean extractNamespaceFromParent,
-                             SOAPFactory factory) throws SOAPProcessingException {
-        super(parent,
-              localName,
-              extractNamespaceFromParent, factory);
-    }
-
-    public SOAPFaultCodeImpl(SOAPFault parent,
-                             boolean extractNamespaceFromParent,
-                             SOAPFactory factory) throws SOAPProcessingException {
-        this(parent,
-             factory.getSOAPVersion().getFaultCodeQName().getLocalPart(),
-             extractNamespaceFromParent, factory);
-    }
-
     protected OMElement createClone(OMCloneOptions options, OMContainer targetParent) {
         return ((SOAPFactory)getOMFactory()).createSOAPFaultCode((SOAPFault)targetParent);
     }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultDetailImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultDetailImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultDetailImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultDetailImpl.java Fri Aug 21 22:29:01 2015
@@ -23,8 +23,6 @@ import org.apache.axiom.om.OMCloneOption
 import org.apache.axiom.om.OMContainer;
 import org.apache.axiom.om.OMElement;
 import org.apache.axiom.om.OMFactory;
-import org.apache.axiom.om.OMNamespace;
-import org.apache.axiom.om.OMXMLParserWrapper;
 import org.apache.axiom.soap.SOAPFactory;
 import org.apache.axiom.soap.SOAPFault;
 import org.apache.axiom.soap.SOAPProcessingException;
@@ -35,10 +33,6 @@ public abstract class SOAPFaultDetailImp
         super(factory);
     }
 
-    protected SOAPFaultDetailImpl(OMNamespace ns, SOAPFactory factory) {
-        super(factory.getSOAPVersion().getFaultDetailQName().getLocalPart(), ns, factory);
-    }
-
     protected SOAPFaultDetailImpl(SOAPFault parent,
                                   boolean extractNamespaceFromParent,
                                   SOAPFactory factory) throws SOAPProcessingException {
@@ -47,13 +41,6 @@ public abstract class SOAPFaultDetailImp
                 extractNamespaceFromParent, factory);
     }
 
-    protected SOAPFaultDetailImpl(SOAPFault parent,
-                                  OMXMLParserWrapper builder,
-                                  SOAPFactory factory) {
-        super(parent, factory.getSOAPVersion().getFaultDetailQName().getLocalPart(), builder,
-                factory);
-    }
-
     protected OMElement createClone(OMCloneOptions options, OMContainer targetParent) {
         return ((SOAPFactory)getOMFactory()).createSOAPFaultDetail((SOAPFault)targetParent);
     }

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultImpl.java Fri Aug 21 22:29:01 2015
@@ -25,8 +25,6 @@ import org.apache.axiom.om.OMContainer;
 import org.apache.axiom.om.OMElement;
 import org.apache.axiom.om.OMException;
 import org.apache.axiom.om.OMFactory;
-import org.apache.axiom.om.OMNamespace;
-import org.apache.axiom.om.OMXMLParserWrapper;
 import org.apache.axiom.om.impl.llom.OMElementImpl;
 import org.apache.axiom.soap.SOAPBody;
 import org.apache.axiom.soap.SOAPConstants;
@@ -51,10 +49,6 @@ public abstract class SOAPFaultImpl exte
         super(factory);
     }
 
-    protected SOAPFaultImpl(OMNamespace ns, SOAPFactory factory) {
-        super(SOAPConstants.SOAPFAULT_LOCAL_NAME, ns, factory);
-    }
-
     /**
      * Constructor SOAPFaultImpl
      *
@@ -72,21 +66,6 @@ public abstract class SOAPFaultImpl exte
         putExceptionToSOAPFault(e);
     }
 
-    public SOAPFaultImpl(SOAPBody parent, SOAPFactory factory) throws SOAPProcessingException {
-        super(parent, SOAPConstants.SOAPFAULT_LOCAL_NAME, true, factory);
-    }
-
-    /**
-     * Constructor SOAPFaultImpl
-     *
-     * @param parent
-     * @param builder
-     */
-    public SOAPFaultImpl(SOAPBody parent, OMXMLParserWrapper builder,
-                         SOAPFactory factory) {
-        super(parent, SOAPConstants.SOAPFAULT_LOCAL_NAME, builder, factory);
-    }
-
     protected abstract SOAPFaultDetail getNewSOAPFaultDetail(SOAPFault fault)
             throws SOAPProcessingException;
 

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultReasonImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultReasonImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultReasonImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultReasonImpl.java Fri Aug 21 22:29:01 2015
@@ -23,13 +23,10 @@ import org.apache.axiom.om.OMCloneOption
 import org.apache.axiom.om.OMContainer;
 import org.apache.axiom.om.OMElement;
 import org.apache.axiom.om.OMFactory;
-import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.om.OMNode;
-import org.apache.axiom.om.OMXMLParserWrapper;
 import org.apache.axiom.soap.SOAPFactory;
 import org.apache.axiom.soap.SOAPFault;
 import org.apache.axiom.soap.SOAPFaultText;
-import org.apache.axiom.soap.SOAPProcessingException;
 import org.apache.axiom.soap.impl.common.AxiomSOAPFaultReason;
 
 import java.util.ArrayList;
@@ -41,32 +38,6 @@ public abstract class SOAPFaultReasonImp
         super(factory);
     }
 
-    protected SOAPFaultReasonImpl(OMNamespace ns, SOAPFactory factory) {
-        super(factory.getSOAPVersion().getFaultReasonQName().getLocalPart(), ns, factory);
-    }
-
-    /**
-     * Constructor OMElementImpl
-     *
-     * @param parent
-     * @param builder
-     */
-    public SOAPFaultReasonImpl(SOAPFault parent, OMXMLParserWrapper builder,
-                               SOAPFactory factory) {
-        super(parent, factory.getSOAPVersion().getFaultReasonQName().getLocalPart(), builder,
-              factory);
-    }
-
-    /** @param parent  */
-    public SOAPFaultReasonImpl(OMElement parent,
-                               boolean extractNamespaceFromParent, SOAPFactory factory)
-            throws SOAPProcessingException {
-        super(parent,
-              factory.getSOAPVersion().getFaultReasonQName().getLocalPart(),
-              extractNamespaceFromParent,
-              factory);
-    }
-
     public List getAllSoapTexts() {
         List faultTexts = new ArrayList(1);
         Iterator childrenIter = this.getChildren();

Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultRoleImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultRoleImpl.java?rev=1697061&r1=1697060&r2=1697061&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultRoleImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPFaultRoleImpl.java Fri Aug 21 22:29:01 2015
@@ -23,11 +23,8 @@ import org.apache.axiom.om.OMCloneOption
 import org.apache.axiom.om.OMContainer;
 import org.apache.axiom.om.OMElement;
 import org.apache.axiom.om.OMFactory;
-import org.apache.axiom.om.OMNamespace;
-import org.apache.axiom.om.OMXMLParserWrapper;
 import org.apache.axiom.soap.SOAPFactory;
 import org.apache.axiom.soap.SOAPFault;
-import org.apache.axiom.soap.SOAPProcessingException;
 import org.apache.axiom.soap.impl.common.AxiomSOAPFaultRole;
 
 public abstract class SOAPFaultRoleImpl extends SOAPElement
@@ -37,27 +34,6 @@ public abstract class SOAPFaultRoleImpl
         super(factory);
     }
 
-    protected SOAPFaultRoleImpl(OMNamespace ns, SOAPFactory factory) {
-        super(factory.getSOAPVersion().getFaultRoleQName().getLocalPart(), ns, factory);
-    }
-
-    public SOAPFaultRoleImpl(SOAPFault parent,
-                             boolean extractNamespaceFromParent,
-                             SOAPFactory factory) throws SOAPProcessingException {
-        super(parent,
-              factory.getSOAPVersion().getFaultRoleQName().getLocalPart(),
-              extractNamespaceFromParent,
-              factory);
-    }
-
-    public SOAPFaultRoleImpl(SOAPFault parent, OMXMLParserWrapper builder,
-                             SOAPFactory factory) {
-        super(parent,
-              factory.getSOAPVersion().getFaultRoleQName().getLocalPart(),
-              builder,
-              factory);
-    }
-
     protected OMElement createClone(OMCloneOptions options, OMContainer targetParent) {
         return ((SOAPFactory)getOMFactory()).createSOAPFaultRole((SOAPFault)targetParent);
     }



Mime
View raw message