Return-Path: Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 96217 invoked by uid 500); 23 Feb 2003 05:44:23 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 96208 invoked by uid 500); 23 Feb 2003 05:44:23 -0000 Delivered-To: apmail-xml-axis-cvs@apache.org Date: 23 Feb 2003 05:44:22 -0000 Message-ID: <20030223054422.26741.qmail@icarus.apache.org> From: gdaniels@apache.org To: xml-axis-cvs@apache.org Subject: cvs commit: xml-axis/java/src/org/apache/axis Constants.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N gdaniels 2003/02/22 21:44:22 Modified: java/test/wsdl/soap12/additional WhiteMesaSoap12AddTestSvcTestCase.java java/src/org/apache/axis Constants.java Log: Ah ha! Bob Cunnings points out that we were actually expecting the wrong thing - DataEncodingUnknown is a top-level fault code in SOAP 1.2. Fixed and test uncommented. Revision Changes Path 1.9 +1 -3 xml-axis/java/test/wsdl/soap12/additional/WhiteMesaSoap12AddTestSvcTestCase.java Index: WhiteMesaSoap12AddTestSvcTestCase.java =================================================================== RCS file: /home/cvs/xml-axis/java/test/wsdl/soap12/additional/WhiteMesaSoap12AddTestSvcTestCase.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- WhiteMesaSoap12AddTestSvcTestCase.java 22 Feb 2003 16:21:28 -0000 1.8 +++ WhiteMesaSoap12AddTestSvcTestCase.java 23 Feb 2003 05:44:21 -0000 1.9 @@ -250,7 +250,6 @@ * * @throws Exception */ -/* public void testXMLP9() throws Exception { Call call = new Call(RPC_ENDPOINT); call.setSOAPVersion(SOAPConstants.SOAP12_CONSTANTS); @@ -263,12 +262,11 @@ try { call.invoke(reqEnv); } catch (AxisFault fault) { - assertEquals(Constants.FAULT_SOAP12_SENDER, fault.getFaultCode()); + assertEquals(Constants.FAULT_SOAP12_DATAENCODINGUNKNOWN, fault.getFaultCode()); return; } fail("Didn't catch expected fault"); } -*/ /** * Test xmlp-11 : send a string where an integer is expected, confirm 1.115 +1 -1 xml-axis/java/src/org/apache/axis/Constants.java Index: Constants.java =================================================================== RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/Constants.java,v retrieving revision 1.114 retrieving revision 1.115 diff -u -r1.114 -r1.115 --- Constants.java 7 Feb 2003 18:02:56 -0000 1.114 +++ Constants.java 23 Feb 2003 05:44:21 -0000 1.115 @@ -500,7 +500,7 @@ new QName(URI_SOAP12_ENV, "VersionMismatch"); public static final QName FAULT_SOAP12_DATAENCODINGUNKNOWN = - new QName(URI_SOAP12_ENV, "DataEncodingUnknow"); + new QName(URI_SOAP12_ENV, "DataEncodingUnknown"); public static final QName FAULT_SOAP12_SENDER = new QName(URI_SOAP12_ENV, "Sender");