rineholt    02/03/19 06:57:47

  Modified:    java/src/org/apache/axis/client Call.java
  Log:
  For dynamic jaxrpc if parms are added
  and the WSDL has no return type specified the return type needs to be set to
  XMLType.AXIS_VOID.  Not null
  since this would throw a JAXRPC exception.
  
  Revision  Changes    Path
  1.101     +3 -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.100
  retrieving revision 1.101
  diff -u -r1.100 -r1.101
  --- Call.java 18 Mar 2002 04:03:35 -0000      1.100
  +++ Call.java 19 Mar 2002 14:57:47 -0000      1.101
  @@ -957,7 +957,9 @@
           if ( output  != null ) message = output.getMessage();
           if ( message != null ) parts   = message.getOrderedParts(null);
   
  -        this.setReturnType( null );
  +        this.setReturnType( null ); //Make sure we're restarting from fresh.
  +        if(null != paramTypes) // attachments may have no parameters.
  +          this.setReturnType( XMLType.AXIS_VOID );
           if ( parts != null ) {
               for( int i = 0 ;i < parts.size() ; i++ ) {
                   Part part  = (Part) parts.get( i );
  
  
  


Reply via email to