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 ru...@apache.org on 2001/07/16 02:44:45 UTC
cvs commit: xml-axis/java/samples/echo SOAPStruct.java TestClient.java
rubys 01/07/15 17:44:45
Modified: java/samples/echo SOAPStruct.java TestClient.java
Log:
Make output more readable
Revision Changes Path
1.5 +7 -0 xml-axis/java/samples/echo/SOAPStruct.java
Index: SOAPStruct.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/echo/SOAPStruct.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- SOAPStruct.java 2001/05/07 10:07:13 1.4
+++ SOAPStruct.java 2001/07/16 00:44:45 1.5
@@ -143,4 +143,11 @@
return true;
};
+
+ /**
+ * Printable representation
+ */
+ public String toString() {
+ return "{" + varInt + ", \"" + varString + "\", " + varFloat + "}";
+ }
}
1.18 +2 -0 xml-axis/java/samples/echo/TestClient.java
Index: TestClient.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/echo/TestClient.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- TestClient.java 2001/07/10 02:29:26 1.17
+++ TestClient.java 2001/07/16 00:44:45 1.18
@@ -148,6 +148,8 @@
// verify the result
verify(method, toSend, got);
+ } catch (AxisFault af) {
+ verify(method, toSend, af.getFaultString());
} catch (Exception e) {
verify(method, toSend, e);
}