cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r745228 - in /cxf/sandbox/interopfest: wssc/src/main/java/interop/client/ wstrust13/src/main/java/interop/client/
Date Tue, 17 Feb 2009 20:25:01 GMT
Author: dkulp
Date: Tue Feb 17 20:25:00 2009
New Revision: 745228

URL: http://svn.apache.org/viewvc?rev=745228&view=rev
Log:
First working ws-sc testcase.  :-)

Modified:
    cxf/sandbox/interopfest/wssc/src/main/java/interop/client/Client.java
    cxf/sandbox/interopfest/wssc/src/main/java/interop/client/KeystorePasswordCallback.java
    cxf/sandbox/interopfest/wssc/src/main/java/interop/client/UTPasswordCallback.java
    cxf/sandbox/interopfest/wstrust13/src/main/java/interop/client/Client.java

Modified: cxf/sandbox/interopfest/wssc/src/main/java/interop/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssc/src/main/java/interop/client/Client.java?rev=745228&r1=745227&r2=745228&view=diff
==============================================================================
--- cxf/sandbox/interopfest/wssc/src/main/java/interop/client/Client.java (original)
+++ cxf/sandbox/interopfest/wssc/src/main/java/interop/client/Client.java Tue Feb 17 20:25:00
2009
@@ -39,7 +39,7 @@
 
 public final class Client {
     
-    private static final String INPUT = "foo";
+    private static final String OUT = "CXF : ping";
     
     /**
      * This class is not instantiated
@@ -120,11 +120,11 @@
                 ping.setText("ping");
                 params.setPing(ping);
                 PingResponse output = port.ping(params);
-                if (!ping.getText().equals(output.getPingResponse().getText())) {
+                if (!output.getPingResponse().getText().equals(output.getPingResponse().getText()))
{
                     System.err.println(
-                        "Expected " + INPUT + " but got " + output
+                        "Expected " + OUT + " but got " + output.getPingResponse().getText()
                     );
-                    results.add("Unexpected output " + output);
+                    results.add("Unexpected output " + output.getPingResponse().getText());
                 } else {
                     System.out.println("OK!");
                     results.add("OK!");

Modified: cxf/sandbox/interopfest/wssc/src/main/java/interop/client/KeystorePasswordCallback.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssc/src/main/java/interop/client/KeystorePasswordCallback.java?rev=745228&r1=745227&r2=745228&view=diff
==============================================================================
--- cxf/sandbox/interopfest/wssc/src/main/java/interop/client/KeystorePasswordCallback.java
(original)
+++ cxf/sandbox/interopfest/wssc/src/main/java/interop/client/KeystorePasswordCallback.java
Tue Feb 17 20:25:00 2009
@@ -37,7 +37,7 @@
         for (int i = 0; i < callbacks.length; i++) {
             WSPasswordCallback pc = (WSPasswordCallback)callbacks[i];
 
-            String pass = passwords.get(pc.getIdentifer());
+            String pass = passwords.get(pc.getIdentifier());
             if (pass != null) {
                 pc.setPassword(pass);
                 return;

Modified: cxf/sandbox/interopfest/wssc/src/main/java/interop/client/UTPasswordCallback.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssc/src/main/java/interop/client/UTPasswordCallback.java?rev=745228&r1=745227&r2=745228&view=diff
==============================================================================
--- cxf/sandbox/interopfest/wssc/src/main/java/interop/client/UTPasswordCallback.java (original)
+++ cxf/sandbox/interopfest/wssc/src/main/java/interop/client/UTPasswordCallback.java Tue
Feb 17 20:25:00 2009
@@ -36,7 +36,7 @@
         for (int i = 0; i < callbacks.length; i++) {
             WSPasswordCallback pc = (WSPasswordCallback)callbacks[i];
 
-            String pass = passwords.get(pc.getIdentifer());
+            String pass = passwords.get(pc.getIdentifier());
             if (pass != null) {
                 pc.setPassword(pass);
                 return;

Modified: cxf/sandbox/interopfest/wstrust13/src/main/java/interop/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust13/src/main/java/interop/client/Client.java?rev=745228&r1=745227&r2=745228&view=diff
==============================================================================
--- cxf/sandbox/interopfest/wstrust13/src/main/java/interop/client/Client.java (original)
+++ cxf/sandbox/interopfest/wstrust13/src/main/java/interop/client/Client.java Tue Feb 17
20:25:00 2009
@@ -62,7 +62,7 @@
                 //"CustomBinding_IPingServiceContract9", //NOT WORKING - SecureConversation
             };
         }
-        argv = new String[] {argv[3]};
+        //argv = new String[] {argv[3]};
 
         new SpringBusFactory().createBus("etc/client.xml");
         List<String> results = new ArrayList<String>(argv.length);



Mime
View raw message