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 Tom Jordahl <to...@macromedia.com> on 2002/10/14 17:51:32 UTC
Faults and SOAPBuilders interop
Those darn skeletons! :-) Thanks for looking in to this - I am still playing catch up.
By the way - I still have some Java2WSDL changes on my laptop that I need to check in to support WSDL generation for the fault group H services. I have a test failure with roundtrip, which is why I held off from last week. I hope to resolve it today.
We successfully interoperated with Sun & WhiteMesa (rpc/enc) and .NET (doc/lit) on a client and server level.
We were the ONLY implementation that had both doc/lit and rpc/enc endpoints up and running! This was the first time that Axis was ahead of the implementation curve. :-)
Dims should have a report on how the XSD (Group I) tests went, but I believe we resolved a few problems in that space and had all around good results.
We were unable to participate in the attachments test (SOAP w/ attach and & DIME). We are missing implementation (particularly WSDL support). Sam has more details.
--
Tom Jordahl
Macromedia Server Development
-----Original Message-----
From: R J Scheuerle Jr [mailto:scheu@us.ibm.com]
Sent: Monday, October 14, 2002 11:38 AM
To: axis-dev@xml.apache.org
Subject: (SOLVED) RE: cvs commit: xml-axis/java/test/wsdl/roundtrip
RoundtripTestSe rviceTestCase.java RoundtripTestSoapBindingImpl.java
The FaultDesc information was not added to the Skeleten code! Roundtrip
uses the skeleton.
I will do that right now.
BTW, good work on the fault stuff. Did you confirm at the soapbuilders
meeting that this is the most interoperable form to use ?
Rich Scheuerle
IBM WebSphere & Axis Web Services Development
512-838-5115 (IBM TL 678-5115)
R J Scheuerle
Jr/Austin/IBM@IBM To: axis-dev@xml.apache.org
US cc:
Subject: RE: cvs commit: xml-axis/java/test/wsdl/roundtrip RoundtripTestSe
10/14/2002 10:19 rviceTestCase.java RoundtripTestSoapBindingImpl.java
AM
Please respond to
axis-dev
Now I am looking at wsdl/faults. Hmm, big difference in what is flowed
back in the response!
So now I am thinking that this is a serialization problem. In wsdl/faults,
the properties are flowed
back in the details section. For roundtrip I have the following in the
details section:
<test.wsdl.roundtrip.InvalidTickerSymbol href="#id0" />
So I will assume that the above is wrong and should be
<tickerSymbol xsi:type=...>ABC</tickerSymbol>
Rich Scheuerle
IBM WebSphere & Axis Web Services Development
512-838-5115 (IBM TL 678-5115)
R J Scheuerle
Jr/Austin/IBM@IBM To:
axis-dev@xml.apache.org
US cc:
Subject: RE: cvs commit:
xml-axis/java/test/wsdl/roundtrip RoundtripTestSe
10/14/2002 10:11 rviceTestCase.java
RoundtripTestSoapBindingImpl.java
AM
Please respond to
axis-dev
Looking at tcpmon and RoundtripTestServiceTestCase for
throwInvalidTickerException.
The Response message in tcpmon does contain the ticker symbol name "ABC".
However, the exception that is caught in RoundtripTestServiceTestCase has a
tickerSymbol of null. So apparently there is a problem in the client side
deserialization code.
Why is the exception java class name the element name ? Seems like this
could screw up a client who chose to use another class for
the exception.
Rich Scheuerle
IBM WebSphere & Axis Web Services Development
512-838-5115 (IBM TL 678-5115)
Tom Jordahl
<tomj@macromedia. To:
"'axis-dev@xml.apache.org'" <ax...@xml.apache.org>
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: scheu@apache.org [mailto:scheu@apache.org]
Sent: Thursday, October 10, 2002 6:04 PM
To: xml-axis-cvs@apache.org
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