axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/message SOAPFault.java SOAPFaultBuilder.java
Date Mon, 24 Feb 2003 19:52:18 GMT
avar        2003/02/24 11:52:18

  Modified:    java/src/org/apache/axis/message SOAPFault.java
                        SOAPFaultBuilder.java
  Log:
  fault code is now set; enable customfaults without serialization data
  
  Revision  Changes    Path
  1.14      +3 -1      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.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- SOAPFault.java	1 Feb 2003 19:16:51 -0000	1.13
  +++ SOAPFault.java	24 Feb 2003 19:52:18 -0000	1.14
  @@ -181,7 +181,9 @@
               if (! cls.equals(AxisFault.class)) {
                   FaultDesc faultDesc = 
                           context.getMessageContext().getOperation().getFaultByClass(cls);
  -                qname = faultDesc.getQName();
  +		if (faultDesc != null) {
  +                    qname = faultDesc.getQName();
  +                }
               }
               if (qname == null) {
                   // not the greatest, but...
  
  
  
  1.31      +2 -0      xml-axis/java/src/org/apache/axis/message/SOAPFaultBuilder.java
  
  Index: SOAPFaultBuilder.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/SOAPFaultBuilder.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- SOAPFaultBuilder.java	3 Feb 2003 03:46:22 -0000	1.30
  +++ SOAPFaultBuilder.java	24 Feb 2003 19:52:18 -0000	1.31
  @@ -218,6 +218,8 @@
                           while ((c = c.getNext()) != null) {
                               f.addFaultSubCode(c.getFaultCode());
                           }
  +                    } else {
  +                        f.setFaultCode(faultCode);
                       }
   
                       f.setFaultString(faultString);
  
  
  

Mime
View raw message