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()
  
  
  


Reply via email to