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/message SOAPFault.java
Date Fri, 26 Jul 2002 20:30:58 GMT
gdaniels    2002/07/26 13:30:58

  Modified:    java/docs TestsNeeded.html
               java/src/org/apache/axis/message SOAPFault.java
  Log:
  Cleanup and a bit more detail on a couple of tests.
  
  Revision  Changes    Path
  1.3       +27 -21    xml-axis/java/docs/TestsNeeded.html
  
  Index: TestsNeeded.html
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/docs/TestsNeeded.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestsNeeded.html	10 Jul 2002 16:03:48 -0000	1.2
  +++ TestsNeeded.html	26 Jul 2002 20:30:58 -0000	1.3
  @@ -19,26 +19,32 @@
   <p>On to the (soon-to-be) tests:</p>
   
   <table width=100% border=1 cellpadding=3>
  -<tr>
  - <th>Name of test</th>
  - <th>Description of test</th>
  - <th>Developer(s)</th>
  - <th>Status</th>
  -</tr>
  -
  -<tr>
  - <td>SkeletonMethods</td>
  - <td>confirm that the methods from the Skeleton interface are NOT exposed in the
generated WSDL for services.</td>
  - <td>Glen</td>
  - <td>none</td>
  -</tr>
  -
  -<tr>
  - <td>SOAP 1.2</td>
  - <td>Test SOAP 1.2 functionality - confirm namespaces, types, faults.</td>
  - <td>Glen</td>
  - <td>none</td>
  -</tr>
  -
  +  <tr> 
  +    <th>Name of test</th>
  +    <th>Description of test</th>
  +    <th>Developer(s)</th>
  +    <th>Status</th>
  +  </tr>
  +  <tr> 
  +    <td>SkeletonMethods</td>
  +    <td>confirm that the methods from the Skeleton interface are NOT exposed in 
  +      the generated WSDL for services.</td>
  +    <td>Glen</td>
  +    <td>none</td>
  +  </tr>
  +  <tr>
  +    <td>soap12.Version</td>
  +    <td>Test that when a service is sent a SOAP 1.2 message, we get back a SOAP 
  +      1.2 response.</td>
  +    <td>Glen</td>
  +    <td>none</td>
  +  </tr>
  +  <tr> 
  +    <td>soap12.RpcBody</td>
  +    <td>Test that our SOAP 1.2 RPC implementation only allows a single body element

  +      (should fault otherwise).</td>
  +    <td>Glen</td>
  +    <td>none</td>
  +  </tr>
   </table>
   </body>
  
  
  
  1.5       +7 -6      xml-axis/java/src/org/apache/axis/message/SOAPFault.java
  
  Index: SOAPFault.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/SOAPFault.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SOAPFault.java	29 Jun 2002 20:44:53 -0000	1.4
  +++ SOAPFault.java	26 Jul 2002 20:30:58 -0000	1.5
  @@ -56,12 +56,14 @@
   
   import org.apache.axis.AxisFault;
   import org.apache.axis.Constants;
  +import org.apache.axis.utils.JavaUtils;
   import org.apache.axis.encoding.DeserializationContext;
   import org.apache.axis.encoding.SerializationContext;
   import org.w3c.dom.Element;
   import org.xml.sax.Attributes;
   
   import javax.xml.namespace.QName;
  +import javax.xml.soap.SOAPException;
   
   import java.io.IOException;
   
  @@ -159,7 +161,7 @@
        *     adding the <CODE>faultCode</CODE> to the underlying XML
        *     tree.
        */
  -    public void setFaultCode(String faultCode) throws javax.xml.soap.SOAPException {
  +    public void setFaultCode(String faultCode) throws SOAPException {
           fault.setFaultCode(faultCode);
       }
   
  @@ -185,7 +187,7 @@
        *     adding the <CODE>faultActor</CODE> to the underlying XML
        *     tree.
        */
  -    public void setFaultActor(String faultActor) throws javax.xml.soap.SOAPException {
  +    public void setFaultActor(String faultActor) throws SOAPException {
           fault.setFaultActor(faultActor);
       }
   
  @@ -211,8 +213,7 @@
        *     tree.
        * @see #getFaultString() getFaultString()
        */
  -    public void setFaultString(String faultString)
  -            throws javax.xml.soap.SOAPException {
  +    public void setFaultString(String faultString) throws SOAPException {
           fault.setFaultString(faultString);
       }
   
  @@ -255,9 +256,9 @@
        *     <CODE>SOAPFaultException</CODE> object already contains a valid
        *     <CODE>Detail</CODE> object
        */
  -    public javax.xml.soap.Detail addDetail() throws javax.xml.soap.SOAPException {
  +    public javax.xml.soap.Detail addDetail() throws SOAPException {
           if(getDetail()!=null){
  -            throw new javax.xml.soap.SOAPException(org.apache.axis.utils.JavaUtils.getMessage("valuePresent"));
  +            throw new SOAPException(JavaUtils.getMessage("valuePresent"));
           }
           Detail detail = new Detail(fault);
           addChildElement(detail);
  
  
  

Mime
View raw message