You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by di...@apache.org on 2004/03/11 18:01:38 UTC
cvs commit: ws-fx/wss4j/interop/org/apache/ws/axis/oasis Scenario5.java
dims 2004/03/11 09:01:38
Modified: wss4j/interop/org/apache/ws/axis/oasis Scenario5.java
Log:
Populate TicketType for better testing.
Revision Changes Path
1.5 +7 -3 ws-fx/wss4j/interop/org/apache/ws/axis/oasis/Scenario5.java
Index: Scenario5.java
===================================================================
RCS file: /home/cvs/ws-fx/wss4j/interop/org/apache/ws/axis/oasis/Scenario5.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Scenario5.java 11 Mar 2004 14:23:49 -0000 1.4
+++ Scenario5.java 11 Mar 2004 17:01:38 -0000 1.5
@@ -20,6 +20,7 @@
import org.apache.axis.utils.Options;
import org.apache.ws.axis.oasis.ping.PingPort;
import org.apache.ws.axis.oasis.ping.PingServiceLocator;
+import org.apache.ws.axis.oasis.ping.TicketType;
import javax.xml.rpc.holders.StringHolder;
@@ -82,15 +83,18 @@
// perform call
StringHolder text =
- new StringHolder("WSS4J - Scenario 5 text");
- port.ping(null, text);
+ new StringHolder("WSS4J - Scenario 5 - text");
+ TicketType type =
+ new TicketType("WSS4J - Scenario 5 - TicketType");
+
+ port.ping(type, text);
System.out.println(text.value);
if (opts.isFlagSet('t') > 0) {
long startTime = System.currentTimeMillis();
for (int i = 0; i < 20; i++) {
- port.ping(null, text);
+ port.ping(type, text);
}
long endTime = System.currentTimeMillis();