You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by as...@apache.org on 2007/09/06 11:02:47 UTC
svn commit: r573188 -
/webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/transform/XSLTMediatorTest.java
Author: asankha
Date: Thu Sep 6 02:02:46 2007
New Revision: 573188
URL: http://svn.apache.org/viewvc?rev=573188&view=rev
Log:
change namespace used in samples from http://www.apache-synapse.org/test to http://services.samples/xsd as axis2 1.3 forced us to make this correction for RPC sample services
Modified:
webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/transform/XSLTMediatorTest.java
Modified: webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/transform/XSLTMediatorTest.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/transform/XSLTMediatorTest.java?rev=573188&r1=573187&r2=573188&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/transform/XSLTMediatorTest.java (original)
+++ webservices/synapse/trunk/java/modules/extensions/src/test/java/org/apache/synapse/mediators/transform/XSLTMediatorTest.java Thu Sep 6 02:02:46 2007
@@ -38,13 +38,13 @@
public class XSLTMediatorTest extends TestCase {
private static final String SOURCE =
- "<m0:CheckPriceRequest xmlns:m0=\"http://www.apache-synapse.org/test\">\n" +
+ "<m0:CheckPriceRequest xmlns:m0=\"http://services.samples/xsd\">\n" +
"<m0:Code>String</m0:Code>\n" +
"</m0:CheckPriceRequest>";
private static final String ENCLOSING_SOURCE =
"<m:someOtherElement xmlns:m=\"http://someother\">" +
- "<m0:CheckPriceRequest xmlns:m0=\"http://www.apache-synapse.org/test\">\n" +
+ "<m0:CheckPriceRequest xmlns:m0=\"http://services.samples/xsd\">\n" +
"<m0:Code>String</m0:Code>\n" +
"</m0:CheckPriceRequest>" +
"</m:someOtherElement>";
@@ -58,7 +58,7 @@
// set xpath condition to select source
AXIOMXPath xpath = new AXIOMXPath("//m0:CheckPriceRequest");
- xpath.addNamespace("m0", "http://www.apache-synapse.org/test");
+ xpath.addNamespace("m0", "http://services.samples/xsd");
transformMediator.setSource(xpath);
// set XSLT transformation URL
@@ -144,7 +144,7 @@
// set xpath condition to select source
AXIOMXPath xpath = new AXIOMXPath("//m0:CheckPriceRequest");
- xpath.addNamespace("m0", "http://www.apache-synapse.org/test");
+ xpath.addNamespace("m0", "http://services.samples/xsd");
transformMediator.setSource(xpath);
// set XSLT transformation URL
---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org