scheu       2002/06/24 10:47:51

  Modified:    java/src/org/apache/axis/client Call.java
  Log:
  TCK Fix: Don't throw an exception for now if the return type is not set...but do log 
an error
  
  Revision  Changes    Path
  1.147     +4 -1      xml-axis/java/src/org/apache/axis/client/Call.java
  
  Index: Call.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/Call.java,v
  retrieving revision 1.146
  retrieving revision 1.147
  diff -u -r1.146 -r1.147
  --- Call.java 22 Jun 2002 23:14:04 -0000      1.146
  +++ Call.java 24 Jun 2002 17:47:50 -0000      1.147
  @@ -1710,7 +1710,10 @@
            * if things don't look right.
            */
           if (!invokeOneWay && operation.getNumParams() > 0 && returnType == null) {
  -            throw new AxisFault(JavaUtils.getMessage("mustSpecifyReturnType"));
  +            // TCK:
  +            // Issue an error if the return type was not set, but continue 
processing.
  +            //throw new AxisFault(JavaUtils.getMessage("mustSpecifyReturnType"));
  +            log.error(JavaUtils.getMessage("mustSpecifyReturnType"));
           }
   
           SOAPEnvelope         reqEnv = new SOAPEnvelope();
  
  
  


Reply via email to