synapse-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject svn commit: r817614 - /synapse/branches/1.3/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java
Date Tue, 22 Sep 2009 11:47:42 GMT
Author: ruwan
Date: Tue Sep 22 11:47:41 2009
New Revision: 817614

URL: http://svn.apache.org/viewvc?rev=817614&view=rev
Log:
Fixing the issue SYNAPSE-581

Modified:
    synapse/branches/1.3/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java

Modified: synapse/branches/1.3/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java
URL: http://svn.apache.org/viewvc/synapse/branches/1.3/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java?rev=817614&r1=817613&r2=817614&view=diff
==============================================================================
--- synapse/branches/1.3/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java
(original)
+++ synapse/branches/1.3/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java
Tue Sep 22 11:47:41 2009
@@ -23,6 +23,7 @@
 import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.om.OMNode;
 import org.apache.axis2.AxisFault;
+import org.apache.axis2.util.JavaUtils;
 import org.apache.axis2.description.*;
 import org.apache.axis2.engine.AxisConfiguration;
 import org.apache.axis2.engine.AxisEvent;
@@ -86,6 +87,9 @@
     private static final Log log = LogFactory.getLog(ProxyService.class);
     private static final Log trace = LogFactory.getLog(SynapseConstants.TRACE_LOGGER);
     private final Log serviceLog;
+
+    public static final String ABSOLUTE_SCHEMA_URL_PARAM = "showAbsoluteSchemaURL";
+    
     /**
      * The name of the proxy service
      */
@@ -461,6 +465,10 @@
             }
         }
 
+        if (JavaUtils.isTrueExplicitly(proxyService.getParameterValue(ABSOLUTE_SCHEMA_URL_PARAM)))
{
+            proxyService.setCustomSchemaNamePrefix("");
+        }
+
         if (!policies.isEmpty()) {
 
             for (PolicyInfo pi : policies) {



Mime
View raw message