axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis Constants.java
Date Sun, 23 Feb 2003 05:44:22 GMT
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");
  
  
  

Mime
View raw message