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 Rick Rineholt <ri...@us.ibm.com> on 2002/03/19 03:30:50 UTC

Beta Fix candidate on Call.java

Need to get this fix in to beta 3.  Without it dynamic calls seem to be
broken. If parms are added
and the WSDL has no return type specified this needs to be set to
XMLType.AXIS_VOID.  Not null
since this would throw a JAXRPC exception.

*** 955,961 ****
          if ( output  != null ) message = output.getMessage();
          if ( message != null ) parts   = message.getOrderedParts(null);

!         this.setReturnType( null );
          if ( parts != null ) {
              for( int i = 0 ;i < parts.size() ; i++ ) {
                  Part part  = (Part) parts.get( i );
--- 955,962 ----
          if ( output  != null ) message = output.getMessage();
          if ( message != null ) parts   = message.getOrderedParts(null);

!         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 );


                  Rick Rineholt
                  "The truth is out there...  All you need is a better
                  search engine!"

                  rineholt@us.ibm.com