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/transport/http HTTPSender.java
Date Fri, 31 Jan 2003 23:02:36 GMT
gdaniels    2003/01/31 15:02:36

  Modified:    java/src/org/apache/axis/transport/http HTTPSender.java
  Log:
  If SOAP 1.2, try deserializing as SOAP regardless of result code, since the
  valid codes are more numerous.
  
  Revision  Changes    Path
  1.94      +4 -0      xml-axis/java/src/org/apache/axis/transport/http/HTTPSender.java
  
  Index: HTTPSender.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/transport/http/HTTPSender.java,v
  retrieving revision 1.93
  retrieving revision 1.94
  diff -u -r1.93 -r1.94
  --- HTTPSender.java	11 Dec 2002 22:38:23 -0000	1.93
  +++ HTTPSender.java	31 Jan 2003 23:02:35 -0000	1.94
  @@ -610,6 +610,10 @@
                   : contentType.trim();
           if ((returnCode > 199) && (returnCode < 300)) {
               // SOAP return is OK - so fall through
  +        } else if (msgContext.getSOAPConstants() ==
  +                SOAPConstants.SOAP12_CONSTANTS) {
  +            // For now, if we're SOAP 1.2, fall through, since the range of
  +            // valid result codes is much greater
           } else if ((contentType != null) && !contentType.startsWith("text/html")
                   && ((returnCode > 499) && (returnCode < 600))) {
               // SOAP Fault should be in here - so fall through
  
  
  

Mime
View raw message