You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by wh...@apache.org on 2002/09/27 11:14:33 UTC
cvs commit: xml-axis-wsif/java/test/addressbook AddressBookTest.java
whitlock 2002/09/27 02:14:33
Modified: java/test/addressbook AddressBookTest.java
Log:
addEntry should be input-only
Revision Changes Path
1.16 +2 -12 xml-axis-wsif/java/test/addressbook/AddressBookTest.java
Index: AddressBookTest.java
===================================================================
RCS file: /home/cvs/xml-axis-wsif/java/test/addressbook/AddressBookTest.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- AddressBookTest.java 16 Sep 2002 08:18:55 -0000 1.15
+++ AddressBookTest.java 27 Sep 2002 09:14:33 -0000 1.16
@@ -255,17 +255,7 @@
inputMessage.setObjectPart("address", addressToAdd);
// Execute the operation, obtaining a flag to indicate its success
- boolean operationSucceeded =
- operation.executeRequestResponseOperation(
- inputMessage,
- outputMessage,
- faultMessage);
-
- if (operationSucceeded) {
- System.out.println("Successfully added name and address to addressbook\n");
- } else {
- System.out.println("Failed to add name and address to addressbook");
- }
+ operation.executeInputOnlyOperation(inputMessage);
// Start from fresh
operation = null;
@@ -285,7 +275,7 @@
inputMessage.setObjectPart("name", nameToLookup);
// Execute the operation
- operationSucceeded =
+ boolean operationSucceeded =
operation.executeRequestResponseOperation(
inputMessage,
outputMessage,