axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruchi...@apache.org
Subject svn commit: r389523 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/MEPClient.java
Date Tue, 28 Mar 2006 15:41:55 GMT
Author: ruchithf
Date: Tue Mar 28 07:41:53 2006
New Revision: 389523

URL: http://svn.apache.org/viewcvs?rev=389523&view=rev
Log:
Get the build to compile

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/MEPClient.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/MEPClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/MEPClient.java?rev=389523&r1=389522&r2=389523&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/MEPClient.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/MEPClient.java Tue
Mar 28 07:41:53 2006
@@ -179,22 +179,14 @@
 
         String soapVersionURI = clientOptions.getSoapVersionURI();
         String soapFactory =
-                (String) clientOptions.getProperty(OMAbstractFactory.SOAP_FACTORY_NAME_PROPERTY);
+                (String) clientOptions.getProperty(OMAbstractFactory.SOAP11_FACTORY_NAME_PROPERTY);
 
         if (SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(soapVersionURI)) {
             String factory = (String) clientOptions.getProperty(OMAbstractFactory.SOAP12_FACTORY_NAME_PROPERTY);
-            if (factory != null) {
-                return OMAbstractFactory.getSOAPFactory(soapFactory).getDefaultEnvelope();
-            } else {
-                return OMAbstractFactory.getSOAP12Factory().getDefaultEnvelope();
-            }
+            return OMAbstractFactory.getSOAP12Factory().getDefaultEnvelope();
         } else if (SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(soapVersionURI)) {
             String factory = (String) clientOptions.getProperty(OMAbstractFactory.SOAP11_FACTORY_NAME_PROPERTY);
-            if (factory != null) {
-                return OMAbstractFactory.getSOAPFactory(soapFactory).getDefaultEnvelope();
-            } else {
-                return OMAbstractFactory.getSOAP11Factory().getDefaultEnvelope();
-            }
+            return OMAbstractFactory.getSOAP11Factory().getDefaultEnvelope();
         } else if ("".equals(soapVersionURI) || (soapVersionURI == null)) {
             return OMAbstractFactory.getSOAP11Factory().getDefaultEnvelope();
         } else {



Mime
View raw message