axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/providers/java MsgProvider.java
Date Thu, 15 Aug 2002 12:50:13 GMT
dims        2002/08/15 05:50:12

  Modified:    java/src/org/apache/axis/providers/java MsgProvider.java
  Log:
  Fix for Bug 11695 - java message provider return serialization error from mark.sullivan@nav-international.com
(Mark Sullivan)
  
  Revision  Changes    Path
  1.28      +4 -2      xml-axis/java/src/org/apache/axis/providers/java/MsgProvider.java
  
  Index: MsgProvider.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/providers/java/MsgProvider.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- MsgProvider.java	5 Aug 2002 05:10:47 -0000	1.27
  +++ MsgProvider.java	15 Aug 2002 12:50:11 -0000	1.28
  @@ -161,8 +161,10 @@
                   argObjects[0] = bodies ;
                   Element[] result = (Element[]) method.invoke( obj, argObjects );
                   if ( result != null ) {
  -                    for ( int i = 0 ; i < result.length ; i++ )
  -                        resEnv.addBodyElement( new SOAPBodyElement(result[i]));
  +                    for ( int i = 0 ; i < result.length ; i++ ) {
  +                        if(result[i] != null)
  +                            resEnv.addBodyElement( new SOAPBodyElement(result[i]));
  +                    }
                   }
                   return ;
               } else if (params[0] == Document.class) {
  
  
  

Mime
View raw message