synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r562445 - in /webservices/synapse/trunk/java/modules: core/src/main/java/org/apache/synapse/util/PayloadHelper.java transports/src/org/apache/axis2/transport/base/BaseConstants.java
Date Fri, 03 Aug 2007 12:49:54 GMT
Author: pzf
Date: Fri Aug  3 05:49:53 2007
New Revision: 562445

URL: http://svn.apache.org/viewvc?view=rev&rev=562445
Log:
updated transport constants to match payload header and use the same ns

Modified:
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/PayloadHelper.java
    webservices/synapse/trunk/java/modules/transports/src/org/apache/axis2/transport/base/BaseConstants.java

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/PayloadHelper.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/PayloadHelper.java?view=diff&rev=562445&r1=562444&r2=562445
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/PayloadHelper.java
(original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/PayloadHelper.java
Fri Aug  3 05:49:53 2007
@@ -24,6 +24,9 @@
 import org.apache.synapse.util.SimpleMap;
 
 public class PayloadHelper {
+	
+	// this has to match org.apache.axis2.base.transport.BaseConstants 
+	// at some future point we will merge this into Axiom as a common parent
 	public final static String AXIOMPAYLOADNS = "http://ws.apache.org/commons/ns/payload";
 
 	public final static QName BINARYELT = new QName(AXIOMPAYLOADNS, "binary",
@@ -294,4 +297,6 @@
 		}
 	
 	}
+	
+	
 }

Modified: webservices/synapse/trunk/java/modules/transports/src/org/apache/axis2/transport/base/BaseConstants.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/transports/src/org/apache/axis2/transport/base/BaseConstants.java?view=diff&rev=562445&r1=562444&r2=562445
==============================================================================
--- webservices/synapse/trunk/java/modules/transports/src/org/apache/axis2/transport/base/BaseConstants.java
(original)
+++ webservices/synapse/trunk/java/modules/transports/src/org/apache/axis2/transport/base/BaseConstants.java
Fri Aug  3 05:49:53 2007
@@ -19,7 +19,7 @@
 
 package org.apache.axis2.transport.base;
 
-import org.apache.axis2.Constants;
+
 import javax.xml.namespace.QName;
 
 public class BaseConstants {
@@ -50,13 +50,19 @@
     /**
      * The name of the element which wraps binary content into a SOAP envelope
      */
+
+    // This has to match org.apache.synapse.util.PayloadHelper
+    // at some future point this can be merged into Axiom as a common base
+    public final static String AXIOMPAYLOADNS = "http://ws.apache.org/commons/ns/payload";
+
+   
     public static final QName DEFAULT_BINARY_WRAPPER =
-            new QName(Constants.AXIS2_NAMESPACE_URI, "binary");
+            new QName(AXIOMPAYLOADNS, "binary");
     /**
      * The name of the element which wraps plain text content into a SOAP envelope
      */
     public static final QName DEFAULT_TEXT_WRAPPER =
-            new QName(Constants.AXIS2_NAMESPACE_URI, "text");
+            new QName(AXIOMPAYLOADNS, "text");
 
     //-------------------------- services.xml parameters --------------------------------
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Mime
View raw message