You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2004/06/27 05:13:40 UTC

cvs commit: ws-axis/java/src/org/apache/axis/client AxisClient.java Call.java

dims        2004/06/26 20:13:40

  Modified:    java/src/org/apache/axis/client AxisClient.java Call.java
  Log:
  SAAJ TCK Failure - Make the Must Understand Checker configurable
  
  Revision  Changes    Path
  1.66      +6 -2      ws-axis/java/src/org/apache/axis/client/AxisClient.java
  
  Index: AxisClient.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/client/AxisClient.java,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -r1.65 -r1.66
  --- AxisClient.java	20 Jun 2004 18:38:04 -0000	1.65
  +++ AxisClient.java	27 Jun 2004 03:13:39 -0000	1.66
  @@ -151,7 +151,9 @@
                               Messages.getMessage("noTransport00", hName));
                   }
   
  -                checker.invoke(msgContext);
  +                if (msgContext.isPropertyTrue(Call.CHECK_MUST_UNDERSTAND, true)) {
  +                    checker.invoke(msgContext);
  +                }
                   
                   /* Process the JAXRPC Handlers */
                   invokeJAXRPCHandlers(msgContext);
  @@ -171,7 +173,9 @@
   
                   // Do SOAP Semantics checks here - this needs to be a call to
                   // a pluggable object/handler/something
  -                checker.invoke(msgContext);
  +                if (msgContext.isPropertyTrue(Call.CHECK_MUST_UNDERSTAND, true)) {
  +                    checker.invoke(msgContext);
  +                }
               }
   
           } catch ( Exception e ) {
  
  
  
  1.228     +6 -0      ws-axis/java/src/org/apache/axis/client/Call.java
  
  Index: Call.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/client/Call.java,v
  retrieving revision 1.227
  retrieving revision 1.228
  diff -u -r1.227 -r1.228
  --- Call.java	23 Jun 2004 19:16:52 -0000	1.227
  +++ Call.java	27 Jun 2004 03:13:39 -0000	1.228
  @@ -218,6 +218,12 @@
       public static final String FAULT_ON_NO_RESPONSE = "call.FaultOnNoResponse";
   
       /**
  +     * If this property is true, code will enforce must understand check on both
  +     * the request and the response paths.
  +     */ 
  +    public static final String CHECK_MUST_UNDERSTAND = "call.CheckMustUnderstand";
  +    
  +    /**
        * Property for setting attachment format.
        * Can be set to either DIME or MIME (default)
        * @see #setProperty