I'll run it under tcpmon and see what happens.
Rich Scheuerle
IBM WebSphere & Axis Web Services Development
512-838-5115 (IBM TL 678-5115)
Tom Jordahl
<tomj@macromedia. To: "'[EMAIL PROTECTED]'"
<[EMAIL PROTECTED]>
com> cc:
Subject: RE: cvs commit:
xml-axis/java/test/wsdl/roundtrip RoundtripTestSe
10/14/2002 09:03 rviceTestCase.java
RoundtripTestSoapBindingImpl.java
AM
Please respond to
axis-dev
Rich,
The wsdl/faults tests are working, why isn't this one?
--
Tom Jordahl
Macromedia Server Development
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 6:04 PM
To: [EMAIL PROTECTED]
Subject: cvs commit: xml-axis/java/test/wsdl/roundtrip
RoundtripTestServiceTestCase.java RoundtripTestSoapBindingImpl.java
scheu 2002/10/10 15:04:12
Modified: java/test/wsdl/roundtrip RoundtripTestServiceTestCase.java
RoundtripTestSoapBindingImpl.java
Log:
I tried running the roundtrip fault tests with checks to see if
the data is being flowed over the wire.
Apparently this is not working yet. Uncomment the asserts when
this is implemented.
Revision Changes Path
1.18 +6 -0
xml-axis/java/test/wsdl/roundtrip/RoundtripTestServiceTestCase.java
Index: RoundtripTestServiceTestCase.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/test/wsdl/roundtrip/RoundtripTestServiceTestCase.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- RoundtripTestServiceTestCase.java 20 Aug 2002 15:29:01 -0000
1.17
+++ RoundtripTestServiceTestCase.java 10 Oct 2002 22:04:11 -0000
1.18
@@ -1249,6 +1249,9 @@
fail("Should have received an InvalidTickerSymbol
exception.");
} catch (InvalidTickerSymbol its) {
// Test was successful
+ //assertEquals("The expected and actual values did not
match.",
+ // its.getTickerSymbol(),
+ // "ABC");
} catch(RemoteException re) {
fail("Remote Exception caught: " + re);
}
@@ -1266,6 +1269,9 @@
fail("TRY: Should have received an InvalidTradeExchange
exception.");
} catch (InvalidTradeExchange ite) {
// Test was successful
+ //assertEquals("The expected and actual values did not
match.",
+ // ite.getTradeExchange(),
+ // "XYZ");
} catch (InvalidTickerSymbol its) {
fail("ITS: Should have received an InvalidTradeExchange
exception.");
} catch (InvalidCompanyId ici) {
1.15 +2 -2
xml-axis/java/test/wsdl/roundtrip/RoundtripTestSoapBindingImpl.java
Index: RoundtripTestSoapBindingImpl.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/test/wsdl/roundtrip/RoundtripTestSoapBindingImpl.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- RoundtripTestSoapBindingImpl.java 25 Jul 2002 16:42:06 -0000
1.14
+++ RoundtripTestSoapBindingImpl.java 10 Oct 2002 22:04:11 -0000
1.15
@@ -678,7 +678,7 @@
public void throwInvalidTickerException()
throws InvalidTickerSymbol, RemoteException {
- throw new InvalidTickerSymbol("Invalid Ticker Symbol Received");
+ throw new InvalidTickerSymbol("ABC");
} // throwInvalidTickerSymbol
@@ -688,7 +688,7 @@
InvalidCompanyId,
RemoteException {
- throw new InvalidTradeExchange("Invalid Trade Exchange
Received");
+ throw new InvalidTradeExchange("XYZ");
} // throwInvalidTradeExchange