Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 26022 invoked by uid 500); 24 Oct 2002 17:24:11 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 26009 invoked by uid 500); 24 Oct 2002 17:24:11 -0000 Delivered-To: apmail-xml-axis-wsif-cvs@apache.org Date: 24 Oct 2002 17:24:09 -0000 Message-ID: <20021024172409.81008.qmail@icarus.apache.org> From: owenb@apache.org To: xml-axis-wsif-cvs@apache.org Subject: cvs commit: xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis WSIFOperation_ApacheAxis.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N owenb 2002/10/24 10:24:09 Modified: java/src/org/apache/wsif/providers/soap/apacheaxis WSIFOperation_ApacheAxis.java Log: Fix. Do not throw an exception is the service returns null, instead set the value of the output message part to null Revision Changes Path 1.28 +2 -1 xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFOperation_ApacheAxis.java Index: WSIFOperation_ApacheAxis.java =================================================================== RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFOperation_ApacheAxis.java,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- WSIFOperation_ApacheAxis.java 24 Oct 2002 16:09:08 -0000 1.27 +++ WSIFOperation_ApacheAxis.java 24 Oct 2002 17:24:09 -0000 1.28 @@ -525,7 +525,8 @@ if (outMsg != null) { if (returnName != null) { if (resp == null) { - throw new WSIFException("return value not found in response message"); + // Service returned null. This may be the a correct return value + // and so set the output message part value to null } else if ( returnType != null // will be null for async responses && !returnType.isPrimitive()