axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Butek" <bu...@us.ibm.com>
Subject Re: Beta Fix candidate on Call.java
Date Tue, 19 Mar 2002 13:32:09 GMT
Thanks for catching this, Rick.  Glen and I broke this last week, so I'd
feel guilty if we didn't fix it for the beta.  Curious, though, that we
don't have a test case that should have caught this.

Russell Butek
butek@us.ibm.com


Rick Rineholt/Raleigh/IBM@IBMUS on 03/18/2002 08:30:50 PM

Please respond to axis-dev@xml.apache.org

To:    axis-dev@xml.apache.org
cc:
Subject:    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




Mime
View raw message