You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2015/09/05 09:25:47 UTC

svn commit: r1701354 - /axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/dispatch/server/OMElementProvider.java

Author: veithen
Date: Sat Sep  5 07:25:47 2015
New Revision: 1701354

URL: http://svn.apache.org/r1701354
Log:
Remove reference to internal Axiom implementation class.

Modified:
    axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/dispatch/server/OMElementProvider.java

Modified: axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/dispatch/server/OMElementProvider.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/dispatch/server/OMElementProvider.java?rev=1701354&r1=1701353&r2=1701354&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/dispatch/server/OMElementProvider.java (original)
+++ axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/dispatch/server/OMElementProvider.java Sat Sep  5 07:25:47 2015
@@ -36,7 +36,6 @@ import org.apache.axiom.om.OMText;
 import org.apache.axiom.soap.SOAPBody;
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
-import org.apache.axiom.soap.impl.llom.soap12.SOAP12Factory;
 
 /**
  * A Provider<OMElement> implementation used to test sending and 
@@ -68,7 +67,7 @@ public class OMElementProvider implement
 
         OMElement payload = createPayload();
         
-        SOAPFactory factory = new SOAP12Factory();
+        SOAPFactory factory = OMAbstractFactory.getSOAP12Factory();
         SOAPEnvelope env = factory.createSOAPEnvelope();
         SOAPBody body = factory.createSOAPBody(env);