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/11/13 01:21:03 UTC
cvs commit: xml-axis/java/test/RPCDispatch TestRPC.java TestSerializedRPC.java
rubys 01/11/12 16:21:03
Modified: java/test/RPCDispatch TestRPC.java TestSerializedRPC.java
Log:
Update test cases to reflect potential SAXExceptions
Revision Changes Path
1.27 +3 -1 xml-axis/java/test/RPCDispatch/TestRPC.java
Index: TestRPC.java
===================================================================
RCS file: /home/cvs/xml-axis/java/test/RPCDispatch/TestRPC.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- TestRPC.java 2001/11/09 23:13:02 1.26
+++ TestRPC.java 2001/11/13 00:21:03 1.27
@@ -12,6 +12,8 @@
import org.apache.axis.message.SOAPEnvelope;
import org.apache.axis.server.AxisServer;
+import org.xml.sax.SAXException;
+
import java.util.Vector;
/**
@@ -57,7 +59,7 @@
* @return Deserialized result
*/
private final Object rpc(String method, Object[] parms)
- throws AxisFault
+ throws AxisFault, SAXException
{
// Create the message context
1.19 +3 -1 xml-axis/java/test/RPCDispatch/TestSerializedRPC.java
Index: TestSerializedRPC.java
===================================================================
RCS file: /home/cvs/xml-axis/java/test/RPCDispatch/TestSerializedRPC.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- TestSerializedRPC.java 2001/11/09 23:13:02 1.18
+++ TestSerializedRPC.java 2001/11/13 00:21:03 1.19
@@ -15,6 +15,8 @@
import org.apache.axis.registries.HandlerRegistry;
import org.apache.axis.server.AxisServer;
+import org.xml.sax.SAXException;
+
import javax.xml.rpc.namespace.QName;
import java.util.Vector;
@@ -63,7 +65,7 @@
*/
private final Object rpc(String method, String bodyStr,
boolean setService)
- throws AxisFault
+ throws AxisFault, SAXException
{
// Create the message context