You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by mi...@apache.org on 2009/01/30 23:25:49 UTC

svn commit: r739434 - /ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/rampart/policy/SecuredProcessesTest.java

Author: midon
Date: Fri Jan 30 22:25:49 2009
New Revision: 739434

URL: http://svn.apache.org/viewvc?rev=739434&view=rev
Log:
ODE-415: wsa action is optional

Modified:
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/rampart/policy/SecuredProcessesTest.java

Modified: ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/rampart/policy/SecuredProcessesTest.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/rampart/policy/SecuredProcessesTest.java?rev=739434&r1=739433&r2=739434&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/rampart/policy/SecuredProcessesTest.java (original)
+++ ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/rampart/policy/SecuredProcessesTest.java Fri Jan 30 22:25:49 2009
@@ -67,7 +67,7 @@
             String policyFile = clientRepo + "/" + sampleIndex + "-policy.xml";
             bundles[i] = new Object[]{testDir + "/" + samples[i].getName(), clientRepo, policyFile};
         }
-//        bundles = new Object[][]{new Object[]{testDir+"/process-policy-sample04", clientRepo, clientRepo+"/process-policy-sample04.xml"}};
+//        bundles = new Object[][]{new Object[]{testDir+"/process-sample04", clientRepo, clientRepo+"/sample04-policy.xml"}};
         return bundles;
     }
 
@@ -94,12 +94,12 @@
             ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(clientRepo, null);
             ServiceClient client = new ServiceClient(ctx, null);
             Options options = new Options();
-            options.setAction("urn:hello");
+            // Rampart SymetricBinding (sample04) blows up if not provided with a soap action
+            options.setAction("");
             options.setTo(new EndpointReference("http://localhost:8888/processes/helloWorld"));
             options.setProperty(RampartMessageData.KEY_RAMPART_POLICY, loadPolicy(policyFile));
             client.setOptions(options);
 
-            client.engageModule("addressing");
             client.engageModule("rampart");
             client.engageModule("rahas");