You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2014/05/31 13:39:18 UTC
svn commit: r1598858 - in /webservices/axiom/trunk/modules:
axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/
axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/
axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/ axiom-...
Author: veithen
Date: Sat May 31 11:39:18 2014
New Revision: 1598858
URL: http://svn.apache.org/r1598858
Log:
Dead code elimination: remove some methods from the SOAP 1.1 factories that are only meaningful for SOAP 1.2.
Added:
webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAP12FactoryEx.java
- copied, changed from r1598856, webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAPFactoryEx.java
Modified:
webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAP11BuilderHelper.java
webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAP12BuilderHelper.java
webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAPBuilderHelper.java
webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAPFactoryEx.java
webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/StAXSOAPModelBuilder.java
webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java
webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java
webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11Factory.java
webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12Factory.java
Modified: webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAP11BuilderHelper.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAP11BuilderHelper.java?rev=1598858&r1=1598857&r2=1598858&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAP11BuilderHelper.java (original)
+++ webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAP11BuilderHelper.java Sat May 31 11:39:18 2014
@@ -29,11 +29,13 @@ import org.w3c.dom.Element;
import javax.xml.stream.XMLStreamReader;
public class SOAP11BuilderHelper extends SOAPBuilderHelper implements SOAP11Constants {
+ private final SOAPFactoryEx factory;
private boolean faultcodePresent = false;
private boolean faultstringPresent = false;
public SOAP11BuilderHelper(StAXSOAPModelBuilder builder, SOAPFactoryEx factory) {
- super(builder, factory);
+ super(builder);
+ this.factory = factory;
}
public OMElement handleEvent(XMLStreamReader parser,
Modified: webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAP12BuilderHelper.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAP12BuilderHelper.java?rev=1598858&r1=1598857&r2=1598858&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAP12BuilderHelper.java (original)
+++ webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAP12BuilderHelper.java Sat May 31 11:39:18 2014
@@ -34,7 +34,7 @@ import javax.xml.stream.XMLStreamReader;
import java.util.Vector;
public class SOAP12BuilderHelper extends SOAPBuilderHelper {
-
+ private final SOAP12FactoryEx factory;
private boolean codePresent = false;
private boolean reasonPresent = false;
private boolean nodePresent = false;
@@ -50,8 +50,9 @@ public class SOAP12BuilderHelper extends
private boolean processingDetailElements = false;
private Vector detailElementNames;
- public SOAP12BuilderHelper(StAXSOAPModelBuilder builder, SOAPFactoryEx factory) {
- super(builder, factory);
+ public SOAP12BuilderHelper(StAXSOAPModelBuilder builder, SOAP12FactoryEx factory) {
+ super(builder);
+ this.factory = factory;
}
public OMElement handleEvent(XMLStreamReader parser,
Copied: webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAP12FactoryEx.java (from r1598856, webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAPFactoryEx.java)
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAP12FactoryEx.java?p2=webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAP12FactoryEx.java&p1=webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAPFactoryEx.java&r1=1598856&r2=1598858&rev=1598858&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAPFactoryEx.java (original)
+++ webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAP12FactoryEx.java Sat May 31 11:39:18 2014
@@ -19,79 +19,19 @@
package org.apache.axiom.soap.impl.builder;
import org.apache.axiom.om.OMXMLParserWrapper;
-import org.apache.axiom.om.impl.builder.OMFactoryEx;
-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.SOAPHeaderBlock;
-import org.apache.axiom.soap.SOAPMessage;
-import org.apache.axiom.soap.SOAPProcessingException;
/**
* Interface that is used internally by Axiom and that should not be considered being part of the
* public API.
*/
-public interface SOAPFactoryEx extends SOAPFactory, OMFactoryEx {
-
- SOAPMessage createSOAPMessage(OMXMLParserWrapper builder);
-
- SOAPEnvelope createSOAPEnvelope(SOAPMessage message, OMXMLParserWrapper builder);
-
- /**
- * @param envelope
- * @param builder
- * @return Returns SOAPHeader.
- */
- SOAPHeader createSOAPHeader(SOAPEnvelope envelope,
- OMXMLParserWrapper builder);
-
- /**
- * @param localName
- * @param parent
- * @param builder
- * @return Returns SOAPHeaderBlock.
- */
- SOAPHeaderBlock createSOAPHeaderBlock(String localName,
- SOAPHeader parent,
- OMXMLParserWrapper builder)
- throws SOAPProcessingException;
-
- /**
- * @param parent
- * @param builder
- * @return Returns SOAPFault.
- */
- SOAPFault createSOAPFault(SOAPBody parent,
- OMXMLParserWrapper builder);
-
- /**
- * @param envelope
- * @param builder
- * @return Returns SOAPBody.
- */
- SOAPBody createSOAPBody(SOAPEnvelope envelope,
- OMXMLParserWrapper builder);
-
- /**
- * Code eii under SOAPFault (parent)
- *
- * @param parent
- * @param builder
- * @return Returns SOAPFaultCode.
- */
- SOAPFaultCode createSOAPFaultCode(SOAPFault parent,
- OMXMLParserWrapper builder);
-
+public interface SOAP12FactoryEx extends SOAPFactoryEx {
/**
* Value eii under Code (parent)
*
@@ -128,16 +68,6 @@ public interface SOAPFactoryEx extends S
OMXMLParserWrapper builder);
/**
- * Reason eii under SOAPFault (parent)
- *
- * @param parent
- * @param builder
- * @return Returns SOAPFaultReason.
- */
- SOAPFaultReason createSOAPFaultReason(SOAPFault parent,
- OMXMLParserWrapper builder);
-
- /**
* SubCode eii under SubCode (parent)
*
* @param parent
@@ -156,24 +86,4 @@ public interface SOAPFactoryEx extends S
*/
SOAPFaultNode createSOAPFaultNode(SOAPFault parent,
OMXMLParserWrapper builder);
-
- /**
- * Role eii under SOAPFault (parent)
- *
- * @param parent
- * @param builder
- * @return Returns SOAPFaultRole.
- */
- SOAPFaultRole createSOAPFaultRole(SOAPFault parent,
- OMXMLParserWrapper builder);
-
- /**
- * Role eii under SOAPFault (parent)
- *
- * @param parent
- * @param builder
- * @return Returns SOAPFaultDetail.
- */
- SOAPFaultDetail createSOAPFaultDetail(SOAPFault parent,
- OMXMLParserWrapper builder);
}
Modified: webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAPBuilderHelper.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAPBuilderHelper.java?rev=1598858&r1=1598857&r2=1598858&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAPBuilderHelper.java (original)
+++ webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAPBuilderHelper.java Sat May 31 11:39:18 2014
@@ -25,13 +25,11 @@ import org.apache.axiom.soap.SOAPProcess
import javax.xml.stream.XMLStreamReader;
public abstract class SOAPBuilderHelper {
- protected final SOAPFactoryEx factory;
protected final StAXSOAPModelBuilder builder;
protected XMLStreamReader parser;
- protected SOAPBuilderHelper(StAXSOAPModelBuilder builder, SOAPFactoryEx factory) {
+ protected SOAPBuilderHelper(StAXSOAPModelBuilder builder) {
this.builder = builder;
- this.factory = factory;
}
public abstract OMElement handleEvent(XMLStreamReader parser,
Modified: webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAPFactoryEx.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAPFactoryEx.java?rev=1598858&r1=1598857&r2=1598858&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAPFactoryEx.java (original)
+++ webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/SOAPFactoryEx.java Sat May 31 11:39:18 2014
@@ -26,12 +26,8 @@ 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.SOAPHeaderBlock;
import org.apache.axiom.soap.SOAPMessage;
@@ -93,41 +89,6 @@ public interface SOAPFactoryEx extends S
OMXMLParserWrapper builder);
/**
- * Value eii under Code (parent)
- *
- * @param parent
- * @param builder
- * @return Returns SOAPFaultValue.
- */
- SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent,
- OMXMLParserWrapper builder);
-
- //added
- SOAPFaultValue createSOAPFaultValue(SOAPFaultSubCode parent,
- OMXMLParserWrapper builder);
-
- /**
- * SubCode eii under Value (parent)
- *
- * @param parent
- * @param builder
- * @return Returns SOAPFaultSubCode.
- */
- //changed
- SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultCode parent,
- OMXMLParserWrapper builder);
-
- /**
- * SubCode eii under SubCode (parent)
- *
- * @param parent
- * @param builder
- * @return Returns SOAPFaultSubCode.
- */
- SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultSubCode parent,
- OMXMLParserWrapper builder);
-
- /**
* Reason eii under SOAPFault (parent)
*
* @param parent
@@ -138,26 +99,6 @@ public interface SOAPFactoryEx extends S
OMXMLParserWrapper builder);
/**
- * SubCode eii under SubCode (parent)
- *
- * @param parent
- * @param builder
- * @return Returns SOAPFaultText.
- */
- SOAPFaultText createSOAPFaultText(SOAPFaultReason parent,
- OMXMLParserWrapper builder);
-
- /**
- * Node eii under SOAPFault (parent)
- *
- * @param parent
- * @param builder
- * @return Returns SOAPFaultNode.
- */
- SOAPFaultNode createSOAPFaultNode(SOAPFault parent,
- OMXMLParserWrapper builder);
-
- /**
* Role eii under SOAPFault (parent)
*
* @param parent
Modified: webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/StAXSOAPModelBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/StAXSOAPModelBuilder.java?rev=1598858&r1=1598857&r2=1598858&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/StAXSOAPModelBuilder.java (original)
+++ webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/soap/impl/builder/StAXSOAPModelBuilder.java Sat May 31 11:39:18 2014
@@ -295,7 +295,7 @@ public class StAXSOAPModelBuilder extend
element = soapFactory.createSOAPFault((SOAPBody) parent, this);
processingFault = true;
if (soapFactory.getSOAPVersion() == SOAP12Version.getSingleton()) {
- builderHelper = new SOAP12BuilderHelper(this, soapFactory);
+ builderHelper = new SOAP12BuilderHelper(this, (SOAP12FactoryEx)soapFactory);
} else if (soapFactory.getSOAPVersion() == SOAP11Version.getSingleton()) {
builderHelper = new SOAP11BuilderHelper(this, soapFactory);
}
Modified: webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java?rev=1598858&r1=1598857&r2=1598858&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java (original)
+++ webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11Factory.java Sat May 31 11:39:18 2014
@@ -150,45 +150,23 @@ public class SOAP11Factory extends DOMSO
return new SOAP11FaultValueImpl(parent, this);
}
- public SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent,
- OMXMLParserWrapper builder) {
- return new SOAP11FaultValueImpl((ParentNode)parent, null, builder, this, false);
- }
-
//added
public SOAPFaultValue createSOAPFaultValue(SOAPFaultSubCode parent)
throws SOAPProcessingException {
return new SOAP11FaultValueImpl(parent, this);
}
- //added
- public SOAPFaultValue createSOAPFaultValue(SOAPFaultSubCode parent,
- OMXMLParserWrapper builder) {
- return new SOAP11FaultValueImpl((ParentNode)parent, null, builder, this, false);
- }
-
//changed
public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultCode parent)
throws SOAPProcessingException {
return new SOAP11FaultSubCodeImpl(parent, this);
}
- //changed
- public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultCode parent,
- OMXMLParserWrapper builder) {
- return new SOAP11FaultSubCodeImpl((ParentNode)parent, null, builder, this, false);
- }
-
public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultSubCode parent)
throws SOAPProcessingException {
return new SOAP11FaultSubCodeImpl(parent, this);
}
- public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultSubCode parent,
- OMXMLParserWrapper builder) {
- return new SOAP11FaultSubCodeImpl((ParentNode)parent, null, builder, this, false);
- }
-
public SOAPFaultReason createSOAPFaultReason(SOAPFault parent)
throws SOAPProcessingException {
return new SOAP11FaultReasonImpl(parent, this);
@@ -208,21 +186,11 @@ public class SOAP11Factory extends DOMSO
return new SOAP11FaultTextImpl(parent, this);
}
- public SOAPFaultText createSOAPFaultText(SOAPFaultReason parent,
- OMXMLParserWrapper builder) {
- return new SOAP11FaultTextImpl((ParentNode)parent, null, builder, this, false);
- }
-
public SOAPFaultNode createSOAPFaultNode(SOAPFault parent)
throws SOAPProcessingException {
throw new UnsupportedOperationException("SOAP 1.1 has no SOAP Fault Node");
}
- public SOAPFaultNode createSOAPFaultNode(SOAPFault parent,
- OMXMLParserWrapper builder) {
- throw new UnsupportedOperationException("SOAP 1.1 has no SOAP Fault Node");
- }
-
public SOAPFaultRole createSOAPFaultRole(SOAPFault parent)
throws SOAPProcessingException {
return new SOAP11FaultRoleImpl(parent, this);
Modified: webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java?rev=1598858&r1=1598857&r2=1598858&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java (original)
+++ webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12Factory.java Sat May 31 11:39:18 2014
@@ -41,12 +41,13 @@ import org.apache.axiom.soap.SOAPHeaderB
import org.apache.axiom.soap.SOAPProcessingException;
import org.apache.axiom.soap.SOAPVersion;
import org.apache.axiom.soap.SOAP12Version;
+import org.apache.axiom.soap.impl.builder.SOAP12FactoryEx;
import org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl;
import org.apache.axiom.soap.impl.dom.factory.DOMSOAPFactory;
/**
*/
-public class SOAP12Factory extends DOMSOAPFactory {
+public class SOAP12Factory extends DOMSOAPFactory implements SOAP12FactoryEx {
public SOAP12Factory(OMDOMMetaFactory metaFactory) {
super(metaFactory);
}
Modified: webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11Factory.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11Factory.java?rev=1598858&r1=1598857&r2=1598858&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11Factory.java (original)
+++ webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11Factory.java Sat May 31 11:39:18 2014
@@ -191,23 +191,12 @@ public class SOAP11Factory extends OMLin
return new SOAP11FaultValueImpl(this);
}
- public SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent,
- OMXMLParserWrapper builder) {
- return new SOAP11FaultValueImpl(parent, builder, this);
- }
-
//added
public SOAPFaultValue createSOAPFaultValue(SOAPFaultSubCode parent)
throws SOAPProcessingException {
return new SOAP11FaultValueImpl(parent, this);
}
- //added
- public SOAPFaultValue createSOAPFaultValue(SOAPFaultSubCode parent,
- OMXMLParserWrapper builder) {
- return new SOAP11FaultValueImpl(parent, builder, this);
- }
-
//changed
public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultCode parent)
throws SOAPProcessingException {
@@ -218,22 +207,11 @@ public class SOAP11Factory extends OMLin
return new SOAP11FaultSubCodeImpl(this);
}
- //changed
- public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultCode parent,
- OMXMLParserWrapper builder) {
- return new SOAP11FaultSubCodeImpl(parent, builder, this);
- }
-
public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultSubCode parent)
throws SOAPProcessingException {
return new SOAP11FaultSubCodeImpl(parent, this);
}
- public SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultSubCode parent,
- OMXMLParserWrapper builder) {
- return new SOAP11FaultSubCodeImpl(parent, builder, this);
- }
-
public SOAPFaultReason createSOAPFaultReason(SOAPFault parent)
throws SOAPProcessingException {
return new SOAP11FaultReasonImpl(parent, this);
@@ -257,11 +235,6 @@ public class SOAP11Factory extends OMLin
return new SOAP11FaultTextImpl(this);
}
- public SOAPFaultText createSOAPFaultText(SOAPFaultReason parent,
- OMXMLParserWrapper builder) {
- return new SOAP11FaultTextImpl(parent, builder, this);
- }
-
public SOAPFaultNode createSOAPFaultNode(SOAPFault parent)
throws SOAPProcessingException {
throw new UnsupportedOperationException("SOAP 1.1 has no SOAP Fault Node");
@@ -271,11 +244,6 @@ public class SOAP11Factory extends OMLin
throw new UnsupportedOperationException("SOAP 1.1 has no SOAP Fault Node");
}
- public SOAPFaultNode createSOAPFaultNode(SOAPFault parent,
- OMXMLParserWrapper builder) {
- throw new UnsupportedOperationException("SOAP 1.1 has no SOAP Fault Node");
- }
-
public SOAPFaultRole createSOAPFaultRole(SOAPFault parent)
throws SOAPProcessingException {
return new SOAP11FaultRoleImpl(parent, this);
Modified: webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12Factory.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12Factory.java?rev=1598858&r1=1598857&r2=1598858&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12Factory.java (original)
+++ webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12Factory.java Sat May 31 11:39:18 2014
@@ -44,13 +44,13 @@ import org.apache.axiom.soap.SOAPMessage
import org.apache.axiom.soap.SOAPProcessingException;
import org.apache.axiom.soap.SOAPVersion;
import org.apache.axiom.soap.SOAP12Version;
-import org.apache.axiom.soap.impl.builder.SOAPFactoryEx;
+import org.apache.axiom.soap.impl.builder.SOAP12FactoryEx;
import org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl;
import org.apache.axiom.soap.impl.llom.SOAPMessageImpl;
/**
*/
-public class SOAP12Factory extends OMLinkedListImplFactory implements SOAPFactoryEx {
+public class SOAP12Factory extends OMLinkedListImplFactory implements SOAP12FactoryEx {
/**
* For internal use only.
*