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 );
- cvs commit: xml-axis/java/src/org/apache/axis/client Call... rineholt
- cvs commit: xml-axis/java/src/org/apache/axis/client... tomj
- cvs commit: xml-axis/java/src/org/apache/axis/client... tomj
- cvs commit: xml-axis/java/src/org/apache/axis/client... gdaniels
- cvs commit: xml-axis/java/src/org/apache/axis/client... butek
- cvs commit: xml-axis/java/src/org/apache/axis/client... gdaniels
- Re: cvs commit: xml-axis/java/src/org/apache/axis/cl... R J Scheuerle Jr
- RE: cvs commit: xml-axis/java/src/org/apache/axis/cl... Glen Daniels
- cvs commit: xml-axis/java/src/org/apache/axis/client... gdaniels
- cvs commit: xml-axis/java/src/org/apache/axis/client... rineholt
- cvs commit: xml-axis/java/src/org/apache/axis/client... rineholt
- cvs commit: xml-axis/java/src/org/apache/axis/client... gdaniels
- cvs commit: xml-axis/java/src/org/apache/axis/client... dims
- cvs commit: xml-axis/java/src/org/apache/axis/client... dims
- Re: cvs commit: xml-axis/java/src/org/apache/axi... Davanum Srinivas
- Re: cvs commit: xml-axis/java/src/org/apache/axis/cl... Doug Davis
- Re: cvs commit: xml-axis/java/src/org/apache/axis/cl... Doug Davis
- cvs commit: xml-axis/java/src/org/apache/axis/client... rsitze
- cvs commit: xml-axis/java/src/org/apache/axis/client... rsitze
- Re: cvs commit: xml-axis/java/src/org/apache/axi... Glen Daniels
- Re: cvs commit: xml-axis/java/src/org/apache... Glen Daniels
