ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/message SOAPFaultDetailsBuilder.java
Date Fri, 02 Apr 2004 19:27:54 GMT
dims        2004/04/02 11:27:54

  Modified:    java/src/org/apache/axis/message
                        SOAPFaultDetailsBuilder.java
  Log:
  Fix for AXIS-1281 - Process SOAPFault Detail when context is not set
  from Yulin Dong
  
  Revision  Changes    Path
  1.17      +6 -2      ws-axis/java/src/org/apache/axis/message/SOAPFaultDetailsBuilder.java
  
  Index: SOAPFaultDetailsBuilder.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/message/SOAPFaultDetailsBuilder.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- SOAPFaultDetailsBuilder.java	25 Feb 2004 14:02:43 -0000	1.16
  +++ SOAPFaultDetailsBuilder.java	2 Apr 2004 19:27:54 -0000	1.17
  @@ -92,8 +92,12 @@
           // Look up this element in our faultMap
           // if we find a match, this element is the fault data
           MessageContext msgContext = context.getMessageContext();
  -        SOAPConstants soapConstants = msgContext.getSOAPConstants();
  -        OperationDesc op = msgContext.getOperation();
  +        SOAPConstants soapConstants = Constants.DEFAULT_SOAP_VERSION;
  +        OperationDesc op = null;
  +        if (msgContext != null) {
  +            soapConstants = msgContext.getSOAPConstants();
  +            op = msgContext.getOperation();
  +        }
           Class faultClass = null;
           QName faultXmlType = null;
           if (op != null) {
  
  
  

Mime
View raw message